falkowich / comments-sadsloth

1 stars 0 forks source link

post/install-gvm11-src-on-debian/ #8

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Install Greenbone Vulnerability Manager 11 on Debian 10.2 from source... · sadsloth.net

https://sadsloth.net/post/install-gvm11-src-on-debian/

mrcnpp commented 4 years ago

Ah that is the catch, should be owned by gvm itself. You did something wrong on the steps. chown gvm:gvm /opt/gvm/var/run/feed-update.lock is the hammer solution but you'll probably have more problems related

you are right now i have problems with the gsad module now i miss the /opt/gvm/var/lib/gvm/private folder

drmendes commented 4 years ago

Yes, better redo or follow the link I showed you

happyharrysco1 commented 3 years ago

HI and many thanks for the tutorial, unfortunately i have came across some issues when building openvas-smb

-- Install prefix: /opt/gvm -- Looking for xmltoman... -- Looking for xmltoman... /usr/bin/xmltoman -- Looking for xmlmantohtml... /usr/bin/xmlmantohtml -- Configuring done -- Generating done -- Build files have been written to: /opt/gvm/src/openvas-smb/build [ 1%] Generating IDL tables Scanning dependencies of target samba-static [ 1%] Generating IDL tables [ 2%] Building C object samba/CMakeFiles/samba-static.dir/librpc/gen_ndr/tables.c.o [ 2%] Linking C static library libsamba-static.a [ 91%] Built target samba-static [ 91%] Built target bin2c [ 91%] Linking C executable winexe /usr/bin/ld: cannot find -lunistring /usr/bin/ld: cannot find -lunistring collect2: error: ld returned 1 exit status make[2]: [winexe/CMakeFiles/winexe.dir/build.make:140: winexe/winexe] Error 1 make[1]: [CMakeFiles/Makefile2:151: winexe/CMakeFiles/winexe.dir/all] Error 2 make: [Makefile:152: all] Error 2 [ 1%] Generating IDL tables Scanning dependencies of target samba-static [ 1%] Generating IDL tables [ 2%] Building C object samba/CMakeFiles/samba-static.dir/librpc/gen_ndr/tables.c.o [ 2%] Linking C static library libsamba-static.a [ 91%] Built target samba-static [ 91%] Built target bin2c [ 91%] Linking C executable winexe /usr/bin/ld: cannot find -lunistring /usr/bin/ld: cannot find -lunistring collect2: error: ld returned 1 exit status make[2]: [winexe/CMakeFiles/winexe.dir/build.make:140: winexe/winexe] Error 1 make[1]: [CMakeFiles/Makefile2:151: winexe/CMakeFiles/winexe.dir/all] Error 2 make: [Makefile:152: all] Error 2

any idea what is up? this is a clean install of debian 10.10.0 and followed your instructions to a t from the start

trieye commented 3 years ago

I'm getting the same error as @happyharrysco1, also on a clean Debian 10.10

trieye commented 3 years ago

I could solve the "/usr/bin/ld: cannot find -lunistring" error by doing: sudo apt install libunistring-dev

cfi-gb commented 3 years ago

@trieye @happyharrysco1 If you're doing a fresh installation please install GVM-21.04 or 21.08 (GVM-11 is already EOL) by following this tutorial:

https://sadsloth.net/post/install-gvm-20_08-src-on-debian/

This already contains the updated info about this required package since https://github.com/falkowich/sadsloth_gvm_public/pull/3

cfi-gb commented 3 years ago

There is btw. now also an "official" installation documentation for GVM-21.04 available here:

https://community.greenbone.net/t/official-documentation-for-greenbone-source-edition/9592