i am a little confused about my gvmd.service.
-a 0.0.0.0 -p 9390 --osp-vt-update=/opt/gvm/var/run/ospd.sock
ExecReload=/bin/kill -HUP $MAINPID
when i add the
-p parameter, i am not able to login in my gsa anymore.
It says its not reacting.
What am i doing wrong?
If you change the gvmd so that it is listening on a TCP port instead of a unix socket then AFAIK you need to reconfigure the gsad to use that TCP port with something like e.g.:
Yes i did that too.
My gsad.service looks like
--mport=9390 --mlisten=126.96.36.199 --drop-privileges=gvm --ssl-private-key=/opt/gvm/sbin/private.pem --ssl-certificate=/opt/gvm/sbin/certificate.pem --timeout=3600 --munix-socket=/opt/gvm/var/run/gvmd.sock
so i am really confused why i cant login anymore
Probably something blocking the TCP communication (local firewall, SElinux, …).
Hm i checked this too. Local Firewall is even disabled. My TCP connections works but login into the webGUI is not possible anymore. This is really strange behaviour.
I hope someone has an idea how to fix this?
Change to a file socked connection.
Is there no easier way?
I dont know what it needs for getting that code working and this is not in the scope of this community i guess.
Yes use the Community Edition, that is turnkey.
Alright, thank you. If I don’t get this done I’ll use the community edition
Mhhh, have you tried to remove the
--munix-socket ? I’m not sure how gsad is behaving if that is specified in addition to the
Thank you, that was it! Works fine now