OpenVAS 9 not working after yum update.

Support/Development for OpenVAS
Matty
New Forum User
New Forum User
Posts: 2
Joined: Tue May 09, 2017 12:37 pm
Location: England

OpenVAS 9 not working after yum update.

Unread post by Matty »

I've had this issue for a few days now after performing a yum update.

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

omp -p 9392 -u admin -w {redacted} -G -v

Code: Select all

WARNING: Verbose mode may reveal passwords!

Will try to connect to host 127.0.0.1, port 9392...

(omp:49943): lib  serv-WARNING **: Failed to connect to server
Failed to acquire socket.
netstat -ntpl

Code: Select all

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

Code: Select all

● 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:27:18 BST; 17min ago
  Process: 50416 ExecStart=/usr/sbin/gsad --listen $GSA_ADDRESS --port $GSA_PORT $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 50417 (gsad)
   CGroup: /system.slice/gsad.service
           ├─50417 /usr/sbin/gsad --listen 0.0.0.0 --port 9392
           └─50418 /usr/sbin/gsad --listen 0.0.0.0 --port 9392

May 09 17:27:18 cesvm1 systemd[1]: Starting OpenVAS Manager...
May 09 17:27:18 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:26:41 BST; 18min ago
  Process: 50356 ExecStop=/usr/bin/redis-shutdown (code=exited, status=0/SUCCESS)
 Main PID: 50362 (redis-server)
   CGroup: /system.slice/redis.service
           └─50362 /usr/bin/redis-server 127.0.0.1:6379

May 09 17:26:41 cesvm1 systemd[1]: Started Redis persistent key-value database.
May 09 17:26:41 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:26:44 BST; 18min ago
  Process: 50371 ExecStart=/usr/sbin/openvassd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 50372 (openvassd)
   CGroup: /system.slice/openvas-scanner.service
           └─50372 openvassd: Waiting for incoming connections

May 09 17:26:44 cesvm1 systemd[1]: openvas-scanner.service failed.
May 09 17:26:44 cesvm1 systemd[1]: Starting OpenVAS Scanner...
May 09 17:26:44 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:26:44 BST; 18min ago
  Process: 50381 ExecStart=/usr/sbin/openvasmd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 50382 (openvasmd)
   CGroup: /system.slice/openvas-manager.service
           └─50382 openvasmd

May 09 17:26:44 cesvm1 systemd[1]: Starting OpenVAS Manager...
May 09 17:26:44 cesvm1 systemd[1]: Started OpenVAS Manager.
Any help would be much appreciated.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: OpenVAS 9 not working after yum update.

Unread post by scott »

It looks like gsad is running on both 80 & 9392, did you try restarting it?
Matty
New Forum User
New Forum User
Posts: 2
Joined: Tue May 09, 2017 12:37 pm
Location: England

Re: OpenVAS 9 not working after yum update.

Unread post by Matty »

Yes and it made no difference, even restarted the entire system.
Post Reply