Host not available

Hi everyone
I have a problem since I installed openvas 20.08

I Can’t scan a host even when it is in the same network.
Scan reports are empty with a “Host not available” message.
I’ve been scanning it since ip 127.0.0.1 but it’s the same.

This is not a problem with “iptables”, there are no rules and the ping works between hosts.

Log message from journalctl -f
déc. 17 12:15:18 openvas systemd[1]: fprintd.service: Succeeded.
déc. 17 12:15:45 openvas python[143959]: sudo: it is necessary to enter a password
déc. 17 12:16:12 openvas systemd-timesyncd[739]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com).
déc. 17 12:16:23 openvas systemd-timesyncd[739]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com).
déc. 17 12:17:01 openvas CRON[146052]: pam_unix(cron:session): session opened for user root by (uid=0)
déc. 17 12:17:01 openvas CRON[146053]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
déc. 17 12:17:01 openvas CRON[146052]: pam_unix(cron:session): session closed for user root

Message log from ospd-scanner.log
OSPD[922] 2020-12-17 12:15:26,812: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[922] 2020-12-17 12:15:26,896: INFO: (ospd.ospd) Starting scan 9b47fe49-8266-42e3-ada0-85e7d26216b7.
OSPD[922] 2020-12-17 12:26:37,096: INFO: (ospd.ospd) 9b47fe49-8266-42e3-ada0-85e7d26216b7: Host scan finished.
OSPD[922] 2020-12-17 12:26:37,098: INFO: (ospd.ospd) 9b47fe49-8266-42e3-ada0-85e7d26216b7: Scan finished.

Do you have an idea where the problem might come from ?
Thank you in advance.

GVM versions

gsad: 20.08
gvmd: 20.08
openvas-scanner: 20.08

Environment

Operating system: Ubuntu 20.04
Kernel: 5.4.0-58-generic
Installation method / source: https://www.libellux.com/openvas/#install-openvas-20-08-from-source

You are running on a real host, no container, docker or what so ever and the OpenVAS-Scanner is running as root with all privileges and capabilities?

AppArmor or SELinux are both disabled ?

1 Like

Hi,

Thank for your help.
The problem is solved.
The problem was due to a version of python not compatible with the version of openvas that I had installed.

Phyton 3.7 was required while the installed version was python 3.8.

OpenVAS is not written in Python and has nothing to do with Python you mean the GVM OSPd or something else ?

1 Like