I've had this issue for a few days now after performing a yum update, I have already posted to the openvas-discuss mailing list before but to no avail.

The web interface says "Service Unavailable and the OMP interface says "Failed to acquire socket". The gsad, redis, openvas-scanner and openvas-manager services are running and they are listening on the correct ports.

Before the update the installation worked perfectly

netstat -ntpl
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 50010/redis-server tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 49995/gsad tcp 0 0 0.0.0.0:9392 0.0.0.0:* LISTEN 49994/gsad tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 870/dnsmasq tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1430/sshd
tcp6       0      0 :::111 :::*                    LISTEN      1/systemd
tcp6       0      0 :::53 :::*                    LISTEN      870/dnsmasq
tcp6       0      0 :::22 :::*                    LISTEN      1430/sshd

systemctl status gsad/redis/openvas-scanner/openvas-manager
● gsad.service - OpenVAS Manager
Loaded: loaded (/usr/lib/systemd/system/gsad.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-05-09 17:13:30 BST; 5min ago
Process: 49992 ExecStart=/usr/sbin/gsad --listen $GSA_ADDRESS --port $GSA_PORT $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 49994 (gsad)
   CGroup: /system.slice/gsad.service
           ├─49994 /usr/sbin/gsad --listen 0.0.0.0 --port 9392
           └─49995 /usr/sbin/gsad --listen 0.0.0.0 --port 9392

May 09 17:13:30 cesvm1 systemd[1]: Starting OpenVAS Manager...
May 09 17:13:30 cesvm1 systemd[1]: Started OpenVAS Manager.
● redis.service - Redis persistent key-value database
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/redis.service.d
           └─limit.conf
   Active: active (running) since Tue 2017-05-09 17:13:31 BST; 5min ago
Process: 50004 ExecStop=/usr/bin/redis-shutdown (code=exited, status=0/SUCCESS)
 Main PID: 50010 (redis-server)
   CGroup: /system.slice/redis.service
           └─50010 /usr/bin/redis-server 127.0.0.1:6379

May 09 17:13:31 cesvm1 systemd[1]: Started Redis persistent key-value database. May 09 17:13:31 cesvm1 systemd[1]: Starting Redis persistent key-value database...
● openvas-scanner.service - OpenVAS Scanner
Loaded: loaded (/usr/lib/systemd/system/openvas-scanner.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-05-09 17:13:34 BST; 5min ago
Process: 50020 ExecStart=/usr/sbin/openvassd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 50021 (openvassd)
   CGroup: /system.slice/openvas-scanner.service
           └─50021 openvassd: Waiting for incoming connections

May 09 17:13:34 cesvm1 systemd[1]: Unit openvas-scanner.service entered failed state.
May 09 17:13:34 cesvm1 systemd[1]: openvas-scanner.service failed.
May 09 17:13:34 cesvm1 systemd[1]: Starting OpenVAS Scanner...
May 09 17:13:34 cesvm1 systemd[1]: Started OpenVAS Scanner.
● openvas-manager.service - OpenVAS Manager
Loaded: loaded (/usr/lib/systemd/system/openvas-manager.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-05-09 17:13:34 BST; 5min ago
Process: 50030 ExecStart=/usr/sbin/openvasmd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 50031 (openvasmd)
   CGroup: /system.slice/openvas-manager.service
           └─50031 openvasmd

May 09 17:13:34 cesvm1 systemd[1]: Starting OpenVAS Manager...
May 09 17:13:34 cesvm1 systemd[1]: Started OpenVAS Manager.


--

Mathew Shires

------------------------------------------------------------------------------

NQC Logo

NQC Ltd
1 George Leigh Street, Manchester, M4 5DL, United Kingdom
Support Centre +44 (0) 845 299 2994
Find out more on youtube.com/nqccom <http://youtube.com/nqccom>
© 2003 - 2016 NQC Ltd. (04854362) All Rights Reserved.

-------------------------------------------------------------------------------

This email and any attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please delete this e-mail immediately and neither take any action based upon its contents, nor copy, use, print, distribute or disseminate it or any information contained in it.

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

Reply via email to