The scanning processed was stopped and I can see below error in gvmd.log file:
Could not connect to Scanner at /opt/gvm/var/run/ospd.sock
Can anybody know, why this happend and from where i can trace actual cause?
The scanning processed was stopped and I can see below error in gvmd.log file:
Could not connect to Scanner at /opt/gvm/var/run/ospd.sock
Can anybody know, why this happend and from where i can trace actual cause?
Not sure what you are asking for. If the scanner is not running you need to start it.
/opt/gvm/var/run/ospd.sock
is the unix socket used by gvmd and ospd-openvas to communicate. It is created by ospd-openvas on startup.
Thanks for reply
Below are the logs in gvmd.log file.
WARNING:2021-06-28 05h54.19 UTC:2759733: Could not connect to Scanner at /opt/gvm/var/run/ospd.sock
WARNING:2021-06-28 05h54.20 UTC:2742230: Could not connect to Scanner at /opt/gvm/var/run/ospd.sock
Below are the logs of /opt/gvm/var/log/gvm/openvas.log
redis connection error to /run/redis-openvas/redis.sock: Connection refused
I then manually start the openvas service for scanning
systemctl restart openvas
I guess there is something which cause service to stopped and thus getting about mentioned error
I then manually start the openvas service for scanning
systemctl restart openvas
I guess there is something which cause service to stopped and thus getting about mentioned error
This error means redis is not running. Please try systemctl start redis-server@openvas
The scanner service is named ospd-openvas. Therefore you should try systemctl start ospd-openvas
Hi
When I checked the status of service using below command then I can see its active
systemctl status redis-server@openvas
Response of above command
Active: active (running) since Mon 2021-06-28 11:13:42 UTC; 2h 28min ago
When i run below command then i got Unit ospd-openvas.service could not be found.
systemctl status ospd-openvas
Rather I can see active service when i run below command:
systemctl status openvas