Dear Gerhard,

could you please execute 'ls -lah' in /var/lib/openvas/mgr/ and provide us the full output? Like Harald already said, this process requires some time and the ammount can vary depending
on the hardware capacities assigned to the machine.

Please use the basic command for rebuilding: openvasmd --rebuild
You can check if the manager is still rebuilding by launching 'htop',
now look in the 'command' tab and if the rebuild is still running, it will show the following entry:

openvasmd: rebuilding

As soon as this is gone, the process has completed.
If you still want to check if the scanner is running and a sock existant please do this in a single step, right before launching 'openvasmd --rebuild'. Here a short example how to: [ ! -f /var/run/openvassd.sock ] && echo "Scanner socket not up nor running"

If the problem still persists even after granting a generous ammount of waiting time for the rebuilding process, then we suggest to link us the output of the ls -lah command as suggested above.

Thank you very much.

Cheers,
Michael.



On 06.06.2017 20:15, Reindl Harald wrote:
Am 06.06.2017 um 19:18 schrieb Gerhard Mourani:
Hello,

Some generic information about my environment.
Linux CentOS 6.8
openvas-libraries version is 9.0.1
openvas-manger version is 7.0.1
openvas-scanner version is 5.1.1
openvas-gsa version is 7.0.2
OpenVAS compiled from source

When I run the following command -> /usr/bin/openvas-check-setup --v9
I receive the following error:
ERROR: No OpenVAS Manager database found. (Tried: /var/lib/openvas/mgr/tasks.db) FIX: Run 'openvasmd --rebuild' while OpenVAS Scanner is running.

So I run /usr/sbin/openvasmd --otp-scanner=/var/run/openvassd.sock --rebuild again and again with same result

and how long did you wait?

build/rebuild the database is nothing which finishes within seconds
_______________________________________________
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