Hi,

FYI, I get the following error when running openvas-check-setup

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name
tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      
1368/zabbix_agentd
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      
16727/redis-server
tcp        0      0 0.0.0.0:9391            0.0.0.0:*               LISTEN      
16839/openvassd: Wa
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
2428/gsad
tcp        0      0 0.0.0.0:9392            0.0.0.0:*               LISTEN      
2427/gsad
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
1228/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      
2297/master
        OK: OpenVAS Scanner is running and listening on all interfaces.
        OK: OpenVAS Scanner is listening on port 9391, which is the default 
port.
        ERROR: OpenVAS Manager is NOT running!
        FIX: Start OpenVAS Manager (openvasmd).

but that is because on my recent CentOS 7 installation, openvasmd is listening 
on inet6 and the check-setup script is only looking for inet.

  OPENVASMD_HOST=`netstat -A inet -ntlp 2> /dev/null | grep openvasmd | awk -F\ 
 '{print $4}' | awk -F: '{print $1}'`
  OPENVASMD_PORT=`netstat -A inet -ntlp 2> /dev/null | grep openvasmd | awk -F\ 
 '{print $4}' | awk -F: '{print $2}'`


~]# netstat -npl | grep openvas
tcp        0      0 0.0.0.0:9391            0.0.0.0:*               LISTEN      
16839/openvassd: Wa
tcp6       0      0 :::9390                 :::*                    LISTEN      
17261/openvasmd

i.

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to