dgiorgio/gvm-docker

Error starting gsa

Opened this issue · 0 comments

When using docker-compose, I get this error in the gsa container which keeps on rebooting:

gsad - starting...
gsad main:CRITICAL:2022-08-26 13h04.03 utc:39: main: Could not write PID file.
gsad main:MESSAGE:2022-08-26 13h04.04 utc:37: Starting GSAD version 22.04.0~git
gsad main:CRITICAL:2022-08-26 13h04.04 utc:37: main: Could not write PID file.
gsad main:CRITICAL:2022-08-26 13h04.04 utc:40: main: Could not write PID file.
gsad main:MESSAGE:2022-08-26 13h04.05 utc:39: Starting GSAD version 22.04.0~git
gsad main:CRITICAL:2022-08-26 13h04.05 utc:39: main: Could not write PID file.
gsad main:CRITICAL:2022-08-26 13h04.05 utc:42: main: Could not write PID file.
gsad main:MESSAGE:2022-08-26 13h04.07 utc:39: Starting GSAD version 22.04.0~git
gsad main:CRITICAL:2022-08-26 13h04.07 utc:39: main: Could not write PID file.
gsad main:CRITICAL:2022-08-26 13h04.07 utc:42: main: Could not write PID file.
Oops, secure memory pool already initialized

Note I had to remove :rw,rshared from the volumes as I was unable to boot the containers otherwise.

With those in place, I get these errors:

ERROR: for gvm_gvm-redis_1  Cannot start service gvm-redis: path /run/gvm-docker/redis-socket is mounted on / but it is not a shared mount

ERROR: for gvm_gvm-postgres_1  Cannot start service gvm-postgres: path /run/gvm-docker/postgres-socket is mounted on / but it is not a shared mount

ERROR: for gvm-redis  Cannot start service gvm-redis: path /run/gvm-docker/redis-socket is mounted on / but it is not a shared mount

ERROR: for gvm-postgres  Cannot start service gvm-postgres: path /run/gvm-docker/postgres-socket is mounted on / but it is not a shared mount

Any input would be greatly appreciated.

OS: MacOS, Monterey

Thank you
Thomas