Re: [Openvas-discuss] Scanner Doesn't Start After Running Openvasmd --update

2017-12-12 Thread None
It appears there's an issue with his NVT cache not being generated as well.
I've experienced this myself where if the NVT cache has an issue, the
OpenVAS9 scanner won't launch. Sometimes this happens if the machine
running OpenVAS9 experienced a sudden power loss during a scan.


On Sun, Dec 10, 2017 at 7:00 AM, Christian Fischer <
christian.fisc...@greenbone.net> wrote:

> Hi,
>
> On 07.12.2017 22:01, Tyler Doman wrote:
> > ERROR: OpenVAS Scanner is NOT running!
> > FIX: Start OpenVAS Scanner (openvassd).
>
> your openvassd.messages might give you some pointers why the scanner is
> not starting anymore. Tools like strace are good debugging tools as well.
>
> Regards,
>
> --
>
> Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
> Greenbone Networks GmbH | http://greenbone.net
> Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
> Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
> ___
> Openvas-discuss mailing list
> Openvas-discuss@wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Scanner Doesn't Start After Running Openvasmd --update

2017-12-10 Thread Christian Fischer
Hi,

On 07.12.2017 22:01, Tyler Doman wrote:
>     ERROR: OpenVAS Scanner is NOT running!
>     FIX: Start OpenVAS Scanner (openvassd).

your openvassd.messages might give you some pointers why the scanner is
not starting anymore. Tools like strace are good debugging tools as well.

Regards,

--

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


[Openvas-discuss] Scanner Doesn't Start After Running Openvasmd --update

2017-12-07 Thread Tyler Doman
I'm running openvas on a kali linux server and after running the openvasmd 
--update and --rebuild commands, I can't get the scanner to start.

Typically when the scanner won't start, I run this command which fixes it but 
this time it doesn't: redis-cli -s /var/run/redis/redis.sock flushall

I tried replacing the scanner keys using openvas-manage-certs but that didn't 
allow it to start either.

Here's what the logs say:

/var/log/openvas/openvasmd.log
openvas_scanner_connect_unix: Failed to connect to scanner 
(/var/run/openvassd.sock): Connection refused

openvas-check-setup results:

Step 1: Checking OpenVAS Scanner ...
OK: OpenVAS Scanner is present in version 5.1.1.
OK: redis-server is present in version v=4.0.1.
OK: scanner (kb_location setting) is configured properly using the 
redis-server socket: /var/run/redis/redis.sock
OK: redis-server is running and listening on socket: 
/var/run/redis/redis.sock.
OK: redis-server configuration is OK and redis-server is running.
OK: NVT collection in /var/lib/openvas/plugins contains 56761 NVTs.
OK: Signature checking of NVTs is enabled in OpenVAS Scanner.
WARNING: The initial NVT cache has not yet been generated.
SUGGEST: Start OpenVAS Scanner for the first time to generate the cache.
Step 2: Checking OpenVAS Manager ...
OK: OpenVAS Manager is present in version 7.0.2.
OK: OpenVAS Manager database found in /var/lib/openvas/mgr/tasks.db.
OK: Access rights for the OpenVAS Manager database are correct.
OK: sqlite3 found, extended checks of the OpenVAS Manager installation 
enabled.
OK: OpenVAS Manager database is at revision 184.
OK: OpenVAS Manager expects database at revision 184.
OK: Database schema is up to date.
OK: OpenVAS Manager database contains information about 55640 NVTs.
OK: At least one user exists.
OK: OpenVAS SCAP database found in /var/lib/openvas/scap-data/scap.db.
OK: OpenVAS CERT database found in /var/lib/openvas/cert-data/cert.db.
OK: xsltproc found.
Step 3: Checking user configuration ...
WARNING: Your password policy is empty.
SUGGEST: Edit the /etc/openvas/pwpolicy.conf file to set a password 
policy.
Step 4: Checking Greenbone Security Assistant (GSA) ...
OK: Greenbone Security Assistant is present in version 7.0.2.
OK: Your OpenVAS certificate infrastructure passed validation.
Step 5: Checking OpenVAS CLI ...
OK: OpenVAS CLI version 1.4.5.
Step 6: Checking Greenbone Security Desktop (GSD) ...
SKIP: Skipping check for Greenbone Security Desktop.
Step 7: Checking if OpenVAS services are up and running ...
OK: netstat found, extended checks of the OpenVAS services enabled.
ERROR: OpenVAS Scanner is NOT running!
FIX: Start OpenVAS Scanner (openvassd).
OK: OpenVAS Manager is running and listening on all interfaces.
OK: Greenbone Security Assistant is listening on port 9392, which is 
the default port.

ERROR: Your OpenVAS-9 installation is not yet complete!


___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss