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

(gsad:646): libgvm util-WARNING **:Failed to connect to server #157

Closed FalcoGer closed 1 year ago

FalcoGer commented 1 year ago

I ran the following commands to get openvas running:

sudo docker pull immauss/openvas
sudo docker volume create openvas
sudo docker run -i -t -p 9392:9392 -e PASSWORD='[redacted]' -v openvas:/data --name=openvas immauss/openvas

It took a while to update the database, but then the web server started on port 9392.

However I can not log in, neither with the supplied password, nor with admin:admin. I have tried restarting the container, but that didn't help either. I am getting this error message when i try to log in on the console

(gsad:646): libgvm util-WARNING **: 09:11:54.786: Failed to connect to server

(gsad:646): gsad  gmp-WARNING **: 09:11:54.788: Authentication failure for 'admin' from 172.17.0.1. Status was 1.

On the web interface I get this:

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.

Log files from /var/log/gvm/ below.

gvmd.log

md   main:MESSAGE:2022-10-27 08h16.55 utc:59:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:   INFO:2022-10-27 08h16.55 utc:59:    Migrating database.
md   main:MESSAGE:2022-10-27 08h16.55 utc:59: No SCAP database found for migration
md   main:   INFO:2022-10-27 08h16.55 utc:59: gvmd: databases are already at the supported version
md   main:MESSAGE:2022-10-27 08h53.26 utc:532:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:MESSAGE:2022-10-27 08h53.26 utc:533: No SCAP database found
md   main:MESSAGE:2022-10-27 08h53.27 utc:537:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.27 utc:537: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.28 utc:542:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.28 utc:542: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.29 utc:548:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.29 utc:548: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.30 utc:553:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.30 utc:553: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.31 utc:560:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.31 utc:560: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.32 utc:564:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.32 utc:564: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.33 utc:568:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.33 utc:568: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.34 utc:574:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.34 utc:574: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.35 utc:578:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.35 utc:578: gvmd: Another process is busy starting up
libgvm util:   INFO:2022-10-27 08h53.36 utc:533: starting key generation ...
md   main:MESSAGE:2022-10-27 08h53.36 utc:601:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.36 utc:601: gvmd: Another process is busy starting up
libgvm util:   INFO:2022-10-27 08h53.36 utc:533: OpenPGP key 'GVM Credential Encryption' has been generated
md   main:MESSAGE:2022-10-27 08h53.37 utc:609:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.37 utc:609: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.38 utc:613:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.38 utc:613: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.39 utc:617:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.39 utc:617: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.41 utc:621:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.41 utc:621: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.42 utc:625:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.42 utc:625: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.43 utc:629:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.43 utc:629: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h53.43 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md manage:MESSAGE:2022-10-27 08h53.43 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h53.44 utc:633:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.44 utc:633: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.45 utc:637:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.45 utc:637: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.46 utc:641:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.46 utc:641: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.47 utc:645:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.47 utc:645: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.48 utc:649:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.48 utc:649: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.49 utc:653:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.49 utc:653: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.50 utc:657:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.50 utc:657: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.51 utc:669:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.51 utc:669: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.52 utc:673:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.52 utc:673: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.54 utc:677:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.54 utc:677: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.55 utc:682:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.55 utc:682: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.56 utc:686:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.56 utc:686: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.57 utc:690:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.57 utc:690: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.58 utc:694:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.58 utc:694: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h53.59 utc:698:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h53.59 utc:698: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.00 utc:702:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.00 utc:702: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.01 utc:706:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.01 utc:706: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.02 utc:710:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.02 utc:710: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.03 utc:714:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.03 utc:714: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.04 utc:718:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.04 utc:718: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.06 utc:722:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.06 utc:722: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.07 utc:726:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.07 utc:726: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.08 utc:730:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.08 utc:730: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.09 utc:734:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.09 utc:734: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.10 utc:738:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.10 utc:738: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.11 utc:742:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.11 utc:742: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.12 utc:746:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.12 utc:746: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.13 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md manage:MESSAGE:2022-10-27 08h54.13 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h54.13 utc:750:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.13 utc:750: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.14 utc:754:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.14 utc:754: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.15 utc:758:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.15 utc:758: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.16 utc:762:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.16 utc:762: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.18 utc:766:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.18 utc:766: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.19 utc:770:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.19 utc:770: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.20 utc:774:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.20 utc:774: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.21 utc:778:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.21 utc:778: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.22 utc:782:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.22 utc:782: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.23 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md manage:MESSAGE:2022-10-27 08h54.23 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md manage:MESSAGE:2022-10-27 08h54.23 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h54.23 utc:786:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.23 utc:786: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.24 utc:791:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.24 utc:791: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.25 utc:795:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.25 utc:795: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.27 utc:799:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.27 utc:799: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.28 utc:803:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.28 utc:803: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.29 utc:807:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.29 utc:807: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.30 utc:811:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.30 utc:811: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.30 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md manage:MESSAGE:2022-10-27 08h54.30 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h54.31 utc:815:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.31 utc:815: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.32 utc:819:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.32 utc:819: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.32 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md   main:MESSAGE:2022-10-27 08h54.33 utc:823:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.33 utc:823: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.35 utc:827:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.35 utc:827: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.36 utc:831:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.36 utc:831: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.36 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md manage:MESSAGE:2022-10-27 08h54.37 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h54.37 utc:835:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.37 utc:835: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.38 utc:839:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.38 utc:839: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.39 utc:843:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.39 utc:843: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.40 utc:847:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.40 utc:847: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.41 utc:851:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.41 utc:851: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.42 utc:855:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.42 utc:855: gvmd: Another process is busy starting up
md manage:MESSAGE:2022-10-27 08h54.43 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.100509:6 has changed from 'Report vulnerabilities of inactiveLinux Kernel(s) separately' to 'Report vulnerabilities of inactive Linux Kernel(s) separately (only for GOS 21.04 and older)'.
md manage:MESSAGE:2022-10-27 08h54.43 utc:533: get_nvt_preference_by_id: name of preference 1.3.6.1.4.1.25623.1.0.10870:1 has changed from 'NTLMSSP' to 'This configuration (NTLMSSP) is deprecated as of 2022-09-23.'.
md   main:MESSAGE:2022-10-27 08h54.43 utc:859:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.43 utc:859: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.45 utc:863:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.45 utc:863: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.46 utc:867:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.46 utc:867: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.47 utc:871:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.47 utc:871: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.48 utc:875:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.48 utc:875: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 08h54.49 utc:879:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 08h54.49 utc:879: gvmd: Another process is busy starting up
libgvm util:WARNING:2022-10-27 08h54.49 utc:533: server_new_internal: failed to set credentials key file: Error while reading file.
libgvm util:WARNING:2022-10-27 08h54.49 utc:533: server_new_internal:   cert file: /var/lib/gvm/CA/servercert.pem
libgvm util:WARNING:2022-10-27 08h54.49 utc:533: server_new_internal:   key file : /var/lib/gvm/private/CA/serverkey.pem
md   main:CRITICAL:2022-10-27 08h54.49 utc:533: gvmd: client server initialisation failed
md   main:MESSAGE:2022-10-27 08h54.50 utc:883:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:   INFO:2022-10-27 08h54.50 utc:883:    Getting users.
md manage:MESSAGE:2022-10-27 08h54.50 utc:883: No SCAP database found
md   main:MESSAGE:2022-10-27 08h54.57 utc:899:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:   INFO:2022-10-27 08h54.57 utc:899:    Modifying user password.
md manage:MESSAGE:2022-10-27 08h54.57 utc:899: No SCAP database found
md   main:MESSAGE:2022-10-27 09h01.14 utc:60:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:   INFO:2022-10-27 09h01.14 utc:60:    Migrating database.
md   main:MESSAGE:2022-10-27 09h01.15 utc:60: No SCAP database found for migration
md   main:   INFO:2022-10-27 09h01.15 utc:60: gvmd: databases are already at the supported version
md   main:MESSAGE:2022-10-27 09h03.18 utc:180:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:MESSAGE:2022-10-27 09h03.18 utc:181: No SCAP database found
md   main:MESSAGE:2022-10-27 09h03.18 utc:185:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.18 utc:185: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 09h03.19 utc:189:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.19 utc:189: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 09h03.20 utc:211:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.20 utc:211: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 09h03.21 utc:215:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.21 utc:215: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 09h03.22 utc:219:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.22 utc:219: gvmd: Another process is busy starting up
md   main:MESSAGE:2022-10-27 09h03.23 utc:223:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md   main:WARNING:2022-10-27 09h03.23 utc:223: gvmd: Another process is busy starting up
libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal: failed to set credentials key file: Error while reading file.
libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal:   cert file: /var/lib/gvm/CA/servercert.pem
libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal:   key file : /var/lib/gvm/private/CA/serverkey.pem
md   main:CRITICAL:2022-10-27 09h03.24 utc:181: gvmd: client server initialisation failed
md   main:MESSAGE:2022-10-27 09h03.24 utc:227:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:   INFO:2022-10-27 09h03.24 utc:227:    Getting users.
md manage:MESSAGE:2022-10-27 09h03.24 utc:227: No SCAP database found
md   main:MESSAGE:2022-10-27 09h03.30 utc:235:    Greenbone Vulnerability Manager version 22.4.0~dev1 (DB revision 250)
md manage:   INFO:2022-10-27 09h03.30 utc:235:    Modifying user password.
md manage:MESSAGE:2022-10-27 09h03.30 utc:235: No SCAP database found
root@d50eb5f10d7b:/var/log/gvm#

notus-scanner.log

2022-10-27 08:55:11,829 notus-scanner: INFO: (notus.scanner.daemon) Starting notus-scanner version 22.4.1.
2022-10-27 09:03:44,063 notus-scanner: INFO: (notus.scanner.daemon) Starting notus-scanner version 22.4.1.

openvas.log

libgvm util:MESSAGE:2022-10-27 08h59.26 utc:1342: Updated NVT cache from version 0 to 202210261013
libgvm util:MESSAGE:2022-10-27 09h08.09 utc:672: Updated NVT cache from version 0 to 202210261013

ospd-openvas.log

OSPD[1305] 2022-10-27 08:55:11,128: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[1305] 2022-10-27 08:55:11,148: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[1305] 2022-10-27 08:55:21,399: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait...
OSPD[1305] 2022-10-27 08:59:27,029: INFO: (ospd_openvas.daemon) Finished loading VTs. The VT cache has been updated from version 0 to 202210261013.
OSPD[624] 2022-10-27 09:03:43,325: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.2.
OSPD[624] 2022-10-27 09:03:43,352: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[624] 2022-10-27 09:03:53,622: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait...
OSPD[624] 2022-10-27 09:08:09,672: INFO: (ospd_openvas.daemon) Finished loading VTs. The VT cache has been updated from version 0 to 202210261013.

redis-server.log

88:C 27 Oct 2022 08:15:14.772 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
88:C 27 Oct 2022 08:15:14.772 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=88, just started
88:C 27 Oct 2022 08:15:14.772 # Configuration loaded
88:M 27 Oct 2022 08:15:14.781 # Server initialized
88:M 27 Oct 2022 08:15:14.781 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to/etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
12:C 27 Oct 2022 08:16:46.515 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:C 27 Oct 2022 08:16:46.515 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=12, just started
12:C 27 Oct 2022 08:16:46.515 # Configuration loaded
12:M 27 Oct 2022 08:16:46.523 # Server initialized
12:M 27 Oct 2022 08:16:46.523 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to/etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
20:C 27 Oct 2022 09:01:12.049 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
20:C 27 Oct 2022 09:01:12.050 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=20, just started
20:C 27 Oct 2022 09:01:12.050 # Configuration loaded
20:M 27 Oct 2022 09:01:12.054 # Server initialized
20:M 27 Oct 2022 09:01:12.054 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to/etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
FalcoGer commented 1 year ago

I run docker build -t openvas . from this git repo and now it works. I would've liked the one from docker hub to be working though, just to keep up to date.

immauss commented 1 year ago

That's curious. The one on docker hub is built from the same source. The automation pulls it before building, and it was built on Sunday morning.

Did you use the same options to start?

Also, for quicker starts, you can use the "-e SKIPSYNC=true" option.

it seems there was a problem setting the password at start.

libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal: failed to set credentials key file: Error while reading file.
libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal:   cert file: /var/lib/gvm/CA/servercert.pem
libgvm util:WARNING:2022-10-27 09h03.24 utc:181: server_new_internal:   key file : /var/lib/gvm/private/CA/serverkey.pem
md   main:CRITICAL:2022-10-27 09h03.24 utc:181: gvmd: client server initialisation failed

Looks like I may need to debug that.

would you mind trying the latest but without setting the password in the environment ?

Thanks, -Scott

FalcoGer commented 1 year ago

would you mind trying the latest but without setting the password in the environment ?

That worked.

immauss commented 1 year ago

Thanks. .... I'll see if I can figure this one out. I'll let you know. Thanks for finding this ...

andreasc1 commented 1 year ago

That worked.

With what credentials? because i am trying with admin:admin and doesn't log me in.

immauss commented 1 year ago

I've tried a number of times and I'm not able to recreate a condition where the password as specified at run time does not work. I have a few suspect ideas, most of which involve something else dying in the container. Can you try with the 21.4.05 tag? It has a more comprehensive healthecheck.sh which will tell us if something else has died in the container.

Thanks, Scott

immauss commented 1 year ago

If you are still having problems with this, please open a new issue.

Thank you, Scott