Trying to install GVM onto a centOS 7, when I try to start the gvmd service, I get this in the gvmd.log:
`md main:MESSAGE:2020-10-16 13h02.15 utc:23900: Greenbone Vulnerability Manager version 9.0.0 (DB revision 221)
md manage:WARNING:2020-10-16 13h02.15 utc:23900: sql_exec_internal: PQexec failed: ERROR: could not load library “/usr/lib64/libgvm-pg-server.so”: /opt/atomicorp/atomic/root/usr/lib64/libgpgme.so.11: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
(7)
md manage:WARNING:2020-10-16 13h02.15 utc:23900: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION hosts_contains (text, text) RETURNS boolean AS ‘/usr/lib64/libgvm-pg-server’, ‘sql_hosts_contains’ LANGUAGE C IMMUTABLE;
That seems to be a packaging and dependency error, please reports this back to the package maintainer. This uncoordinated integration is not supported here.
Hello all,
I am writing here because I am facing the exact same issue as the OP. However I compiled all Greenbone components from github sources and using the latest release (v20.8.1) and my OS is RHEL 7.9 (see versions and environment details below), and postgresql version 13.
When trying to start the gvmd service, it fails with the following logs in gvmd.log:
md manage:WARNING:2021-03-05 16h37.06 utc:31759: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION hosts_contains (text, text) RETURNS boolean AS '/opt/gvm/lib/libgvm-pg-server', 'sql_hosts_contains' LANGUAGE C IMMUTABLE;
md manage:WARNING:2021-03-05 16h37.06 utc:31759: sqlv: sql_exec_internal failed
md main:MESSAGE:2021-03-05 16h39.07 utc:31878: Greenbone Vulnerability Manager version 20.08.1~git-cda1613-HEAD (GIT revision cda1613-HEAD) (DB revision 233)
md manage:WARNING:2021-03-05 16h39.07 utc:31879: sql_exec_internal: PQexec failed: ERROR: could not load library "/opt/gvm/lib/libgvm-pg-server.so": /opt/gvm/lib/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
(7)
I understand that Greenbone isn’t providing any guarantee that it will work on another distribution than Debian, but in my case installing on Debian is unfortunately not an option. Therefore if someone has an idea of what could be the problem, or at least an idea of something to look for, any help would be really appreciated !
I don’t know if it helps but for information, I am able to start the gsad service.