Hello Micha

Thank you for your advice.

I succeed to rebuild database the followng step

  /bin/rm -f /var/lib/openvas/mgr/tasks.db
  env http_proxy=http://myproxy:port /usr/sbin/openvas-nvt-sync --wget
  cd /etc/rc.d/init.d
  ./openvas-scanner start
  openvasmd -v --rebuild
  sqlite3 /var/lib/openvas/mgr/tasks.db "select count(*) from nvts;"
  27607

By the way Can I ignore this message in  openvasmd.log
  md   main:WARNING:2012-09-08 11h05.11 utc:28867: sql_x:
sqlite3_prepare failed: no such table: meta

Best regards.


2012/9/8 Michael Meyer <[email protected]>:
> *** Hiroyuki Sato wrote:
>
> stop the scanner
>
>>   env http_proxy=http://myproxy:port /usr/sbin/openvas-nvt-sync --wget
>
> now start the scanner
>
>>   openvasmd -v --rebuild
>
> should now work.
>
>>   (When I exeute this command, openvasmd and openvassd is not running)
>
> The scanner must be up to run the "openvasmd -v --rebuild".
>
> HTH
>
> Micha
>
> --
> Michael Meyer                            OpenPGP Key: 52A6EFA6
> http://www.greenbone.net/
> Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG
> Osnabrück, HR B 202460
> Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



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

Reply via email to