Subject: [Openvas-discuss] Run Tasks Schedule in OpenVAS on
CentOS7



Hello Everyone,
I have OPENVAS9 on CentOS7.
See below error mensages in red. Any solution or advice on how to fix ?
thank you,

Josemar
Brazil

-----------
[[email protected] ~]# tail -f /var/log/openvas/openvasmd.log
md manage:WARNING:2017-08-11 17h19.06 utc:20166: database must be initialised from scanner (with --update or --rebuild)
md   main:MESSAGE:2017-08-11 17h19.07 utc:20167:    OpenVAS Manager version 7.0.2 (DB revision 184)
md   main:   INFO:2017-08-11 17h19.07 utc:20167: rebuild_nvt_cache_retry: Reloading NVT cache
md   main:   INFO:2017-08-11 17h19.07 utc:20168: update_or_rebuild_nvt_cache: Updating NVT cache
base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Setting GnuPG dir to '/var/lib/openvas/openvasmd/gnupg'
base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Using OpenPGP engine version '2.0.22'
md   main:   INFO:2017-08-11 17h19.07 utc:20168:    Updating NVT cache.
md   main:MESSAGE:2017-08-11 17h23.49 utc:20375:    OpenVAS Manager version 7.0.2 (DB revision 184)
md manage:   INFO:2017-08-11 17h23.49 utc:20375:    Getting users.
event schedule:MESSAGE:2017-08-11 14h25.53 -03:20764: Schedule diario (cb21b1b7-0d36-4355-ad56-ab2017fbecc1) has been created by admin
event target:MESSAGE:2017-08-11 14h26.42 -03:20781: Target localhost (ea2b6c9a-6e76-41f5-8639-7a18a73295c2) has been created by admin
event task:MESSAGE:2017-08-11 14h27.15 -03:20796: Status of task  (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has changed to New
event task:MESSAGE:2017-08-11 14h27.16 -03:20796: Task localhost (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has been created by admin
event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Task localhost (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) could not be resumed by admin
event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Status of task localhost (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has changed to Requested
event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Task localhost (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has been requested to start by admin
md manage:WARNING:2017-08-11 14h30.23 -03:20838: sql_prepare_internal: sqlite3_prepare failed: near "(": syntax error
md manage:WARNING:2017-08-11 14h30.23 -03:20838: init_iterator: sql_prepare failed
md manage:WARNING:2017-08-11 14h30.23 -03:20838: manage_cleanup_process_error: Error exit, setting running task to Internal Error
md manage:WARNING:2017-08-11 14h30.23 -03:20838: sql_prepare_internal: sqlite3_prepare failed: near "(": syntax error
md manage:WARNING:2017-08-11 14h30.23 -03:20838: init_iterator: sql_prepare failed
-------------------------------

[[email protected] ~]# 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.0.7.
        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 54512 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 /var/cache/openvas contains 54512 files for 54512 NVTs.
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 54512 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.
        OK: OpenVAS Scanner is running and listening on a Unix domain socket.
        OK: OpenVAS Manager is running and listening on a Unix domain socket.
        OK: Greenbone Security Assistant is listening on port 80, which is the default port.
Step 8: Checking nmap installation ...
        WARNING: Your version of nmap is not fully supported: 6.47
        SUGGEST: You should install nmap 5.51 if you plan to use the nmap NSE NVTs.
Step 10: Checking presence of optional tools ...
        OK: pdflatex found.
        WARNING: PDF generation failed, most likely due to missing LaTeX packages. The PDF report format will not work.
        SUGGEST: Install required LaTeX packages.
        OK: ssh-keygen found, LSC credential generation for GNU/Linux targets is likely to work.
        OK: rpm found, LSC credential package generation for RPM based targets is likely to work.
        WARNING: Could not find alien binary, LSC credential package generation for DEB based targets will not work.
        SUGGEST: Install alien.
        OK: nsis found, LSC credential package generation for Microsoft Windows targets is likely to work.
        OK: SELinux is disabled.

It seems like your OpenVAS-9 installation is OK.

If you think it is not OK, 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.

[[email protected] ~]#

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



Programming list archiving by: Enterprise Git Hosting