Dear members.

How to rebuild tasks.db??

I'm building OpenVAS environment in Private network.
When I get NVT file, I have to use proxy server.

Problem

  I would like to FIX this error

    ``The number of NVTs in the OpenVAS Manager database is too low''

    This is output of openvas-check-setup output

Instruction
  I executed the following commands

  env http_proxy=http://myproxy:port /usr/sbin/openvas-nvt-sync --wget
  openvasmd -v --rebuild

  (When I exeute this command, openvasmd and openvassd is not running)

  After that I rexecute openvas-check-setup again.
  Error still occored.

   FIX: Make sure OpenVAS Scanner is running with an up-to-date NVT
collection and run 'openvasmd --rebuild'.

  I executed the above part by hand
  sqlite3 /var/lib/openvas/mgr/tasks.db "select count(*) from nvts;"
  0

  and I reexecute openvasmd -v --rebuild after lanch openvassd however
  After 10 hours,  this command is not complete.

Environment

  Scientifix Linux 6.1

  openvas-manager-3.0.3-3.el6.art.i686
  openvas-scanner-3.3.1-2.el6.art.i686
  openvas-libraries-5.0.3-4.el6.art.i686
  sqlite-3.7.0.1-1.el6.art.i686
  (These packges is using AtomicCorp packages)


Complete output openvas-check-setup.txt


  # ./openvas-check-setup.txt
  openvas-check-setup 2.2.0
    Test completeness and readiness of OpenVAS-5

    Please report us any non-detected problems and
    help us to improve this check routine:
    http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

    Send us the log-file (/tmp/openvas-check-setup.log) to help
analyze the problem.

    Use the parameter --server to skip checks for client tools
    like GSD and OpenVAS-CLI.

  Step 1: Checking OpenVAS Scanner ...
          OK: OpenVAS Scanner is present in version 3.3.1.
          OK: OpenVAS Scanner CA Certificate is present as
/var/lib/openvas/CA/cacert.pem.
          OK: NVT collection in /var/lib/openvas/plugins contains 27607 NVTs.
          WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
          SUGGEST: Enable signature checking (see
http://www.openvas.org/trusted-nvts.html).
  Step 2: Checking OpenVAS Manager ...
          OK: OpenVAS Manager is present in version 3.0.3.
          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: sqlite3 found, extended checks of the OpenVAS Manager
installation enabled.
          OK: OpenVAS Manager database is at revision 56.
          OK: OpenVAS Manager expects database at revision 56.
          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'.

   ERROR: Your OpenVAS-5 installation is not yet complete!

  Please follow the instructions marked with FIX above and run this
  script again.

  If you think this result is wrong, please report your observation
  and help us to improve this check routine:
  http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
  Please attach the log-file (/tmp/openvas-check-setup.log) to help us
analyze the problem.


Thank you for your advice.

Sincerely.

-- 
Hiroyuki Sato
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to