<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;SNXRC_FileFullPath: failed to fetch user entry&amp;quot; when using snx client in SASE and Remote Access</title>
    <link>https://community.checkpoint.com/t5/SASE-and-Remote-Access/quot-SNXRC-FileFullPath-failed-to-fetch-user-entry-quot-when/m-p/111626#M9121</link>
    <description>&lt;P&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I'm trying to use snx to connect to my companies VPN.&lt;BR /&gt;I'm on Linux and have installed snx&amp;nbsp;build 800007075&lt;BR /&gt;&lt;BR /&gt;I've setup the .snxrc file in my $HOME dir with the content:&lt;BR /&gt;&lt;BR /&gt;server &amp;lt;domain of company vpn&amp;gt;&lt;BR /&gt;username &amp;lt;my-username-at-the-company&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I've also tried writing the domain and username as command line args&lt;BR /&gt;&lt;BR /&gt;snx -s&amp;nbsp;&amp;lt;domain of company cpn&amp;gt;&amp;nbsp; -u &amp;lt;my-username-at-the-company&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run the program with debugging (-g flag) the line "SNXRC_FileFullPath: failed to fetch user entry" is printed and then the program gets a segmentation fault.&lt;BR /&gt;&lt;BR /&gt;What does this error mean? Where is the entry trying to be fetched from?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;edit: Couldn't post a reply for some reason so I'll just edit this question here.&lt;/P&gt;&lt;P&gt;I've solved this problem.&lt;/P&gt;&lt;P&gt;If the nscd service is not running snx will throw you a segmentation fault with not a lot to go on.&lt;BR /&gt;You can check with `strace -ff snx -s vpn-emea.navico.com -u &amp;lt;firstname.lastname&amp;gt;`&lt;BR /&gt;The error is that the socket file for nscd isn't found. It looks like this (The last part of the output from strace)&lt;/P&gt;&lt;DIV class="code panel pdl conf-macro output-block"&gt;&lt;DIV class="codeContent panelContent pdl"&gt;&lt;DIV&gt;&lt;DIV class="syntaxhighlighter sh-confluence nogutter  cpp"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="container"&gt;&lt;DIV class="line number1 index0 alt2"&gt;connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)&lt;/DIV&gt;&lt;DIV class="line number2 index1 alt1"&gt;close(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/DIV&gt;&lt;DIV class="line number3 index2 alt2"&gt;socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3&lt;/DIV&gt;&lt;DIV class="line number4 index3 alt1"&gt;connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)&lt;/DIV&gt;&lt;DIV class="line number5 index4 alt2"&gt;close(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/DIV&gt;&lt;DIV class="line number6 index5 alt1"&gt;statx(AT_FDCWD,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"/etc/nsswitch.conf", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=365, ...}) = 0&lt;/DIV&gt;&lt;DIV class="line number7 index6 alt2"&gt;--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---&lt;/DIV&gt;&lt;DIV class="line number8 index7 alt1"&gt;+++ killed by SIGSEGV (core dumped) +++&lt;/DIV&gt;&lt;DIV class="line number9 index8 alt2"&gt;Segmentation fault (core dumped)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The solution is to run&lt;BR /&gt;# systemctl start nscd&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 13:04:44 GMT</pubDate>
    <dc:creator>tejp</dc:creator>
    <dc:date>2021-02-24T13:04:44Z</dc:date>
    <item>
      <title>"SNXRC_FileFullPath: failed to fetch user entry" when using snx client</title>
      <link>https://community.checkpoint.com/t5/SASE-and-Remote-Access/quot-SNXRC-FileFullPath-failed-to-fetch-user-entry-quot-when/m-p/111626#M9121</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I'm trying to use snx to connect to my companies VPN.&lt;BR /&gt;I'm on Linux and have installed snx&amp;nbsp;build 800007075&lt;BR /&gt;&lt;BR /&gt;I've setup the .snxrc file in my $HOME dir with the content:&lt;BR /&gt;&lt;BR /&gt;server &amp;lt;domain of company vpn&amp;gt;&lt;BR /&gt;username &amp;lt;my-username-at-the-company&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I've also tried writing the domain and username as command line args&lt;BR /&gt;&lt;BR /&gt;snx -s&amp;nbsp;&amp;lt;domain of company cpn&amp;gt;&amp;nbsp; -u &amp;lt;my-username-at-the-company&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run the program with debugging (-g flag) the line "SNXRC_FileFullPath: failed to fetch user entry" is printed and then the program gets a segmentation fault.&lt;BR /&gt;&lt;BR /&gt;What does this error mean? Where is the entry trying to be fetched from?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;edit: Couldn't post a reply for some reason so I'll just edit this question here.&lt;/P&gt;&lt;P&gt;I've solved this problem.&lt;/P&gt;&lt;P&gt;If the nscd service is not running snx will throw you a segmentation fault with not a lot to go on.&lt;BR /&gt;You can check with `strace -ff snx -s vpn-emea.navico.com -u &amp;lt;firstname.lastname&amp;gt;`&lt;BR /&gt;The error is that the socket file for nscd isn't found. It looks like this (The last part of the output from strace)&lt;/P&gt;&lt;DIV class="code panel pdl conf-macro output-block"&gt;&lt;DIV class="codeContent panelContent pdl"&gt;&lt;DIV&gt;&lt;DIV class="syntaxhighlighter sh-confluence nogutter  cpp"&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="container"&gt;&lt;DIV class="line number1 index0 alt2"&gt;connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)&lt;/DIV&gt;&lt;DIV class="line number2 index1 alt1"&gt;close(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/DIV&gt;&lt;DIV class="line number3 index2 alt2"&gt;socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3&lt;/DIV&gt;&lt;DIV class="line number4 index3 alt1"&gt;connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)&lt;/DIV&gt;&lt;DIV class="line number5 index4 alt2"&gt;close(3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;/DIV&gt;&lt;DIV class="line number6 index5 alt1"&gt;statx(AT_FDCWD,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"/etc/nsswitch.conf", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=365, ...}) = 0&lt;/DIV&gt;&lt;DIV class="line number7 index6 alt2"&gt;--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---&lt;/DIV&gt;&lt;DIV class="line number8 index7 alt1"&gt;+++ killed by SIGSEGV (core dumped) +++&lt;/DIV&gt;&lt;DIV class="line number9 index8 alt2"&gt;Segmentation fault (core dumped)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The solution is to run&lt;BR /&gt;# systemctl start nscd&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 13:04:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/SASE-and-Remote-Access/quot-SNXRC-FileFullPath-failed-to-fetch-user-entry-quot-when/m-p/111626#M9121</guid>
      <dc:creator>tejp</dc:creator>
      <dc:date>2021-02-24T13:04:44Z</dc:date>
    </item>
  </channel>
</rss>

