in NetScaler

NS Audit Server

Somethings does not change name, the audit server is still called “NS” 🙂

I ran into a few problems during installation of ADC / NetScaler  Audit Server Utilities on Linux (on a Ubuntu 64bit, uname -a 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux)

I got the following error:

/usr/local/netscaler/bin/audserver: No such file or directory

And there were not really any more pointers to go for, and the docs are old-skool citrix style which means other tools have to be put in use.

strings and strace: When you run strings on a executable, you get little bits of information that will help you going forward. the output is long, so its about taking what you need, and only experience and good googling skills (that kills) will assist you. However, “No such file or directory” properly means i am looking for a file or a directory. snip output:

strings /usr/local/netscaler/bin/audserver

On another system(that was working) i could track those files to which package they belonged to:

# ls -la /lib/
lrwxrwxrwx. 1 root root 10 Jul 15 2019 /lib/ ->

# rpm -q –whatprovides /lib/

Okay, glibc something something, on wards to to search for the file, which gave a few results but one in particular was catching my eye:

/lib/ libc6 [i386], libc6-i386 [amd64]

I installed libc6-i386 (since libc6 was installed on my amd64 system) and wooptiduuh, it installed the “missing file or directory” and now auditserver works on a 64bit system, with a 32bit executable.

i forgot strace…. strace usually can tell you which files a process is trying to open during startup, however, this was not the case (for some reason, maybe my lack of linux knowledge) so strings came to the rescue.

Happy logging!

What do you think?