OpenVAS Scanner interrupted at 0%

Hi cfi. I have installed Kali Linux 2021.1 with GVM 21.4.0 via repositories and guess what…I get the same error after run the scan

Jun 22 11:35:34 gvm ospd-openvas[2896]: (process:2896): GLib-WARNING (recursed) **: Invalid UTF-8 passed to g_io_channel_write_chars().

After I downloaded all the feeds and configured de import owner, I did the next few steps:
1-Enter the GSA
2-Configure the timezone
3-Create the target
4-Create the scan task pointing to the target
5-Run the scan

gvm-check-setup 21.4.0
  Test completeness and readiness of GVM-21.4.0
Step 1: Checking OpenVAS (Scanner)...
        OK: OpenVAS Scanner is present in version 21.4.0.
        OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
        OK: _gvm owns all files in /var/lib/openvas/gnupg
        OK: redis-server is present.
        OK: scanner (db_address setting) is configured properly using the redis-server socket: /run/redis-openvas/redis.sock
        OK: redis-server is running and listening on socket: /run/redis-openvas/redis.sock.
        OK: redis-server configuration is OK and redis-server is running.
        OK: _gvm owns all files in /var/lib/openvas/plugins
        OK: NVT collection in /var/lib/openvas/plugins contains 69767 NVTs.
Checking that the obsolete redis database has been removed
Could not connect to Redis at /var/run/redis-openvas/redis-server.sock: No such file or directory
        OK: No old Redis DB
        OK: ospd-OpenVAS is present in version 21.4.0.
Step 2: Checking GVMD Manager ...
        OK: GVM Manager (gvmd) is present in version 21.4.0.
Step 3: Checking Certificates ...
        OK: GVM client certificate is valid and present as /var/lib/gvm/CA/clientcert.pem.
        OK: Your GVM certificate infrastructure passed validation.
Step 4: Checking data ...
        OK: SCAP data found in /var/lib/gvm/scap-data.
        OK: CERT data found in /var/lib/gvm/cert-data.
Step 5: Checking Postgresql DB and user ...
        OK: Postgresql version and default port are OK.
 gvmd      | _gvm     | UTF8     | C.UTF-8 | C.UTF-8 |
        OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) ...
Oops, secure memory pool already initialized
        OK: Greenbone Security Assistant is present in version 21.04.0~git.
Step 7: Checking if GVM services are up and running ...
        OK: ospd-openvas service is active.
        OK: gvmd service is active.
        OK: greenbone-security-assistant service is active.
Step 8: Checking few other requirements...
        OK: nmap is present in version 21.04.0~git.
        OK: ssh-keygen found, LSC credential generation for GNU/Linux targets is likely to work.
        OK: nsis found, LSC credential package generation for Microsoft Windows targets is likely to work.
        OK: xsltproc found.
        OK: The password policy file at /etc/gvm/pwpolicy.conf contains entries.

It seems like your GVM-21.4.0 installation is OK.

In the followinf lines you could see that I am using GVM 21.4.0:

 dpkg -l | grep gvm
    ii  gvm                                           all          remote network security auditor - metapackage and useful scripts
    ii  gvm-tools                             21.6.0-0kali1                   all          Remote control the Greenbone Vulnerability Manager
    ii  gvmd                                  21.4.0-0kali2                   amd64        Manager Module of Greenbone Vulnerability Manager
    ii  gvmd-common                           21.4.0-0kali2                   all          architecture independent files for Greenbone Vulnerability Manager
    ii  libgvm21:amd64                        21.4.0-0kali1                   amd64        remote network security auditor - shared libraries
    ii  python3-gvm                           21.5.2-0kali1                   all          Greenbone Vulnerability Management Python Library (Python 3)

The error occurs with “Full and fast” scan config

These setups work:

Well you are using open source for free. So you have pains of opensource. If you need silver bullet you have to pay for it. In this world where is no such thing as 100% free. You pay in time or money or different currency it is up to you which one you willing to pay.


You are doing a mistake, we think free as Freedom and not free as beer. Your post show that you are not aware of the concept of Open Source. GVM is free software and able to do complex setup. The source is available and gives everyone freedom. If the user can´t work with a uncoordinated integration or compile it self, the User can always use the community edition.

Support and GSF is still only available for paying customers.