Hi,
Getting the following error and stopped the scan at 0 percentage. Coukd you please help to resolve the issue. The issue on rockylinux8 server.
/var/log/gvm/ospd-scanner.log
OSPD[759] 2023-07-31 07:31:24,691: INFO: (ospd.command.command) Scan 4b012a77-2afd-4479-99e9-b37e3ddb27b4 added to the queue in position 1.
OSPD[759] 2023-07-31 07:31:26,729: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[759] 2023-07-31 07:31:27,036: INFO: (ospd.ospd) Starting scan 4b012a77-2afd-4479-99e9-b37e3ddb27b4.
OSPD[759] 2023-07-31 07:32:09,705: ERROR: (ospd_openvas.daemon) Task 4b012a77-2afd-4479-99e9-b37e3ddb27b4 was unexpectedly stopped or killed.
OSPD[759] 2023-07-31 07:32:09,710: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Host scan finished.
OSPD[759] 2023-07-31 07:32:09,712: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Host scan got interrupted. Progress: 0, Status: RUNNING
OSPD[759] 2023-07-31 07:32:09,712: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan interrupted.
OSPD[759] 2023-07-31 07:32:09,998: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan process is dead and its progress is 0
OSPD[759] 2023-07-31 07:32:09,999: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan interrupted.
OSPD[759] 2023-07-31 07:32:10,003: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan process is dead and its progress is 0
OSPD[759] 2023-07-31 07:32:10,003: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan interrupted.
OSPD[759] 2023-07-31 07:32:10,053: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan process is dead and its progress is 0
OSPD[759] 2023-07-31 07:32:10,053: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan interrupted.
OSPD[759] 2023-07-31 07:32:10,082: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan process is dead and its progress is 0
OSPD[759] 2023-07-31 07:32:10,083: INFO: (ospd.ospd) 4b012a77-2afd-4479-99e9-b37e3ddb27b4: Scan interrupted.
Here are some previous posts that address this issue. Perhaps they can provide some insight into a solution. However, I think that RockyLinux 8 (aka CentOS 8) may have some different library dependencies that are causing the problem.
I think is a problem related with the python encoding UTF-8
I will repeat all again, but this time, setting the language to “en_US.UTF-8” from the begining. I was using “es_CU” wich maybe, wich appears to not be compatible. I will post the results later
UPDATE
Well, the error persist after the changes
GLib-WARNING (recursed) **: Invalid UTF-8 passed to g_io_channel_write_chars().
I hope to get the attention of someone here
I’ll report you my experience, just posted in another thread.
A wise user told me that “even after you have fully synced the feeds, it takes gvm some time to ingest that data. I’ve seen it take anywhere from 15minutes to an hour depending on how much CPU/Memory you are throwing at it”.
I had been trying other tricks (could share some if necessary, but I don’t think they were solving anything), but in the end I guess that only waiting solved my issue.
1 Like
Still having issue. see the collations.
[postgres@acunetix-openvas-cloud ~]$ psql -l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------±---------±---------±------------±------------±----------------------
gvmd | gvm | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
Here is the latest logs
++++
/var/log/gvm/ospd-scanner.log
OSPD[759] 2023-08-02 09:26:49,538: INFO: (ospd.command.command) Scan fd6d4bc9-6a1c-442f-9fb6-e559681b631e added to the queue in position 1.
OSPD[759] 2023-08-02 09:26:58,108: INFO: (ospd.ospd) Currently 1 queued scans.
OSPD[759] 2023-08-02 09:26:58,349: INFO: (ospd.ospd) Starting scan fd6d4bc9-6a1c-442f-9fb6-e559681b631e.
OSPD[759] 2023-08-02 09:27:54,578: ERROR: (ospd_openvas.daemon) Task fd6d4bc9-6a1c-442f-9fb6-e559681b631e was unexpectedly stopped or killed.
++++
++++
/var/log/gvm/gvmd.log
event task:MESSAGE:2023-08-02 09h26.59 UTC:141485: Status of task local-task (90836c75-a6ee-4a18-a7c4-44fe1e6f7279) has changed to Running
event task:MESSAGE:2023-08-02 09h26.59 UTC:141485: Status of task local-task (90836c75-a6ee-4a18-a7c4-44fe1e6f7279) has changed to Running
event task:MESSAGE:2023-08-02 09h27.55 UTC:141485: Status of task local-task (90836c75-a6ee-4a18-a7c4-44fe1e6f7279) has changed to Interrupted
++++
journalctl -u gvmd.service -n 50
Aug 02 11:52:04 acunetix-openvas-cloud.net.tible.com systemd[1]: Starting GVM Manager…
Aug 02 11:52:04 acunetix-openvas-cloud.net.tible.com systemd[1]: gvmd.service: Can’t open PID file /var/run/gvmd/gvmd.pid (>
Aug 02 11:52:06 acunetix-openvas-cloud.net.tible.com systemd[1]: Started GVM Manager.
Also found this erro from log