Giter Site home page Giter Site logo

opsd-openvas install failed about docs HOT 9 CLOSED

LubinLew avatar LubinLew commented on May 24, 2024
opsd-openvas install failed

from docs.

Comments (9)

LubinLew avatar LubinLew commented on May 24, 2024

Another Issue:

sudo chown -R gvm:gvm /run/ospd
chown: cannot access '/run/ospd': No such file or directory

from docs.

bjoernricks avatar bjoernricks commented on May 24, 2024

I've just tested installing ospd-openvas in my local debian:stable-slim docker container and I am sadly not able to reproduce the issue

builduser@3e51fb166a88:~/source/ospd-openvas-21.4.4$ python3 -m pip install . --prefix=$INSTALL_PREFIX --root=$INSTALL_DIR --no-warn-script-location
Processing /home/builduser/source/ospd-openvas-21.4.4
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: defusedxml<0.8,>=0.6 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (0.6.0)
Requirement already satisfied: packaging<21.0,>=20.4 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (20.9)
Requirement already satisfied: redis<4.0.0,>=3.5.3 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (3.5.3)
Collecting deprecated<2.0.0,>=1.2.10
  Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: paramiko<3.0.0,>=2.7.1 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (2.7.2)
Requirement already satisfied: lxml<5.0.0,>=4.5.2 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (4.6.3)
Requirement already satisfied: psutil<6.0.0,>=5.5.1 in /usr/lib/python3/dist-packages (from ospd-openvas==21.4.4) (5.8.0)
Requirement already satisfied: wrapt<2,>=1.10 in /usr/lib/python3/dist-packages (from deprecated<2.0.0,>=1.2.10->ospd-openvas==21.4.4) (1.12.1)
Building wheels for collected packages: ospd-openvas
  Building wheel for ospd-openvas (PEP 517) ... done
  Created wheel for ospd-openvas: filename=ospd_openvas-21.4.4-py3-none-any.whl size=107805 sha256=9c52c67720463d457250b5fd66e6f39bd8a8a582537fd34fbc2301ced16e57da
  Stored in directory: /home/builduser/.cache/pip/wheels/29/eb/0a/b074f9488781ca5bc124fd2cd238cb95458019aa606205277c
Successfully built ospd-openvas
Installing collected packages: deprecated, ospd-openvas
Successfully installed deprecated-1.2.13 ospd-openvas-21.4.4

Nevertheless other users reported the same problem at https://community.greenbone.net/t/gvm-release-version-21-4-4/11506/18

from docs.

bjoernricks avatar bjoernricks commented on May 24, 2024

Ok from your output /usr/lib/python3.7/tokenize.py I think you are using Debian oldstable. In that case some python dependencies might be too old. Either change the installation according to https://community.greenbone.net/t/gvm-release-version-21-4-4/11506/22 or use Debian stable instead.

from docs.

LubinLew avatar LubinLew commented on May 24, 2024

@bjoernricks

I use the offical image for OpenStack, it released on 20220320, should I use debian 11 ?

https://cloud.debian.org/images/cloud/OpenStack/10.11.5-20220320/debian-10.11.5-20220320-openstack-amd64.qcow2

root@debian:~/source# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
root@debian:~/source#
root@debian:~/source# uname -a
Linux debian 4.19.0-19-cloud-amd64 #1 SMP Debian 4.19.232-1 (2022-03-07) x86_64 GNU/Linux

from docs.

bjoernricks avatar bjoernricks commented on May 24, 2024

I don't have a clue about OpenStack. You just need to decide if you want follow https://community.greenbone.net/t/gvm-release-version-21-4-4/11506/22 for Debian oldstable (Buster) or update to Debian stable (Bullseye). Our guide is for Debian stable.

from docs.

LubinLew avatar LubinLew commented on May 24, 2024

OK, I got it. I was misled by the instructions below

This guide assumes that Debian Stable (Buster) is used as the Linux distribution. Most likely, a Debian derivate like Ubuntu and Kali will also work with only minor adjustments required.

from docs.

bjoernricks avatar bjoernricks commented on May 24, 2024

That sentence didn't got an update. We just missed it. I updated this sentence a minute ago.

from docs.

LubinLew avatar LubinLew commented on May 24, 2024

@bjoernricks

Thank you for your reply.
I think INSTALL.md in the openvas-scanner project should also be updated.

from docs.

bjoernricks avatar bjoernricks commented on May 24, 2024

Thanks. I've created a PR for openvas-scanner.

from docs.

Related Issues (14)

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.