<lazy mans update of what i did this afternoon>
22:18 < paul> Zefren: why not remove that /one/ module?
22:18 < paul> the one nessus open()'d and mmap()'d immediately before
segving.
22:18 < Zefren> paul: yeah...and then i removed another and then i
removed another and then i removed them all and copied one random one
back...its the same prob
22:18 < paul> ah, nm so. :(
22:19 < Zefren> i have tried nuking it, and using the "lynx -source
http://install.nessus.org | sh" method, to make sure it
was done thier way.
22:19 < Zefren> i tried the cvs version
22:19 < Zefren> i found a debian bug report which mentioed my prob
22:20 < Zefren> but it was closed with a "hey, works for me now, pls
close" msg, without any indication of a fix
22:20 < paul> odd.
22:20 < Zefren> it was on a deb/sarge box, so am gonna try it on woody
this evening to see if that makes any diff
</lazy>
And, as paul suggested, time for gdb.
Dave
On Wed, 2005-02-09 at 21:25 +0000, Owen Connolly wrote:
> Well it seems, from what you're saying, that one or more plugins are
> causing nessusd to segfault. You'll probably find, if that's the case,
> that it's affecting more that you and you'll probably get better
> information on the nessus.org mailing lists.
>> Apart from that, I'd suggest downloading the plugins again and copying
> them out to a temporary directory. Then add them in blocks of 10 or 20
> at a time, until it happens, take the block out again and add them
> singly until it craps out again, then report the issue on the
> plugin-writers list.
>> I know this is a tedious way of doing things, but it's also bloody
> effective... ;-)
>> Cheers,
>>> ojc
>>>> Dave Burke wrote:
>> >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
> >
> >
> >
> >
> >
> >
>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!