Hi Ryan, thanks for the quick answer!

I tried to follow the "howto" and the install instructions for each packet.
Finally, when I run the openvas-check-setup, I got the following result:


> # . /openvas-check-setup --v8
> openvas-check-setup 2.3.3
>   Test completeness and readiness of OpenVAS-8
>   (add '--v6' or '--v7' or '--v9'
>    if you want to check for another OpenVAS version)
>   Please report us any non-detected problems and
>   help us to improve this check routine:
>   http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
>   Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the
> problem.
>   Use the parameter --server to skip checks for client tools
>   like GSD and OpenVAS-CLI.
> Step 1: Checking OpenVAS Scanner ...
>         OK: OpenVAS Scanner is present in version 5.0.4.
>         OK: OpenVAS Scanner CA Certificate is present as
> /usr/local/var/lib/openvas/CA/cacert.pem.
>         OK: redis-server is present in version v=2.8.4.
>         OK: scanner (kb_location setting) is configured properly using the
> redis-server socket: /tmp/redis.sock
>         OK: redis-server is running and listening on socket:
> /tmp/redis.sock.
>         OK: redis-server configuration is OK and redis-server is running.
>         OK: NVT collection in /usr/local/var/lib/openvas/plugins contains
> 44735 NVTs.
>         WARNING: Signature checking of NVTs is not enabled in OpenVAS
> Scanner.
>         SUGGEST: Enable signature checking (see
> http://www.openvas.org/trusted-nvts.html).
>         OK: The NVT cache in /usr/local/var/cache/openvas contains 44735
> files for 44735 NVTs.
> Step 2: Checking OpenVAS Manager ...
>         OK: OpenVAS Manager is present in version 6.0.6.
>         OK: OpenVAS Manager client certificate is present as
> /usr/local/var/lib/openvas/CA/clientcert.pem.
>
> *        ERROR: No OpenVAS Manager database found. (Tried:
> /usr/local/var/lib/openvas/mgr/tasks.db)**        FIX: Run 'openvasmd
> --rebuild' while OpenVAS Scanner is running.*
>  ERROR: Your OpenVAS-8 installation is not yet complete!




Then, when I tried to run the command "openvasmd --rebuild', It shows the
following error:

# openvasmd --rebuild -v --progress
> *Rebuilding NVT cache... failed.*


Besides, I can't find task.db file.

Any ideas?

Best regards.
Julián.




2015-12-10 0:03 GMT-03:00 Ryan Schulze <[email protected]>:

> If you are doing a clean source install it's pretty straightforward
> following the openvas-manager/doc/postgres-HOWTO document. You probably
> won't find much information googling since smaller installations do fine
> with sqlite and larger installations may not want to play around with it
> yet since it is still work-in-progess.
> I've never tried it on a Kali installation, but for my ubuntu servers it
> was just "install postgresql, compile manager with postgresql support,
> grant database permissions, activate uuid-ossp extension in postgresql,
> make sure ld knew the path to the openvas libraries"
>
> Migrating existing data from sqlite to postgresql can be complicated since
> the script doesn't work for all openvas db versions (only versions 133-136
> if I remember correctly). I just exported everything*) using the OMP
> protocol from a sqlite backend manager and imported it to the postgresql
> backend manager.
>
> *) "everything" in my case not including the ssh credentials (the private
> key can't be exported via OMP, but it can be imported. so you would have to
> extract it form the database manually if you need it).
>
>
>
>
>
> On 12/9/2015 11:09 AM, Julian wrote:
>
> Hi!, I have been trying to install openvas with postgresql support but
> with a lot of troubles.
>
> I installed a fresh kali and last stable openvas from bin / from sources,
> I applied the migration tool too but with a lot of errors.
>
> I can't find any guide or something googling or reviewing the mailing list.
>
> What is the recommended tasklist to install it?  Could you tell me some
> few steps to start again?
> Any comment will be appreciated!!
> Best regards.
>
> Julian.
>
>
> _______________________________________________
> Openvas-discuss mailing 
> [email protected]https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
>
>
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to