View Issue Details

IDProjectCategoryView StatusLast Update
0007433Kali LinuxKali Package Bugpublic2021-11-05 06:43
ReporterBLooDyRiZoW Assigned Tosbrun  
PriorityurgentSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2021.4 
Summary0007433: GVM is not installed
Description

I am running the sudo gvm-setup command. The GVM cannot create a user because the required file does not exist.

Attached Files
1.png (287,768 bytes)

Activities

BLooDyRiZoW

BLooDyRiZoW

2021-10-30 08:33

reporter   ~0015396

Gvmd logs.

image.png (232,475 bytes)   
image.png (232,475 bytes)   
AxelMahle

AxelMahle

2021-11-02 12:26

reporter   ~0015399

I have the same issue. It happens with a new installation.

BLooDyRiZoW

BLooDyRiZoW

2021-11-03 09:26

reporter   ~0015400

How did you solve the problem?

AxelMahle

AxelMahle

2021-11-03 09:33

reporter   ~0015401

I cannot solve the problem.
It looks like a conflict with postgre 13 and 14.

jb

jb

2021-11-03 17:05

reporter   ~0015403

After creating /run/gvm and chown it to _gvm, I can see

incompatible library "/usr/lib/libgvm-pg-server.so": version mismatch DETAIL: Server is version 14, library is version 13.

Unfortunately, I cannot post all details here

jb

jb

2021-11-03 17:07

reporter   ~0015404

I get blocked by SUCURI web firewall when trying to post all information I found, but let's try to get more across.
The above information was from /var/log/gvm/gvmd.log. Checking the postgres versions, I see

┌──(root�kali)-[~]
└─# cat /usr/share/gvmd/postgresql-version
14.0

pg_lsclusters Ver Cluster Port Status Owner Data directory Log file

13 main 5433 online postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log
14 main 5432 online postgres /var/lib/postgresql/14/main /var/log/postgresql/postgresql-14-main.log

During gvm-setup (now re-run), I see the same (not covered by the long download lists):
(gvmd:12710): md manage-WARNING **: 11:55:48.354: sql_exec_internal: PQexec failed: ERROR: incompatible library "/usr/lib/libgvm-pg-server.so": version mismatch
DETAIL: Server is version 14, library is version 13

jb

jb

2021-11-03 17:12

reporter   ~0015405

dpkg --list output for (hopefully) relevant packages
ii gvm 21.4.2.0 all remote network security auditor - metapackage and useful scripts
ii gvmd 21.4.4-0kali1 amd64 Manager Module of Greenbone Vulnerability Manager
ii greenbone-security-assistant 21.4.3-0kali1 amd64 remote network security auditor - web interface
ii greenbone-security-assistant-common 21.4.3-0kali1 all architecture independent files for greenbone-security-a>
ii libgvm21:amd64 21.4.2-2 amd64 remote network security auditor - shared libraries
ii openvas-scanner 21.4.2-1 amd64 remote network security auditor - scanner
ii ospd-openvas 21.4.3-1 all OSP server implementation to allow GVM to remotely control an OpenVAS Scanner

sbrun

sbrun

2021-11-04 08:14

manager   ~0015407

Thanks for the report.
FTR the postrgresql packages come from Debian Testing and the packages required for gvmd did not migrate at the same time in Debian Testing so in Kali too.

sbrun

sbrun

2021-11-04 08:18

manager   ~0015408

I will update the gvmd package for postgresql version 14 to fix this

jb

jb

2021-11-04 09:33

reporter   ~0015409

Great -- thanks!

sbrun

sbrun

2021-11-04 13:36

manager   ~0015410

I have updated the package. Please update your system.
The fixed versions are:

  • gvmd version 21.4.4-0kali2
  • postgresql-common version 231

You may need to upgrade the postgresql clusters to version 14 (see "/usr/share/doc/postgresql-common/README.Debian.gz", section "Default clusters and upgrading" for details)

Please let me know if you still have issues.

myoffset

myoffset

2021-11-04 13:50

reporter   ~0015411

I have compile from source and dependencies in other path,
after compile, I replace the new libgvm-pg-server.so.21.4.4 in the place of original /usr/lib/libgvm-pg-server.so.21.4.4.
And now, it’s work!

Bye

jb

jb

2021-11-04 14:59

reporter   ~0015412

Thanks a lot sbrun! I tried it and it just works (TM) now!

BLooDyRiZoW

BLooDyRiZoW

2021-11-04 18:28

reporter   ~0015413

sbrun thanks! Problem solved!

Issue History

Date Modified Username Field Change
2021-10-29 21:09 BLooDyRiZoW New Issue
2021-10-29 21:09 BLooDyRiZoW File Added: 1.png
2021-10-30 08:33 BLooDyRiZoW File Added: image.png
2021-10-30 08:33 BLooDyRiZoW Note Added: 0015396
2021-11-02 12:26 AxelMahle Note Added: 0015399
2021-11-03 09:26 BLooDyRiZoW Note Added: 0015400
2021-11-03 09:33 AxelMahle Note Added: 0015401
2021-11-03 17:05 jb Note Added: 0015403
2021-11-03 17:07 jb Note Added: 0015404
2021-11-03 17:12 jb Note Added: 0015405
2021-11-04 08:06 sbrun Assigned To => sbrun
2021-11-04 08:06 sbrun Status new => assigned
2021-11-04 08:14 sbrun Note Added: 0015407
2021-11-04 08:18 sbrun Note Added: 0015408
2021-11-04 09:33 jb Note Added: 0015409
2021-11-04 13:36 sbrun Note Added: 0015410
2021-11-04 13:50 myoffset Note Added: 0015411
2021-11-04 14:59 jb Note Added: 0015412
2021-11-04 18:28 BLooDyRiZoW Note Added: 0015413
2021-11-04 19:45 sbrun Status assigned => resolved
2021-11-04 19:45 sbrun Resolution open => fixed
2021-11-04 19:45 sbrun Fixed in Version => 2021.4