[Openvas-discuss] Can't start openvassd because "*.nasl: Failed to load" and failed to run "openvasmd" because "failed to initialise OMP daemon"

Haifeng Li hfli at netitest.com
Mon Apr 30 15:52:51 CEST 2018


Hi All,

 

I want to run openvas on CentOS 7, All of openvas check has passed except
starting openvassd and openvasmd, I can't start openvassd because "*.nasl:
Failed to load", and failed to run "openvasmd" because "failed to initialise
OMP daemon", can anyone help me for this?

 

Please see more information below and enclosed "openvas-check-setup.log",
thanks a lot.

 

root:/# openvas-check-setup --v9

openvas-check-setup 2.3.7

  Test completeness and readiness of OpenVAS-9

 

  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.1.1.

        OK: redis-server is present in version v=3.2.10.

        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 /var/lib/openvas/plugins contains 44675 NVTs.

        WARNING: Signature checking of NVTs is not enabled in OpenVAS
Scanner.

        SUGGEST: Enable signature checking (see
http://www.openvas.org/trusted-nvts.html).

        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 44649 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).

        ERROR: OpenVAS Manager is NOT running!

        FIX: Start OpenVAS Manager (openvasmd).

        ERROR: Greenbone Security Assistant is NOT running!

        FIX: Start Greenbone Security Assistant (gsad).

 

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

 

Please follow the instructions marked with FIX above and run this

script again.

 

If you think this result is wrong, please report your observation

and help us to improve this check routine:

http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Please attach the log-file (/tmp/openvas-check-setup.log) to help us analyze
the problem.

 

root:/#

root:/# openvassd

root:/# cat /var/log/openvas/openvassd.log 

[Mon Apr 30 13:39:30 2018][3933] vnc_security_types.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] telnetserver_detect_type_nd_version.nasl:
Failed to load

[Mon Apr 30 13:39:30 2018][3933] sw_tumbleweed_securetransport_detect.nasl:
Failed to load

[Mon Apr 30 13:39:30 2018][3933] sw_tableau_server_detect.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] sw_ssl_cert_get_hostname.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] sw_policyd-weight_detect.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] sw_pagespeed_modules_detect.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] sw_netstat_service_detect.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] sw_ms_exchange_server_remote_detect.nasl:
Failed to load

[Mon Apr 30 13:39:30 2018][3933] webmedia_explorer_detect.nasl: Failed to
load

[Mon Apr 30 13:39:30 2018][3933] webcalendar_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] vmware_server_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] vbulletin_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] unknown_services.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] TorrentTrader_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] zone_alarm_local_dos.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] znc_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] zabbix_web_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] zabbix_detect.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] yppasswdd.nasl: Failed to load

[Mon Apr 30 13:39:30 2018][3933] Stopped loading plugins: High number of
errors.

root:/# openvasmd --rebuild --progress

Rebuilding NVT cache... failed.

root:/# cat /var/log/openvas/openvasmd.log 

md   main:MESSAGE:2018-04-30 13h38.37 utc:3835:    OpenVAS Manager version
7.0.2 (DB revision 184)

md manage:   INFO:2018-04-30 13h38.37 utc:3835:    Getting users.

md   main:MESSAGE:2018-04-30 13h40.00 utc:3956:    OpenVAS Manager version
7.0.2 (DB revision 184)

md   main:   INFO:2018-04-30 13h40.00 utc:3956: rebuild_nvt_cache_retry:
Reloading NVT cache

md   main:   INFO:2018-04-30 13h40.00 utc:3957: update_or_rebuild_nvt_cache:
Rebuilding NVT cache

base gpgme:MESSAGE:2018-04-30 13h40.00 utc:3957: Setting GnuPG dir to
'/var/lib/openvas/openvasmd/gnupg'

base gpgme:MESSAGE:2018-04-30 13h40.00 utc:3957: Using OpenPGP engine
version '[?]'

md  crypt:WARNING:2018-04-30 13h40.00 utc:3957: error starting search for
OpenPGP key 'OpenVAS Credential Encryption': Invalid crypto engine <GPGME>

md   main:CRITICAL:2018-04-30 13h40.00 utc:3957:
update_or_rebuild_nvt_cache: failed to initialise OMP daemon

root:/# omp --version

OMP Command Line Interface 1.4.5

Copyright (C) 2010-2016 Greenbone Networks GmbH

License GPLv2+: GNU GPL version 2 or later

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

root:/# ls /lib64/libgcrypt.so.11 -l

lrwxrwxrwx    1 root     root            19 Apr 30 10:11
/lib64/libgcrypt.so.11 -> libgcrypt.so.11.8.2

root:/# uname -a

Linux localhost.localdomain 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4
23:52:40 UTC 2017 x86_64 GNU/Linux

root:/#

 

 

Regards,

Haifeng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20180430/8e8336f3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openvas-check-setup.log
Type: application/octet-stream
Size: 6250 bytes
Desc: not available
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20180430/8e8336f3/attachment.log>


More information about the Openvas-discuss mailing list