Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
tejp
Explorer

"SNXRC_FileFullPath: failed to fetch user entry" when using snx client

Hello.

I'm trying to use snx to connect to my companies VPN.
I'm on Linux and have installed snx build 800007075

I've setup the .snxrc file in my $HOME dir with the content:

server <domain of company vpn>
username <my-username-at-the-company>

I've also tried writing the domain and username as command line args

snx -s <domain of company cpn>  -u <my-username-at-the-company>


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.

What does this error mean? Where is the entry trying to be fetched from?

------------------------------
edit: Couldn't post a reply for some reason so I'll just edit this question here.

I've solved this problem.

If the nscd service is not running snx will throw you a segmentation fault with not a lot to go on.
You can check with `strace -ff snx -s vpn-emea.navico.com -u <firstname.lastname>`
The error is that the socket file for nscd isn't found. It looks like this (The last part of the output from strace)

connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
statx(AT_FDCWD, "/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
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

The solution is to run
# systemctl start nscd

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events