[ILUG] problems running nessus

Dave Burke daveb at esat.net
Wed Feb 9 14:15:47 GMT 2005


Hi,

I discovered last night, that detached scanning in nessus is broken in
2.2.0 and its fixed in 2.2.2a. Unfortunately, I'm not having much luck
building it. 

Just testing it this afternoon, I've built & installed nessus-libraries
& libnasl. I did a ./uninstall-nessus before doing them, so there should
be no other libraries hanging around.
As instructed, I add /usr/local/lib into /etc/ld.so.conf then & built
nessus-core & nessus-plugins.

Unfortunately, when I try to run it its dying...

daveb at foo:/usr/local/nessus/sbin$ sudo ./nessusd
Loading the Nessus plugins...Segmentation fault

An strace of the above ends with....

fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40019000
write(1, "Loading the Nessus plugins...", 29Loading the Nessus
plugins...) = 29
stat64("/usr/local/nessus/lib/nessus/plugins/solaris26_x86_106657.nasl",
{st_mode=S_IFREG|0444, st_size=1197, ...}) = 0
stat64("/usr/local/nessus/lib/nessus/plugins/.desc/solaris26_x86_106657.desc", 0xbfff5a94) = -1 ENOENT (No such file or directory)
getpid()                                = 16680
getppid()                               = 16679
time(NULL)                              = 1107958080
getcwd("/usr/local/nessus/sbin", 4096)  = 23
chdir("/usr/local/nessus/lib/nessus/plugins") = 0
open("/usr/local/nessus/lib/nessus/plugins/solaris26_x86_106657.nasl",
O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=1197, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4001a000
read(4, "#\n# (C) Tenable Network Security"..., 4096) = 1197
_llseek(4, 0, [0], SEEK_SET)            = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


I removed all of the plugins and nessusd will now start, but its a bit
useless without plugins. 
I also tried running nessus-update-plugins to install the plugins, but
when it HUPs nessusd, it segfaults again :/

I am having the same problems with 2.3.0, but haven't tried the cvs
version yet. Has anyone else had any luck building 2.2.2a and getting it
to load plugins? Or is there something I've missed in building the
plugins? INSTALL just says a simple "./configure && make && make
install" should do.

Dave







More information about the ILUG mailing list