But during the process the command to start the gvmd service failed with the below error
Aug 12 08:13:11 openvas systemd[1]: gvmd.service: Can’t open PID file /run/gvmd/gvmd.pid (yet?) after start: Operation not permitted
Aug 12 08:14:41 openvas systemd[1]: gvmd.service: start operation timed out. Terminating.
Aug 12 08:14:41 openvas systemd[1]: gvmd.service: Failed with result ‘timeout’.
My service file has the below content
[Unit]
Description=Greenbone Vulnerability Manager daemon (gvmd)
After=network.target networking.service postgresql.service ospd-openvas.service
Wants=postgresql.service ospd-openvas.service
Documentation=man:gvmd(8)
ConditionKernelCommandLine=!recovery
@cfi , thanks for the insight… I tried to check this… see the below error on the log file.
md manage:WARNING:2022-08-12 06h22.34 utc:3332: sql_exec_internal: SQL: SELECT value FROM public.meta WHERE name = ‘database_version’;
md manage:WARNING:2022-08-12 06h22.34 utc:3332: sql_x: sql_exec_internal failed
md manage:MESSAGE:2022-08-12 06h22.34 utc:3332: No SCAP database found
md manage:MESSAGE:2022-08-12 06h22.34 utc:3332: No CERT database found
md manage:MESSAGE:2022-08-12 06h22.34 utc:3332: db_extension_available: Extension ‘pg-gvm’ is not available.
md manage:WARNING:2022-08-12 06h22.34 utc:3332: check_db_extensions: A required extension is not available.
md manage:WARNING:2022-08-12 06h22.34 utc:3332: init_manage_create_functions: failed to create functions
Looks like there are indeed some steps missing from the documentation as pointed out by @Eero previously or there is a build issue in that step around pg-gvm:
@cfi@Eero I managed to start afresh and the services is running… But how can I access it to my browser? I deploy it to my server with an IP of 10.200.x.x
As the problem of the not starting gvmd service has been solved please mark this topic as solved and create a new topic for this new problem / question.