View Issue Details

IDProjectCategoryView StatusLast Update
0002250Kali LinuxKali Package Bugpublic2020-12-01 10:48
Reporterkurobeats Assigned Torhertzog  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.0 
Fixed in Version2.0 
Summary0002250: The process stalls when running "openvasmd --progress --rebuild -v"
Description

When running sudo openvasmd --progress --rebuild -v after a fresh install of Kali Linux, the process seems to stall with this:

"Rebuilding NVT cache... /" the slash doesn't change (I know usually it animates with -/|\" and in the messages, I can see "md main: INFO:2015-04-30 19h42.31 utc:3937: Updating NVT cache."

I've left it for up to 3 hours multiple times and attempted to restart the progress by completely removing all of openvas from my system and then reinstalling, with no luck.

Process of uninstall is such:

apt-get purge openvas openvas-* ;
rm -fr /var/cache/openvas;
rm -fr /var/log/openvas;
rm -fr /var/lib/openvas;
apt-get autoremove;
apt-get install alien nsis rpm;
apt-get install openvas;
sudo openvas-setup
openvasmd --user=admin --new-password=<your password>.

Other fixes tried are running the following and repeating the rebuild procedure:

openvas-mkcert-client -n om -i

Steps To Reproduce
  1. Run openvas-setup
  2. Review progress with tail -f /var/log/openvas/openvasmd.log
Additional Information

Please find attached my openvasmd.log

Attached Files
openvasmd.log (6,716 bytes)   
md   main:WARNING:2015-04-30 14h03.25 utc:8703: init_manage_process: database permissions are too loose, repairing
md   main:WARNING:2015-04-30 14h03.25 utc:8703: manage_migrate: no task tables yet, run a --rebuild to create them.
md   main:WARNING:2015-04-30 14h03.25 utc:8703: main: databases are already at the supported version
md   main:WARNING:2015-04-30 14h03.25 utc:8706: sql_prepare_internal: sqlite3_prepare failed: no such table: main.meta
md   main:WARNING:2015-04-30 14h03.25 utc:8706: sql_x_internal: sql_prepare failed
lib auth:   INFO:2015-04-30 14h09.45 utc:8830: Authentication configuration not found.
lib  serv:WARNING:2015-04-30 14h10.13 utc:8706: Failed to shake hands with peer: A TLS packet with unexpected length was received.
lib  serv:WARNING:2015-04-30 14h10.13 utc:8706: Failed to shutdown server socket
lib auth:   INFO:2015-04-30 14h10.24 utc:8852: Authentication configuration not found.
md   main:WARNING:2015-04-30 14h10.24 utc:8852: database must be initialised from scanner (with --update or --rebuild)
md   main:CRITICAL:2015-04-30 14h10.25 utc:8852: main: failed to find user
md   main:WARNING:2015-04-30 14h13.08 utc:9212: main: databases are already at the supported version
md    otp:MESSAGE:2015-04-30 14h13.10 utc:9214: Scanner loading: 100 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h13.21 utc:9215: Scanner loading: 2250 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h13.32 utc:9269: Scanner loading: 4500 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h13.44 utc:9270: Scanner loading: 6500 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h13.55 utc:9271: Scanner loading: 8500 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h14.07 utc:9272: Scanner loading: 10050 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h14.18 utc:9277: Scanner loading: 12050 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h14.29 utc:9278: Scanner loading: 14000 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h14.41 utc:9279: Scanner loading: 15350 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h14.52 utc:9280: Scanner loading: 16950 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h15.03 utc:9281: Scanner loading: 18400 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h15.15 utc:9282: Scanner loading: 19650 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h15.26 utc:9283: Scanner loading: 20850 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h15.37 utc:9284: Scanner loading: 22050 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h15.48 utc:9285: Scanner loading: 23250 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.00 utc:9286: Scanner loading: 24400 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.11 utc:9287: Scanner loading: 25600 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.22 utc:9289: Scanner loading: 26850 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.34 utc:9290: Scanner loading: 28000 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.45 utc:9291: Scanner loading: 29200 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h16.56 utc:9292: Scanner loading: 30350 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h17.07 utc:9296: Scanner loading: 31550 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h17.19 utc:9297: Scanner loading: 32750 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h17.30 utc:9298: Scanner loading: 33950 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h17.41 utc:9300: Scanner loading: 35050 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h17.53 utc:9301: Scanner loading: 36100 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h18.04 utc:9302: Scanner loading: 37200 / 38570 nvts.
md    otp:MESSAGE:2015-04-30 14h18.15 utc:9303: Scanner loading: 38300 / 38570 nvts.
md   main:WARNING:2015-04-30 19h39.43 utc:3598: database must be initialised from scanner (with --update or --rebuild)
lib auth:   INFO:2015-04-30 19h39.47 utc:3598: Authentication configuration not found.
lib auth:   INFO:2015-04-30 19h40.05 utc:3667: Authentication configuration not found.
md   main:WARNING:2015-04-30 19h40.05 utc:3667: database must be initialised from scanner (with --update or --rebuild)
lib auth:   INFO:2015-04-30 19h40.38 utc:3671: Authentication configuration not found.
md   main:WARNING:2015-04-30 19h40.38 utc:3671: database must be initialised from scanner (with --update or --rebuild)
lib auth:   INFO:2015-04-30 19h40.41 utc:3673: Authentication configuration not found.
md   main:WARNING:2015-04-30 19h40.41 utc:3673: database must be initialised from scanner (with --update or --rebuild)
lib auth:   INFO:2015-04-30 19h40.48 utc:3740: Authentication configuration not found.
md   main:WARNING:2015-04-30 19h40.48 utc:3740: database must be initialised from scanner (with --update or --rebuild)
md   main:   INFO:2015-04-30 19h41.20 utc:3756:    OpenVAS Manager version 6.0.1 (DB revision 146)
md   main:   INFO:2015-04-30 19h41.20 utc:3756: rebuild_nvt_cache_retry: Reloading NVT cache
md   main:   INFO:2015-04-30 19h41.20 utc:3757: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h41.22 utc:3757:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h41.23 utc:3757: Scanner loading: 30100 / 38570 nvts.
md   main:   INFO:2015-04-30 19h41.33 utc:3820: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h41.34 utc:3820:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h41.34 utc:3820: Scanner loading: 31900 / 38570 nvts.
md   main:   INFO:2015-04-30 19h41.44 utc:3879: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h41.46 utc:3879:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h41.46 utc:3879: Scanner loading: 33600 / 38570 nvts.
md   main:   INFO:2015-04-30 19h41.56 utc:3882: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h41.57 utc:3882:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h41.57 utc:3882: Scanner loading: 35250 / 38570 nvts.
md   main:   INFO:2015-04-30 19h42.07 utc:3935: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h42.09 utc:3935:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h42.09 utc:3935: Scanner loading: 36850 / 38570 nvts.
md   main:   INFO:2015-04-30 19h42.19 utc:3936: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h42.20 utc:3936:    Updating NVT cache.
md    otp:MESSAGE:2015-04-30 19h42.20 utc:3936: Scanner loading: 38350 / 38570 nvts.
md   main:   INFO:2015-04-30 19h42.30 utc:3937: update_or_rebuild_nvt_cache: Rebuilding NVT cache
md   main:   INFO:2015-04-30 19h42.31 utc:3937:    Updating NVT cache.
lib  serv:WARNING:2015-04-30 20h56.35 utc:3937: Failed to shake hands with peer: A TLS packet with unexpected length was received.
lib  serv:WARNING:2015-04-30 20h56.35 utc:3937: Failed to shutdown server socket
openvasmd.log (6,716 bytes)   

Activities

rhertzog

rhertzog

2015-07-28 12:01

administrator   ~0003607

Do you still experience the problem?

Are you sure that it's not a network problem on your side?

I can't reproduce this issue. openvas-setup works for me on a fresh setup.

kurobeats

kurobeats

2015-08-16 02:17

reporter   ~0003782

Hey,

Yeah it's all good now (I've installed Kali 2.0). It wasn't a network issue though. Definitely a weird one.

rhertzog

rhertzog

2015-08-16 08:58

administrator   ~0003785

Thanks marking it as resolved then.

Issue History

Date Modified Username Field Change
2015-04-30 21:08 kurobeats New Issue
2015-04-30 21:08 kurobeats File Added: openvasmd.log
2015-07-22 18:36 rhertzog Assigned To => rhertzog
2015-07-22 18:36 rhertzog Status new => assigned
2015-07-28 12:01 rhertzog Note Added: 0003607
2015-07-28 12:01 rhertzog Status assigned => feedback
2015-08-16 02:17 kurobeats Note Added: 0003782
2015-08-16 02:17 kurobeats Status feedback => assigned
2015-08-16 08:58 rhertzog Note Added: 0003785
2015-08-16 08:58 rhertzog Status assigned => resolved
2015-08-16 08:58 rhertzog Fixed in Version => 2.0
2015-08-16 08:58 rhertzog Resolution open => fixed
2020-12-01 10:48 g0tmi1k Priority high => normal