[Openvas-discuss] openvassd loading plugins abort(core)

John jschiel at flowtools.net
Mon Nov 14 19:54:49 CET 2011


I'm having problems getting openvassd to run. I have resynced and 
removed the /var/lib/openvas/plugins more than once and I still get the 
same error:

[root at blahj ~]# openvassd
Loading the plugins... 13719 (out of 23685)
** ERROR **: File is empty
aborting...
Aborted (core dumped)

How can I see 'which' of these files is empty?

Things I've done that don't work:

1 - rm -rf /var/lib/openvas/plugins
2 - openvas-nvt-sync --wget

3 -
[root at blah ~]# openvas-nvt-sync --wget
[i] Using GNU wget: /usr/bin/wget
[i] Configured NVT http feed: 
http://www.openvas.org/openvas-nvt-feed-current.tar.bz2
[i] Downloading to: 
/tmp/openvas-nvt-sync.2NLxuI85iv/openvas-feed-2011-11-14-6556.tar.bz2
--2011-11-14 11:46:50-- 
http://www.openvas.org/openvas-nvt-feed-current.tar.bz2
Resolving www.openvas.org... 78.47.251.62
Connecting to www.openvas.org|78.47.251.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9738450 (9.3M) [application/x-tar]
Saving to: 
“/tmp/openvas-nvt-sync.2NLxuI85iv/openvas-feed-2011-11-14-6556.tar.bz2”

<snip>
[i] Download complete
[i] Checking dir: ok
[i] Checking MD5 checksum: ok

4 -
[root at blah ~]# ls -l /var/lib/openvas/plugins/ | wc -l
46397
[root at handyj ~]# openvassd
Loading the plugins... 13719 (out of 23685)
** ERROR **: File is empty
aborting...
Aborted (core dumped)

Every time it stops on the same plugin. I even tried rebuilding the 
openvas manager database and that did nothing.

Have plenty of disk space.

[root at blah ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_blah-lv_root
50G 7.0G 42G 15% /
tmpfs 1004M 2.0M 1002M 1% /dev/shm
/dev/sda1 485M 67M 393M 15% /boot
/dev/mapper/vg_blahj-lv_home
176G 46G 122G 28% /home

Running on fedora 14, no it's not dead yet, I have another month.

[root at handyj ~]# cat /proc/version
Linux version 2.6.35.14-103.fc14.x86_64 
(mockbuild at x86-05.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 
(Red Hat 4.5.1-4) (GCC) ) #1 SMP Thu Oct 27 15:41:25 UTC 2011
[root at handyj ~]# cat /etc/issue
Fedora release 14 (Laughlin)
Kernel \r on an \m (\l)


How can I see this 'empty file?

--John










More information about the Openvas-discuss mailing list