The scans were running fine for a few weeks, but they stopped a couple days
ago. OpenVAS 8 is running on CentOS 7. I created a script to automatically
update the NVTs as follows:

 

#!/bin/sh

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

/usr/sbin/openvas-nvt-sync | mail -s "OpenVAS NVT SYNC STATUS"
[email protected]

killall -s 1 openvassd

 

Crontab file:

0 18 * * *      /usr/local/bin/openvas-update.sh 2>&1
/tmp/CRONOUT-NVT-update.log;

 

I had accidentally created a task in UTC in lieu of CST, so the script ran
before a job was complete. This particular job was hung at 98% for two days
before I killed the process, but also after the script ran, no other jobs
would start up automatically. If I try to start them manually, the wheel
spins on the browser tab indefinitely, and eventually I have to log back
into the scanner. The tasks never start.

 

Here is what I see in the logs:

 

In gsad.log there are several of the following lines:

gsad main:WARNING:2016-09-14 19h27.45 UTC:3668: MHD: Failed to receive data:
The TLS connection was non-properly terminated.

gsad main:WARNING:2016-09-14 19h27.45 UTC:3668: MHD: Failed to receive data:
The TLS connection was non-properly terminated.

 

In openvasmd.log (just created a new task and tried to launch it 10 minutes
ago):

event task:MESSAGE:2016-09-14 19h28.39 UTC:4693: Task Test
(660694a2-cbe2-4d6a-aa12-b0c86e40eb24) has been created by admin

event task:MESSAGE:2016-09-14 19h28.53 UTC:4704: Task Test
(660694a2-cbe2-4d6a-aa12-b0c86e40eb24) has been modified by admin

 

Nothing new has been added to openvassd.log in 2 days since the problem
started.

 

I'm not sure what to do. Can anyone provide any guidance?

 

Thanks - baskervi

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to