Unable to launch gvmd (sqlv: sql_exec_internal failed)

@ayinuha,

The following worked for me:

Do as @bricks say. That means:

  1. Use a regular user for installation (do not use root).
  2. Once you have all the cloned repos locally, read the INSTALL.md files and follow the steps.
  3. If you do not know how to set up libraries/folder variables (DCMAKE_INSTALL_PREFIX, etc) before cmake/compilation, just use the suggested commands from the build folder.
$ cmake ..
$ make 
$ make install
  1. When running cmake, make or make install you will get some message stoppers, particularly if you have not set up the libraries/folder variables before running cmake/compilation. Some of them will look like can’t copy this file into there (during make install) or maybe missing packages. This is not blocking. Just give folder permissions and relaunch the command.

$ sudo chown -R <USER>:<GROUP> <YOUR_FOLDER>

  1. All the previous steps worked for me using the versions pointed out at GVM-10 (end-of-life, initial release 2019-04-05) - Greenbone Community Edition - Greenbone Community Forum.
  2. Maybe it is simpler if you use sqlite3 instead of postgresql during the first compilation.

Good luck :slight_smile: