-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not connect to Scanner. Interrupting scan because GVM is exiting. #53
Comments
Hi
Did not help |
Hi there, Humm, not sure what would be causing this. I seem to remember that /var/run/ospd/ospd.sock has to do with the redis server although I may be wrong about that. Does that file exist for you? If so, is it readable/writable for the 'gvm' user? If anyone else seeing this has any ideas please chime in. :) kev. |
I found that gvmd was looking for the socket at |
Thanks, I'll see about putting something in there to create that symlink
when I get a chance. It shouldn't hurt if it's not needed on other systems
I wouldn't think.
Kev.
…On Wed, Feb 16, 2022, 10:33 PM Anderson Manly ***@***.***> wrote:
I found that gvmd was looking for the socket at /var/run/ospd/ospd.sock,
but ospd-openvas is creating the socket at /var/run/ospd/ospd-openvas.sock.
I created the symlink /var/run/ospd/ospd.sock ->
/var/run/ospd/ospd-openvas.sock and restarted gvmd - seems to be working
fine. I am running Oracle Enterprise Linux 8.5
—
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKFY4LFZ6H4WFJCAW57HPTU3RUBPANCNFSM5BSPKS6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I was getting, "Could not connect to Scanner at /opt/gvm/run/ospd/ospd-openvas.sock" in the logs on a fresh install of 20.04. I did a "ln -s /opt/gvm/var/run/ospd.sock /opt/gvm/run/ospd/ospd-openvas.sock" and it started working. |
Cool, thanks for the info. I'll put it in next time I've got the code open.
🙂
Kev.
…On Mon, Feb 28, 2022, 12:32 PM marchwicki ***@***.***> wrote:
I was getting, "Could not connect to Scanner at
/opt/gvm/run/ospd/ospd-openvas.sock" in the logs on a fresh install of
20.04. I did a "ln -s /opt/gvm/var/run/ospd.sock
/opt/gvm/run/ospd/ospd-openvas.sock" and it started working.
—
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKFY4PLMVLWIDLO6QKF5JTU5OWRFANCNFSM5BSPKS6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Had the same issue on ubuntu 20.04. I had to create the directory |
I used the script to install the GVM21 version on a Debian 10 OS.
I followed the instruction to wait for 24 hours after the installation to finish the update. I also restarted the VM and apply the Port Scanner changes on the Scan Config based on the other issues encountered.
When I did a test scan I encounter the errors:
Could not connect to Scanner.
Interrupting scan because GVM is exiting.
This is also the result when I installed on a new Ubuntu 20.04 OS.
I also have a previous installation using the script on an Ubuntu 20.04 OS, and it works fine except that the References are not included on the .csv report. This is installed in a VirtualBox machine.
The other two that encountering this error are Debian 10 and Ubuntu 20.04 also that installed in a hypervisor. But that shouldn't affect right?
This is what I found on the gvmd.log.
What could be the solution for this?
The text was updated successfully, but these errors were encountered: