immauss / openvas

Containers for running the Greenbone Vulnerability Manager. Run as a single container with all services or separate single applications containers via docker-compose.
GNU Affero General Public License v3.0
354 stars 102 forks source link

Is this alive? #67

Closed itkroplis closed 2 years ago

itkroplis commented 2 years ago

I get error The Greenbone Vulnerability Manager service is not responding. This could be due to system maintenance. Please try again later, check the system status, or contact your system administrator.

immauss commented 2 years ago

I'll need some more info to help you decipher this.

Can you tell me how you started the container, what you are running it on and how long you waited after starting the container?

Scott

itkroplis commented 2 years ago

I use Ubuntu 20.04 LTS server. I edit only one value "HTTPS=true" I start docker docker-compose up -d In docker-compose logs -f I see I restart it as new! I see some WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

This is last in log: libgvm util:MESSAGE:2021-10-10 19h15.56 utc:318: Updated NVT cache from version 0 to 202110081146

immauss commented 2 years ago

Thank you. Just found an error int he docker-compose.yml Something I should have changed when I made some other changes to the start.sh Change:

Change: GMP="false" to:

GMP="false"

Then run:

docker-compose stop docker-compose rm docker-compose up -d

That should get it working.

Thanks! -Scott

immauss commented 2 years ago

Please let me know if that doesnt' take care it.

itkroplis commented 2 years ago

Hi! Yes its working good. I use it first time and if I scan local IP from my network I dont get scanning results. Is it normaly? Scannig are going but results not. ... openvas | event task:MESSAGE:2021-10-11 19h51.04 UTC:13964: Status of task QUADCORE (ce0398bd-82a1-45e7-b637-e20979a82ced) has changed to Requested openvas | event task:MESSAGE:2021-10-11 19h51.04 UTC:13964: Task QUAD (ce0398bd-82a1-45e7-b637-e20979a82ced) has been requested to start by admin openvas | openvas | ==> /usr/local/var/log/gvm/ospd-openvas.log <== openvas | OSPD[360] 2021-10-11 19:51:19,006: INFO: (ospd.command.command) Scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 added to the queue in position 1. openvas | openvas | ==> /usr/local/var/log/gvm/gvmd.log <== openvas | event task:MESSAGE:2021-10-11 19h51.19 UTC:13967: Status of task QUAD (ce0398bd-82a1-45e7-b637-e20979a82ced) has changed to Queued openvas | openvas | ==> /usr/local/var/log/gvm/ospd-openvas.log <== openvas | OSPD[360] 2021-10-11 19:51:21,185: INFO: (ospd.ospd) Currently 1 queued scans. openvas | OSPD[360] 2021-10-11 19:51:21,276: INFO: (ospd.ospd) Starting scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67. openvas | openvas | ==> /usr/local/var/log/gvm/gvmd.log <== openvas | event task:MESSAGE:2021-10-11 19h51.24 UTC:13967: Status of task QUAD (ce0398bd-82a1-45e7-b637-e20979a82ced) has changed to Running openvas | openvas | ==> /usr/local/var/log/gvm/openvas.log <== openvas | sd main:MESSAGE:2021-10-11 19h51.48 utc:14275: openvas 21.4.2 started openvas | sd main:MESSAGE:2021-10-11 19h51.56 utc:14275: Vulnerability scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 started: Target has 1 hosts: 192.168.3.2, with max_hosts = 20 and max_checks = 4 openvas | libgvm boreas:MESSAGE:2021-10-11 19h51.56 utc:14275: Alive scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 started: Target has 1 hosts openvas | sd main:MESSAGE:2021-10-11 19h51.59 utc:14357: Vulnerability scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 started for host: 192.168.3.2 openvas | libgvm boreas:MESSAGE:2021-10-11 19h52.01 utc:14275: Alive scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 finished in 5 seconds: 1 alive hosts of 1. openvas | sd main:MESSAGE:2021-10-11 19h53.20 utc:14357: Vulnerability scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 finished for host 192.168.3.2 in 81.19 seconds openvas | sd main:MESSAGE:2021-10-11 19h53.20 utc:14275: Vulnerability scan 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67 finished in 92 seconds: 1 alive hosts of 1 openvas | openvas | ==> /usr/local/var/log/gvm/ospd-openvas.log <== openvas | OSPD[360] 2021-10-11 19:53:21,047: INFO: (ospd.ospd) 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67: Host scan finished. openvas | OSPD[360] 2021-10-11 19:53:21,051: INFO: (ospd.ospd) 6f9a7523-7d33-46e0-a492-8a8bbd5dcb67: Scan finished. image image