Hi again, I've done some more tests and my findings are the following:
tasks.db is created with correct permissions by using openvasmd --rebuild. However the NVTs table is empty: # ls -la /var/lib/openvas/mgr/tasks.db -rw------- 1 root root 659456 May 17 12:39 tasks.db I have checked and it should take around 49 Mb, not 659 Kb. I have reinstalled openvas with no change. Attached you can find the openvas-check-setup.log in case it give some more clues. Regards, Paula 2013/5/17 Paula Gonzalez Muñoz <[email protected]> > Hello all, > > I'm installing openvas on a new server and I'm getiing this error: > > Step 2: Checking OpenVAS Manager ... > OK: OpenVAS Manager is present in version 4.0.0. > OK: OpenVAS Manager client certificate is present as > /var/lib/openvas/CA/clientcert.pem. > OK: OpenVAS Manager database found in > /var/lib/openvas/mgr/tasks.db. > OK: Access rights for the OpenVAS Manager database are correct. > OK: OpenVAS SCAP database found in > /var/lib/openvas/scap-data/scap.db. > OK: OpenVAS CERT database found in > /var/lib/openvas/cert-data/cert.db. > OK: sqlite3 found, extended checks of the OpenVAS Manager > installation enabled. > OK: OpenVAS Manager database is at revision 74. > OK: OpenVAS Manager expects database at revision 74. > OK: Database schema is up to date. > ERROR: The number of NVTs in the OpenVAS Manager database is too > low. > FIX: Make sure OpenVAS Scanner is running with an up-to-date NVT > collection and run 'openvasmd --rebuild'. > > > I've double checked that openvassd is running. After checking tasks.db I > get this: > > # sqlite3 /var/lib/openvas/mgr/tasks.db "select count(*) from nvts;" > 0 > > So the database is not being filled. I've check the logs and there's this > error: > > md main:WARNING:2013-05-17 06h44.05 utc:3086: sql_x: sqlite3_prepare > failed: no such table: main.meta > > And the only difference I've found between this server and the one where I > have openvas working is that on this sqlite3 is version 3.7.16.2 and on the > one where it is working it is 3.7.15.2. Any ideas? > > Regards, > Paula > > -- > Paula González Muñoz > > > > -- Paula González Muñoz
openvas-check-setup.log
Description: Binary data
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
