Yes, while 30 mins is a bit long, let it sit a bit longer. I don't have
much experience with the Ubuntu packages however.

Also, don't stop them halfway through with Ctrl+c, I am not sure what kind
of state that leaves openvasmd in. If you have done that, probably should
reinstall and try again.

--rebuild will completely rebuild the openvasmd database. --update simply
takes the difference between what openvas-nvt-sync et al have added and
updates the sqlite DB to include the new data. You probably do not need to
run --rebuild.

On Thu, Jul 30, 2015 at 9:11 AM, Arthur <calvin...@gmail.com> wrote:

> Haha good question ; around 30 minutes ? The first time I ran that
> command, it
> took at most 5 minutes. Should I wait more ?
>
> Also, the animated progress bar (the slashes `/|\-`) do not move anymore
> when
> it hangs ; I assume a call is blocking somewhere.
>
>
> On a side note, I am using mrazavi packages for Ubuntu 14.04
> (https://launchpad.net/~mrazavi/+archive/ubuntu/openvas)
>
> Le jeudi 30 juillet 2015 09:05:15, vous avez écrit :
> > How long is forever?
> >
> > On Thu, Jul 30, 2015 at 9:04 AM, Arthur <calvin...@gmail.com> wrote:
> > > Hello,
> > >
> > > As my title say, my problem today is that the command
> > > `openvasmd --progress --verbose --rebuild` never returns and hangs
> > > forever,
> > > locking the sqlite database and preventing any other action (including
> > > `openvas-check-setup` which is locked when trying to find users)
> > >
> > > $ sudo openvasmd --progress --verbose --rebuild
> > > Rebuilding NVT cache... /
> > > [hangs forever]
> > >
> > >
> > > $ sudo tail -f /var/log/openvas/openvasmd.log
> > > md   main:WARNING:2015-07-30 13h35.46 utc:4045: database must be
> > > initialised
> > > from scanner (with --update or --rebuild)
> > > lib auth:   INFO:2015-07-30 13h35.47 utc:4045: Authentication
> > > configuration
> > > not found.
> > > md   main:   INFO:2015-07-30 13h35.52 utc:4049:    OpenVAS Manager
> version
> > > 6.0.1 (DB revision 146)
> > > md   main:   INFO:2015-07-30 13h35.52 utc:4049:
> rebuild_nvt_cache_retry:
> > > Reloading NVT cache
> > > md   main:   INFO:2015-07-30 13h35.52 utc:4050:
> > > update_or_rebuild_nvt_cache:
> > > Rebuilding NVT cache
> > > md   main:   INFO:2015-07-30 13h35.52 utc:4050:    Updating NVT cache.
> > > md    otp:MESSAGE:2015-07-30 13h35.52 utc:4050: Scanner loading: 16550
> /
> > > 40087
> > > nvts.
> > > md   main:   INFO:2015-07-30 13h36.02 utc:4060:
> > > update_or_rebuild_nvt_cache:
> > > Rebuilding NVT cache
> > > md   main:   INFO:2015-07-30 13h36.02 utc:4060:    Updating NVT cache.
> > > md    otp:MESSAGE:2015-07-30 13h36.02 utc:4060: Scanner loading: 25400
> /
> > > 40087
> > > nvts.
> > > md   main:   INFO:2015-07-30 13h36.12 utc:4061:
> > > update_or_rebuild_nvt_cache:
> > > Rebuilding NVT cache
> > > md   main:   INFO:2015-07-30 13h36.12 utc:4061:    Updating NVT cache.
> > > md    otp:MESSAGE:2015-07-30 13h36.12 utc:4061: Scanner loading: 32650
> /
> > > 40087
> > > nvts.
> > > md   main:   INFO:2015-07-30 13h36.22 utc:4062:
> > > update_or_rebuild_nvt_cache:
> > > Rebuilding NVT cache
> > > md   main:   INFO:2015-07-30 13h36.22 utc:4062:    Updating NVT cache.
> > > md    otp:MESSAGE:2015-07-30 13h36.23 utc:4062: Scanner loading: 38800
> /
> > > 40087
> > > nvts.
> > > md   main:   INFO:2015-07-30 13h36.33 utc:4063:
> > > update_or_rebuild_nvt_cache:
> > > Rebuilding NVT cache
> > > md   main:   INFO:2015-07-30 13h36.33 utc:4063:    Updating NVT cache.
> > > lib auth:   INFO:2015-07-30 13h44.38 utc:4225: Authentication
> > > configuration
> > > not found.
> > > [hang forever]
> > >
> > >
> > > I have the exact same problem when update
> > >
> > > $ sudo openvasmd --progress --verbose --update
> > > Updating NVT cache... \
> > > [hang forever]
> > >
> > > $ sudo tail -f /var/log/openvas/openvasmd.log
> > > md   main:   INFO:2015-07-30 13h56.11 utc:4298:    OpenVAS Manager
> version
> > > 6.0.1 (DB revision 146)
> > > md   main:   INFO:2015-07-30 13h56.11 utc:4298:
> rebuild_nvt_cache_retry:
> > > Reloading NVT cache
> > > md   main:   INFO:2015-07-30 13h56.11 utc:4299:
> > > update_or_rebuild_nvt_cache:
> > > Updating NVT cache
> > >
> > > I tried to move the database (/var/lib/openvas/mgr/tasks.db) and
> recreate
> > > it,
> > > with the same results.
> > >
> > >
> > > Any suggestions ?  Is it some server-side issue (maybe an unreachable
> host
> > > ?)
> > > _______________________________________________
> > > Openvas-discuss mailing list
> > > Openvas-discuss@wald.intevation.org
> > >
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>



-- 
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to