Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
247 stars 91 forks source link

[Bug]Failed to find config 'daba56c8-73ec-11df-a475-002264764cea' #342

Closed crazyn2 closed 2 years ago

crazyn2 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. docker run --detach --publish 8080:9392 --publish 2222:22 --env DB_PASSWORD="postgres" --env PASSWORD="adminpassword" --volume $PWD/storage/postgres-db:/opt/database --volume $PWD/storage/openvas-plugins:/var/lib/openvas/plugins --volume $PWD/storage/gvm:/var/lib/gvm --volume $PWD/storage/ssh:/etc/ssh --name gvm securecompliance/gvm
  2. open webui and start quick scan wizard Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Host Device:

Image in use:

crazyn2 commented 2 years ago
All transactions are logged.

If you have any questions, please use the Greenbone community portal. 
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list

sent 38 bytes  received 66 bytes  1.52 bytes/sec
total size is 1,014  speedup is 9.75
/run/ospd/feed-update.lockUpdating GVMd data...
Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the Greenbone community portal. 
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp

              0   0%    0.00kB/s    0:00:00  
             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 109 bytes  43.43 bytes/sec
total size is 13  speedup is 0.09
Updating SCAP data...
Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the Greenbone community portal. 
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp

              0   0%    0.00kB/s    0:00:00  
             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 115 bytes  45.14 bytes/sec
total size is 13  speedup is 0.08
Updating CERT data...
Greenbone community feed server - http://feed.community.greenbone.net/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the Greenbone community portal. 
See https://community.greenbone.net for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be temporarily blocked.

receiving incremental file list
timestamp

              0   0%    0.00kB/s    0:00:00  
             13 100%   12.70kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 43 bytes  received 115 bytes  45.14 bytes/sec
total size is 13  speedup is 0.08
Starting Open Scanner Protocol daemon for OpenVAS...
2022-05-27 08:25:59,005 INFO spawned: 'ospd-openvas' with pid 227
2022-05-27 08:26:09,255 INFO success: ospd-openvas entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
ospd-openvas: started
Starting Greenbone Vulnerability Manager...
2022-05-27 08:26:09,482 INFO spawned: 'gvmd' with pid 238
2022-05-27 08:26:10,484 INFO reaped unknown pid 241 (exit status 0)
2022-05-27 08:26:10,484 INFO reaped unknown pid 243 (exit status 0)
2022-05-27 08:26:10,484 INFO reaped unknown pid 245 (exit status 0)
2022-05-27 08:26:10,485 INFO reaped unknown pid 247 (exit status 0)
2022-05-27 08:26:10,485 INFO reaped unknown pid 249 (exit status 0)
2022-05-27 08:26:10,485 INFO reaped unknown pid 251 (exit status 0)
2022-05-27 08:26:10,485 INFO reaped unknown pid 253 (exit status 0)
2022-05-27 08:26:10,485 INFO reaped unknown pid 255 (exit status 0)
2022-05-27 08:26:19,497 INFO success: gvmd entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gvmd: started
Waiting for Greenbone Vulnerability Manager to finish startup...
admin
Starting Greenbone Security Assistant...
2022-05-27 08:26:19,864 INFO spawned: 'gsad-https' with pid 267
2022-05-27 08:26:29,878 INFO success: gsad-https entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
gsad-https: started
2022-05-27 08:26:30,116 INFO spawned: 'GVMUpdate' with pid 274
2022-05-27 08:26:40,131 INFO success: GVMUpdate entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
GVMUpdate: started
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+     Greenbone Vulnerability Manager 21.4.3
Manager DB revision 242
Copyright (C) 2009-2021 Greenbone Networks GmbH
License: AGPL-3.0-or-later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ Your GVM container is now ready to use!                 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-----------------------------------------------------------
Server Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHyiHcPrivm6Sej5eig3tYIaenPU3xrpR9W3bNDJtGUz root@3beb1a4dc465
-----------------------------------------------------------
-----------------------------------------------------------
+        Find logs at: /var/log/supervisor/               +
+              and at: /var/log/gvm/                      +
===========================================================
2022-05-27 08:26:40,181 INFO exited: init (exit status 0; expected)
2022-05-27 08:26:59,204 INFO reaped unknown pid 413 (exit status 0)
2022-05-27 08:26:59,204 INFO reaped unknown pid 415 (exit status 0)
Dexus commented 2 years ago

You have to wait until the initialisation is done. It can take some minutes, hours or days based on your system.

Have a look how the CPU/DISK usage looks like, if the Postgres have a high CPU load it is working on the Feed Updates, also if your DISK IOWAIT is high, it shows you that it work on the feed updates.

crazyn2 commented 2 years ago

2022-05-27 08:26:59,204 INFO reaped unknown pid 413 (exit status 0) 2022-05-27 08:26:59,204 INFO reaped unknown pid 415 (exit status 0) what do those means? It still takes time to generate? In my kali of virtualbox, it takes less than finished but that has taken two hours

Dexus commented 2 years ago

It cleans up some zombie processes. It always needs a bit time to update the feeds and bring the cache up2date.