admirito / gvm-containers

Greenbone Vulnerability Management Containers
86 stars 58 forks source link

Failed to find config 'daba56c8-73ec-11df-a475-002264764cea' #50

Open itsecforu opened 2 years ago

itsecforu commented 2 years ago

Hello! When adding a new task I get an error:

Failed to find config 'daba56c8-73ec-11df-a475-002264764cea'

containers list:

 docker ps
CONTAINER ID   IMAGE                         COMMAND                  CREATED        STATUS          PORTS                                   NAMES
dcbb2acdea0d   admirito/gsad:21              "docker-entrypoint.s…"   19 hours ago   Up 57 minutes   0.0.0.0:8080->80/tcp, :::8080->80/tcp   gvm-containers_gsad_1
3139803dd929   redis:5.0                     "docker-entrypoint.s…"   19 hours ago   Up 57 minutes   6379/tcp                                gvm-containers_redis_1
60756fe1d232   admirito/gvmd:21              "docker-entrypoint.s…"   19 hours ago   Up 57 minutes   9390/tcp                                gvm-containers_gvmd_1
1e7d2811d618   admirito/openvas-scanner:21   "/tini -- bash /usr/…"   19 hours ago   Up 57 minutes                                           gvm-containers_openvas_1
b89bc6a433fd   admirito/gvm-postgres:21      "docker-entrypoint.s…"   19 hours ago   Up 57 minutes   5432/tcp                                gvm-containers_gvm-postgres_1

gvmd.log:

md manage:WARNING:2021-11-14 06h57.15 utc:5957: init_manage_open_db: sql_open failed
md   main:MESSAGE:2021-11-14 06h57.15 utc:5962:    Greenbone Vulnerability Manager version 21.4.4 (DB revision 242)
md manage:   INFO:2021-11-14 06h57.15 utc:5962:    Getting users.
md manage:WARNING:2021-11-14 06h57.15 utc:5962: sql_open: PQconnectPoll failed
md manage:WARNING:2021-11-14 06h57.15 utc:5962: sql_open: PQerrorMessage (conn): could not connect to server: Connection refused
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 5432?
could not connect to server: Cannot assign requested address
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 5432?
md manage:WARNING:2021-11-14 06h57.15 utc:5962: init_manage_open_db: sql_open failed
itsecforu commented 2 years ago

Also tryed:

/usr/bin/greenbone-nvt-sync
/usr/sbin/greenbone-feed-sync
/usr/sbin/greenbone-certdata-sync
/usr/sbin/greenbone-scapdata-sync
dotw commented 2 years ago

please check #51