[Openvas-discuss] Slave issue

Alicia Smith asmith at neospire.net
Thu Mar 17 21:12:09 CET 2011


Yep, Right machine and update did run, but when I run the sqlite command you gave earlier, I get nada

[root at neo-vas2 openvas]# /opt/sqlite/bin/sqlite3 /var/lib/openvas/mgr/tasks.db "select oid, name from nvts"
[root at neo-vas2 openvas]#

Does that mean there's an issue with the sqlite? Should I recompile maybe?

----------below is the output of updating the nvt done prior to the above--------------

[root at neo-vas2 openvas]# ls -al /var/lib/openvas/plugins/ | grep "nasl" -c
40842
[root at neo-vas2 openvas]# openvas-nvt-sync
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
[i] NVT dir: /var/lib/openvas/plugins
[i] Will use rsync
[i] Using rsync: /usr/bin/rsync
[i] Configured NVT rsync feed: rsync://rsync.openvas.org:/nvt-feed
rsync server - Intevation GmbH, Germany
All transactions are logged. Mail problems to admin at intevation.de.

Please look at /ftp/mirrors.txt for a list of download mirrors.

receiving file list ...
41753 files to consider
./
gb_google_chrome_mult_dos_vuln_mar11_lin.nasl
        4373 100%    4.17MB/s    0:00:00 (xfer#1, to-check=21644/41753)
gb_google_chrome_mult_dos_vuln_mar11_lin.nasl.asc
         197 100%  192.38kB/s    0:00:00 (xfer#2, to-check=21643/41753)
gb_google_chrome_mult_dos_vuln_mar11_win.nasl
        4128 100%   66.09kB/s    0:00:00 (xfer#3, to-check=21642/41753)
gb_google_chrome_mult_dos_vuln_mar11_win.nasl.asc
         197 100%    3.15kB/s    0:00:00 (xfer#4, to-check=21641/41753)
gb_hiawatha_web_srv_content_length_dos.nasl
        3670 100%   29.87kB/s    0:00:00 (xfer#5, to-check=21534/41753)
gb_hiawatha_web_srv_content_length_dos.nasl.asc
         197 100%    1.60kB/s    0:00:00 (xfer#6, to-check=21533/41753)
gb_hp_power_manager_csrf_vuln.nasl
        3826 100%   17.38kB/s    0:00:00 (xfer#7, to-check=21504/41753)
gb_hp_power_manager_csrf_vuln.nasl.asc
         197 100%    0.89kB/s    0:00:00 (xfer#8, to-check=21503/41753)
gb_icinga_mult_xss_vuln.nasl
        3633 100%   13.91kB/s    0:00:00 (xfer#9, to-check=20910/41753)
gb_icinga_mult_xss_vuln.nasl.asc
         197 100%    0.75kB/s    0:00:00 (xfer#10, to-check=20909/41753)
gb_majordomo2_dir_trav_vuln.nasl
        3290 100%   12.45kB/s    0:00:00 (xfer#11, to-check=20672/41753)
gb_majordomo2_dir_trav_vuln.nasl.asc
         197 100%    0.74kB/s    0:00:00 (xfer#12, to-check=20671/41753)
gb_nagios_layer_xss_vuln.nasl
        3333 100%    9.95kB/s    0:00:00 (xfer#13, to-check=17496/41753)
gb_nagios_layer_xss_vuln.nasl.asc
         197 100%    0.59kB/s    0:00:00 (xfer#14, to-check=17495/41753)
gb_wordpress_php_speedy_plugin_title_param_xss.nasl
        3684 100%    9.11kB/s    0:00:00 (xfer#15, to-check=12514/41753)
gb_wordpress_php_speedy_plugin_title_param_xss.nasl.asc
         197 100%    0.46kB/s    0:00:00 (xfer#16, to-check=12513/41753)
host_details.inc
        2458 100%    5.35kB/s    0:00:00 (xfer#17, to-check=9220/41753)
host_details.inc.asc
         197 100%    0.40kB/s    0:00:00 (xfer#18, to-check=9219/41753)
host_details.nasl
        4295 100%    8.10kB/s    0:00:00 (xfer#19, to-check=9218/41753)
host_details.nasl.asc
         197 100%    0.37kB/s    0:00:00 (xfer#20, to-check=9217/41753)
md5sums
     2643544 100%    2.83MB/s    0:00:00 (xfer#21, to-check=8678/41753)
plugin_feed_info.inc
         118 100%    0.13kB/s    0:00:00 (xfer#22, to-check=6454/41753)
plugin_feed_info.inc.asc
         197 100%    0.22kB/s    0:00:00 (xfer#23, to-check=6453/41753)
xml.inc
        1609 100%    1.73kB/s    0:00:00 (xfer#24, to-check=95/41753)
xml.inc.asc
         197 100%    0.21kB/s    0:00:00 (xfer#25, to-check=94/41753)

sent 10321 bytes  received 781463 bytes  105571.20 bytes/sec
total size is 90318910  speedup is 114.07
[i] Checking dir: ok
[i] Checking MD5 checksum: ok
[root at neo-vas2 openvas]# ls -al /var/lib/openvas/plugins/ | grep "nasl" -c
40856

-----Original Message-----
From: matthew.mundell at greenbone.net [mailto:matthew.mundell at greenbone.net] 
Sent: Thursday, March 17, 2011 11:04 AM
To: Alicia Smith
Cc: openvas-discuss at wald.intevation.org
Subject: Re: [Openvas-discuss] Slave issue

> I have updated the NVT on vas2 and ran openvasmd --update as well. So I'm
> not sure what the "...NVT missing from the cache" means.

Are you certain that you did this on the right machine?  I wonder if the
sync and update both worked.  Did you see the NVTs listed when you synced?
They should be in /var/lib/openvas/plugins/ on vas2.  If you run something
like

	sqlite3 /var/lib/openvas/mgr/tasks.db "select oid, name from nvts"

on vas2 it should list them as per Manager, too.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-discuss mailing list