Git Product home page Git Product logo

install-gvm21's Introduction

GVM Installer

cwiccs.org

Supported / tested on disro:

  • Ubuntu 20+

Script install GVM 21 from scratch:

  • Install dependences
  • Download sources from official repo
  • Build GVM and install
  • Download NVT and others data

Create cron update script

For updating GVM SecInfo database, script generate script:

/etc/cron.daily/sync_gvm.sh

Usage

Download / Clone repo:

git clone https://github.com/m0zgen/install-gvm21.git

cd to repo folder and run ans select needed GVM version 20 or 21 in clean installed Ubuntu:

./install.sh

Known issues

  • GSAD service can be long started on firs time, after install script show notice about this issue.

Additional docs

install-gvm21's People

Contributors

m0zgen avatar

Stargazers

 avatar

Watchers

 avatar

install-gvm21's Issues

Not working

Hi.
Doesn't work here on Ubuntu 20.04

(/var/log/gvm/gvmd.log):

md   main:MESSAGE:2022-01-14 08h00.44 utc:46951:    Greenbone Vulnerability Manager version 20.08.1 (DB revision 233)
md manage:WARNING:2022-01-14 08h00.44 utc:46952: sql_exec_internal: PQexec failed: ERROR:  could not load library "/usr/local/lib/li
bgvm-pg-server.so": /usr/local/lib/libgvm-pg-server.so: undefined symbol: elog_finish
 (7)
md manage:WARNING:2022-01-14 08h00.44 utc:46952: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION hosts_contains (text, text) RETU
RNS boolean AS '/usr/local/lib/libgvm-pg-server', 'sql_hosts_contains' LANGUAGE C IMMUTABLE;
md manage:WARNING:2022-01-14 08h00.44 utc:46952: sqlv: sql_exec_internal failed

and ther restarts every 2 minutes.
Also gsad is complaining, but I think it's a consequence of gvmd not starting

Postgres version is 14:

pg_lsclusters 
Ver Cluster Port Status Owner    Data directory              Log file
14  main    5432 online postgres /var/lib/postgresql/14/main /var/log/postgresql/postgresql-14-main.log

Tried both 21 and 20 scripts, but no luck.
Please suggest what one can do...

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.