Hi all,
I scanned a target and the task was interrupted. Before that I updated gvm-feed as it was deprecated (400+ old)
Following is the log from ospd-openvas.log
:
OSPD[171778] 2023-02-15 10:13:56,602: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.5.
OSPD[171778] 2023-02-15 10:13:56,609: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[171778] 2023-02-15 10:14:06,709: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait...
OSPD[171778] 2023-02-15 10:14:06,849: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[171778] 2023-02-15 10:14:06,850: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:06,850: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:06,850: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[171778] 2023-02-15 10:14:06,851: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[171778] 2023-02-15 10:14:06,851: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/mageia.notus due to invalid signature
OSPD[171778] 2023-02-15 10:14:06,946: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[171778] 2023-02-15 10:14:06,946: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:06,947: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:06,947: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[171778] 2023-02-15 10:14:06,947: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[171778] 2023-02-15 10:14:06,947: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/euleros.notus due to invalid signature
OSPD[171778] 2023-02-15 10:14:07,033: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[171778] 2023-02-15 10:14:07,034: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,035: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,035: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[171778] 2023-02-15 10:14:07,036: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[171778] 2023-02-15 10:14:07,036: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/ubuntu.notus due to invalid signature
OSPD[171778] 2023-02-15 10:14:07,059: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[171778] 2023-02-15 10:14:07,059: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,060: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,060: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[171778] 2023-02-15 10:14:07,060: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[171778] 2023-02-15 10:14:07,060: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/slackware.notus due to invalid signature
OSPD[171778] 2023-02-15 10:14:07,205: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[171778] 2023-02-15 10:14:07,206: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,206: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[171778] 2023-02-15 10:14:07,207: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[171778] 2023-02-15 10:14:07,207: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[171778] 2023-02-15 10:14:07,207: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/suse.notus due to invalid signature
OSPD[171778] 2023-02-15 10:15:17,319: INFO: (ospd.command.command) Scan f5bd34c5-7166-4dbe-8244-b368ccbf6cbf added to the queue in position 1.
OSPD[171778] 2023-02-15 10:15:59,074: INFO: (ospd_openvas.daemon) VTs were up to date. Feed version is 202302091018.
OSPD[171778] 2023-02-15 10:16:39,403: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[171778] 2023-02-15 10:16:39,559: INFO: (ospd.ospd) Starting scan f5bd34c5-7166-4dbe-8244-b368ccbf6cbf.
OSPD[171778] 2023-02-15 10:48:07,575: ERROR: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Exception Timeout reading from socket while scanning
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/redis/connection.py", line 421, in read_from_socket
bufflen = self._sock.recv_into(self._buffer)
TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ospd/ospd.py", line 596, in start_scan
self.exec_scan(scan_id)
File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 1203, in exec_scan
self.report_openvas_scan_status(kbdb, scan_id)
File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 777, in report_openvas_scan_status
all_status = kbdb.get_scan_status()
File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 606, in get_scan_status
return self._pop_list_items("internal/status")
File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 493, in _pop_list_items
return OpenvasDB.pop_list_items(self.ctx, name)
File "/usr/lib/python3/dist-packages/ospd_openvas/db.py", line 207, in pop_list_items
results, redis_return_code = pipe.execute()
File "/usr/lib/python3/dist-packages/redis/client.py", line 2078, in execute
return conn.retry.call_with_retry(
File "/usr/lib/python3/dist-packages/redis/retry.py", line 49, in call_with_retry
fail(error)
File "/usr/lib/python3/dist-packages/redis/client.py", line 2080, in <lambda>
lambda error: self._disconnect_raise_reset(conn, error),
File "/usr/lib/python3/dist-packages/redis/retry.py", line 46, in call_with_retry
return do()
File "/usr/lib/python3/dist-packages/redis/client.py", line 2079, in <lambda>
lambda: execute(conn, stack, raise_on_error),
File "/usr/lib/python3/dist-packages/redis/client.py", line 1933, in _execute_transaction
self.parse_response(connection, "_")
File "/usr/lib/python3/dist-packages/redis/client.py", line 2018, in parse_response
result = Redis.parse_response(self, connection, command_name, **options)
File "/usr/lib/python3/dist-packages/redis/client.py", line 1254, in parse_response
response = connection.read_response()
File "/usr/lib/python3/dist-packages/redis/connection.py", line 824, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
File "/usr/lib/python3/dist-packages/redis/connection.py", line 467, in read_response
self.read_from_socket()
File "/usr/lib/python3/dist-packages/redis/connection.py", line 436, in read_from_socket
raise TimeoutError("Timeout reading from socket")
redis.exceptions.TimeoutError: Timeout reading from socket
OSPD[171778] 2023-02-15 10:48:32,559: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Host scan got interrupted. Progress: 1, Status: RUNNING
OSPD[171778] 2023-02-15 10:48:32,569: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan interrupted.
OSPD[171778] 2023-02-15 10:48:32,619: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan process is dead and its progress is 1
OSPD[171778] 2023-02-15 10:48:32,620: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan interrupted.
OSPD[171778] 2023-02-15 10:48:32,967: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan process is dead and its progress is 1
OSPD[171778] 2023-02-15 10:48:32,969: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan interrupted.
OSPD[171778] 2023-02-15 10:48:33,131: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan process is dead and its progress is 1
OSPD[171778] 2023-02-15 10:48:33,133: INFO: (ospd.ospd) f5bd34c5-7166-4dbe-8244-b368ccbf6cbf: Scan interrupted.
OSPD[171778] 2023-02-15 11:14:40,710: INFO: (ospd.main) Shutting-down server ...
OSPD[218664] 2023-02-15 11:15:46,772: INFO: (ospd.main) Starting OSPd OpenVAS version 22.4.5.
OSPD[218664] 2023-02-15 11:15:46,780: INFO: (ospd_openvas.messaging.mqtt) Successfully connected to MQTT broker
OSPD[218664] 2023-02-15 11:15:56,874: INFO: (ospd_openvas.daemon) Loading VTs. Scans will be [requested|queued] until VTs are loaded. This may take a few minutes, please wait...
OSPD[218664] 2023-02-15 11:15:57,028: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[218664] 2023-02-15 11:15:57,029: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,029: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,030: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[218664] 2023-02-15 11:15:57,031: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[218664] 2023-02-15 11:15:57,031: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/mageia.notus due to invalid signature
OSPD[218664] 2023-02-15 11:15:57,131: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[218664] 2023-02-15 11:15:57,131: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,131: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,132: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[218664] 2023-02-15 11:15:57,132: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[218664] 2023-02-15 11:15:57,132: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/euleros.notus due to invalid signature
OSPD[218664] 2023-02-15 11:15:57,230: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[218664] 2023-02-15 11:15:57,231: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,231: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,231: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[218664] 2023-02-15 11:15:57,232: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[218664] 2023-02-15 11:15:57,232: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/ubuntu.notus due to invalid signature
OSPD[218664] 2023-02-15 11:15:57,253: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[218664] 2023-02-15 11:15:57,253: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,254: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,254: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[218664] 2023-02-15 11:15:57,254: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[218664] 2023-02-15 11:15:57,254: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/slackware.notus due to invalid signature
OSPD[218664] 2023-02-15 11:15:57,406: WARNING: (gnupg) potential problem: ERROR: add_keyblock_resource 33587201
OSPD[218664] 2023-02-15 11:15:57,406: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,407: WARNING: (gnupg) potential problem: ERROR: keydb_search 33554445
OSPD[218664] 2023-02-15 11:15:57,407: WARNING: (gnupg) gpg returned a non-zero error code: 2
OSPD[218664] 2023-02-15 11:15:57,407: WARNING: (ospd_openvas.notus) GPG verification of notus sha256sums failed. Notus advisories are not loaded.
OSPD[218664] 2023-02-15 11:15:57,407: WARNING: (ospd_openvas.notus) ignoring /var/lib/notus/advisories/suse.notus due to invalid signature
OSPD[218664] 2023-02-15 11:17:48,223: INFO: (ospd_openvas.daemon) VTs were up to date. Feed version is 202302091018.
I was trying to update my gvm from 20.04 to 22.4, clone my task, but it still didn’t work
In fact, in the old task, the scanner stopped at 22%, the cloned task stops at 1%
System Kali Linux
GVM-22.4.1
OpenVAS Scanner 22.4.1
Notus Scanner 22.4.2
ospd-OpenVAS 22.4.5
GVM Manager 22.4.2