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

No have GVMD Unix Socket problem #166

Closed hanlihub closed 1 year ago

hanlihub commented 1 year ago

gvm.errors.GvmError: Socket /run/gvmd/gvmd.sock does not exist

immauss commented 1 year ago

Can you please provide more detail for the problem?

How did you start the container? What container environment and version are you using? Please provide the full log output from : docker logs < container name >

Did you get this message on the initial container start, or after it had run for some time?

This error usually resolves as a permission error or other conditions that cause gvmd to die. Make sure you have at least 512MB of memory available in the container.

Thanks, Scott

hanlihub commented 1 year ago

expose the GVM port by adding to the docker run command.--publish 9390:9390, to use TLSConnection can be solved。 Refer to this link,https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/issues/46

immauss commented 1 year ago

Also here: https://github.com/immauss/openvas/issues/165

But I need to add this into my current Docs.

Thanks for the follow up.

Thank you, Scott

kun823 commented 1 year ago

i need use UNIXSOCKETCONNECTION of python ,but i cannot find gvmd.sock

immauss commented 1 year ago

added a section on scripting to the docs.