Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0008813Kali LinuxKali Package Bugpublic2024-07-16 08:11
ReporterBosson015 Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionduplicate 
Summary0008813: Greenbone-Could not connect to Scanner
Description

After installing Greenbone (gvm), the first scan showed the error: Could not connect to scanner
Here's how to solve this problem

1) Go to the /run/ospd/ directory cd /run/ospd

2) Rename the socket file mv ospd.sock ospd-openvas.sock

3) Next, edit the configuration file ospd-openvas.conf. This is necessary because after the first two steps the scanning started, but after receiving the Running status it ended with an error. In the log file gvmd.log I found that the Scanner now wants to connect to a socket named ospd.sock, that is, by the old name. Therefore, open the /etc/gvm/ospd-openvas.conf file with any editor and change the unix_socket line as in the screenshot
confFile

4) If gvm was running before, then stop it gvm-stop

5) Be sure to restart the computer in any case, even if gvm was not running

I hope, like me, after the work done, you will get a positive result like here
fix1

fix2
GVM versions

gsa: Greenbone Security Assistant 22.9.1~git

gvm: Greenbone Vulnerability Manager 23.6.2

openvas-scanner: OpenVAS 23.4.1

gvm-libs: 22.10.0
Environment

Operating system: Linux kali 6.6.15-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.6.15-2kali1 (2024-05-17) x86_64 GNU/Linux

Installation method / source: (packages, source installation) apt-get install gvm

I described this problem in more detail here https://github.com/greenbone/gvmd/issues/2246

Attached Files
2024-07-01_22-25-47.png (10,470 bytes)   
2024-07-01_22-25-47.png (10,470 bytes)   

Relationships

duplicate of 0008812 new Greenbone-Could not connect to Scanner 

Activities

Issue History

Date Modified Username Field Change
2024-07-04 15:36 Bosson015 New Issue
2024-07-04 15:36 Bosson015 File Added: 2024-07-01_22-25-47.png
2024-07-16 08:11 daniruiz Assigned To => daniruiz
2024-07-16 08:11 daniruiz Status new => closed
2024-07-16 08:11 daniruiz Resolution open => duplicate
2024-07-16 08:11 daniruiz Relationship added duplicate of 0008812