Discussion:
starting OpenVAS at boot time
Jack Harvey
2014-08-26 15:27:05 UTC
Permalink
I have been loading OpenVAS at boot-time (Ubuntu server 14.04) by having these lines in my /etc/rc.local file:

/etc/init.d/openvas-scanner start
/etc/init.d/openvas-manager rebuild
/etc/init.d/openvas-manager start
/etc/init.d/openvas-administrator start
/etc/init.d/greenbone-security-assistant start

If I don't have the "rebuild" line I get an ERROR when the "start" line executes.
The rebuild takes SEVERAL minutes and after the computer is completely booted and all components are started, an additional "rebuild" takes only 20 seconds or so.
I did try leaving out of the rc.local file and just manually executed each one...If I don't execute the "rebuild" I get the same ERROR.

Am I doing something wrong? Info appreciated.

Jack Harvey RHCE CISSP
Synnex Corporation
864-349-4939
Jan-Oliver Wagner
2014-09-02 19:25:28 UTC
Permalink
Post by Jack Harvey
I have been loading OpenVAS at boot-time (Ubuntu server 14.04) by having
/etc/init.d/openvas-scanner start
/etc/init.d/openvas-manager rebuild
/etc/init.d/openvas-manager start
/etc/init.d/openvas-administrator start
/etc/init.d/greenbone-security-assistant start
If I don't have the "rebuild" line I get an ERROR when the "start" line
executes. The rebuild takes SEVERAL minutes and after the computer is
completely booted and all components are started, an additional "rebuild"
takes only 20 seconds or so. I did try leaving out of the rc.local file
and just manually executed each one...If I don't execute the "rebuild" I
get the same ERROR.
Am I doing something wrong? Info appreciated.
Seems you are using an older OpenVAS version prior to OpenVAS-7 where
boot duration pretty short.

For older versions, Scanner consumes most of the time. The --rebuild is
blocked until Scanner is done with loading.
--
Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
Loading...