Stefan

Your suggestion clears the problem with ability to log on to GSA. So i
manage to start the entire product set with the following sequence:
from terminal, as root

/etc/init.d/openvas-scanner start
openvasmd --database=/var/lib/openvas/mgr/tasks.db --listen=127.0.0.1
--port=9391 --slisten=127.0.0.1 --sport=9390
openvasad --listen=127.0.0.1 --port=9392 --users-dir=/var/lib/openvas/users
--scanner-config-file=/etc/openvas/openvassd.conf
--sync-script=/usr/sbin/openvas-nvt-sync
gsad --http-only --listen=127.0.0.1 --port=9393 --alisten=127.0.0.1
--aport=9392 --mlisten=127.0.0.1 --mport=9391

The initial issue of proper daemon starting through /etc/init.d is beyond
me. It seems as if the start-stop-daemon control cannot successfully start
the openvasmd, openvasad and gsad on Ubuntu 10.04

At first glance, with manual starting as above it is all working, but i
found two new issues:

1. Tried a couple of scans through GSA, and didn't manage to get any
vulnerabilities, although the client-scanner combo on the same machine
scanned the same target and found vulnerabilities. I will need to
investigate this further
2. At random intervals, something seems to fail, since without warning GSA
starts to require a password on an already authenticated session, and i need
to stop openvasad, openvasmd and gsad and restart them to remedy this. There
is nothing in the logs. I noticed the same issue on the official OpenVAS
virtual machine distro, although there at least the scanning works through
GSA.

Regards
Bozidar

On Mon, Jul 26, 2010 at 9:30 PM, Steefan Schwarz <[email protected]>wrote:

> Am 26.07.2010 20:23, schrieb Bozidar Spirovski:
>
>  Hi all
>> I installed OpenVAS packages for Ubuntu 10.04.
>>
>> I started the OpenVAS scanner and client, and managed to perform a scan
>>
>> But when i try to start openvas-manager, openvas-administrator and
>> greenbone-security-assistant i get an ERROR message.
>>
>> I managed to start them manually with the following commands
>> openvasad --listen=127.0.0.1 --port=9392
>> --users-dir=/var/lib/openvas/users
>> --scanner-config-file=/etc/openvas/openvassd.conf
>> --sync-script=/usr/sbin/openvas-nvt-sync
>>
>>
>> openvasmd --database=/var/lib/openvas/mgr/tasks.db --listen=127.0.0.1
>> --port=9391 --slisten=127.0.0.1 --sport=9390
>>
>>
>> gsad --listen=127.0.0.1 --port=9393 --alisten=127.0.0.1 --aport=9392
>> --mlisten=127.0.0.1 --mport=9391
>>
>> But I still cannot connect to port 9393, the browser offers me to save a
>> file instead of executing the bin file
>>
>> How to proceed?
>>
>>  []
> gsad still has problems with SSL, did you try:
> gsad --http-only ...
>
>        Stefan
>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
>
>


-- 
Spirovski Bozidar

http://www.shortinfosec.net
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to