Results 1 to 4 of 4

Thread: GVM installation problems

  1. #1
    Join Date
    2017-May
    Posts
    3

    GVM installation problems

    When running gvm-check-setup (GVM 11 installation), gives me the following FIX which does not work

    FIX: create a Admin user by running ?sudo runuser -u _gvm ? gvmd --create-user= --new-password=?

    MY ENTRY: sudo runuser -u _gvm ? gvmd --create-user=Admin --new-password=12345

    ERROR: Your GVM-11 installation is not yet complete!
    ---------------------
    AND when running gvm-start gives me the following errors?

    Job for gvmd.service failed because a timeout was exceeded.
    See ?systemctl status gvmd.service? and ?journalctl -xe? for details.
    Job for ospd-openvas.service failed because the service did not take the steps required by its unit configuration.
    See ?systemctl status ospd-openvas.service? and ?journalctl -xe? for details

    What should i do?

    Thank you in advance.

    P. Leontios

  2. #2
    Join Date
    2020-Dec
    Posts
    4

    Solution found on Redit

    Quote Originally Posted by pleontios View Post
    When running gvm-check-setup (GVM 11 installation), gives me the following FIX which does not work

    FIX: create a Admin user by running ?sudo runuser -u _gvm ? gvmd --create-user= --new-password=?

    MY ENTRY: sudo runuser -u _gvm ? gvmd --create-user=Admin --new-password=12345

    ERROR: Your GVM-11 installation is not yet complete!
    ---------------------
    AND when running gvm-start gives me the following errors?

    Job for gvmd.service failed because a timeout was exceeded.
    See ?systemctl status gvmd.service? and ?journalctl -xe? for details.
    Job for ospd-openvas.service failed because the service did not take the steps required by its unit configuration.
    See ?systemctl status ospd-openvas.service? and ?journalctl -xe? for details

    What should i do?

    Thank you in advance.

    P. Leontios

    Find solution at this link:
    https://webcache.googleusercontent.c...&ct=clnk&gl=il

  3. #3
    Join Date
    2020-Dec
    Posts
    4

  4. #4

    GVM installation problems - FIXED

    There are high chances that you're running 2 or more variations of PostgreSQL which is causing some conflictions in the port needed by gvm (greenbone Vulnerability manager)

    steps:


    1. apt autoremove gvm
    2. apt update && apt upgrade -y
    Now navigate to /etc/postgresql #This will show you variations of postgresql you have.

    If you have the latest, possibly {13} change the port to 5432.
    Use: nano, leafpad or vi (whichever you are comfortable with)
    3. nano /etc/postgresql/13/main/postgresql.conf #change the port to 5432 or leave it if it is already 5432.
    4. nano /etc/postgresql/12/main/postgresql.conf #change the port to 5433 or any port that will not conflict with other services.
    5. nano /etc/postgresql/11/main/postgresql.conf #change the port to 5431 or any port that will not conflict with other services.



    systemctl restart postgresql or service postgresql restart


    Now it is time to re-install gvm
    apt install gvm -y
    gvm-setup # Pay attention to the newly generated password, username = admin
    gvm-start

Similar Threads

  1. GCC Installation's problems
    By Innocent1 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-08-13, 10:21
  2. -HELP- Installation Problems!!
    By ggg in forum Installing Archive
    Replies: 0
    Last Post: 2016-11-27, 18:39
  3. problems to during installation of airdrop-ng
    By orkinos in forum General Archive
    Replies: 5
    Last Post: 2016-03-03, 05:54

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •