Comments (3)
So,
I don't understand why, but in my system, there was python 3.6.x et 3.8.x installed
And the default one was 3.6.x
# dnf list installed python3?
Paquets installés
python36.x86_64 3.6.8-38.module+el8.5.0+671+195e4563 @appstream
python38.x86_64 3.8.12-1.module+el8.6.0+794+eba84017 @appstream
so I do this
# alternatives --set python /usr/bin/python3.8
# alternatives --set python3 /usr/bin/python3.8
# python -V
Python 3.8.12
# python3 -V
Python 3.8.12
# systemctl restart ospd-openvas
# systemctl status ospd-openvas.service
● ospd-openvas.service - Job that runs the ospd-openvas daemon
Loaded: loaded (/usr/lib/systemd/system/ospd-openvas.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-07-26 13:07:47 CEST; 56s ago
and scanner is running
# sudo -u gvm gvmd --get-scanners
08b69003-5fc2-4037-a479-93b440211c73 OpenVAS /run/ospd/ospd-openvas.sock 0 OpenVAS Default
6acd0832-df90-11e4-b9d5-28d24461215b CVE 0 CVE
# sudo -u gvm gvmd --verify-scanner 08b69003-5fc2-4037-a479-93b440211c73
Scanner version: OpenVAS 21.4.4.
from gvm.
Hi,
Same problem with RockyLinux 8.6, since last update, the osp-openvas.service hang
juil. 26 11:48:47 s029 systemd[1]: Started Job that runs the ospd-openvas daemon.
juil. 26 11:48:48 s029 ospd-openvas[1902]: Traceback (most recent call last):
juil. 26 11:48:48 s029 ospd-openvas[1902]: File "/opt/atomicorp/bin/ospd-openvas", line 5, in <module>
juil. 26 11:48:48 s029 ospd-openvas[1902]: from ospd_openvas.daemon import main
juil. 26 11:48:48 s029 ospd-openvas[1902]: File "/opt/atomicorp/lib/python3.8/site-packages/ospd_openvas/daemon.py", line 33, in <module>
juil. 26 11:48:48 s029 ospd-openvas[1902]: from lxml.etree import tostring, SubElement, Element
juil. 26 11:48:48 s029 ospd-openvas[1902]: ModuleNotFoundError: No module named 'lxml.etree'
juil. 26 11:48:48 s029 systemd[1]: ospd-openvas.service: Main process exited, code=exited, status=1/FAILURE
juil. 26 11:48:48 s029 systemd[1]: ospd-openvas.service: Failed with result 'exit-code'.
problem with python module lxml.etree ?
from gvm.
It is absolutely pinned to specific versions of python, for EL8 this is going to be python3.8 (on fc37 its 3.11), so in general Id say if you are building an GVM appliance do it on a dedicated system.
from gvm.
Related Issues (20)
- GVM update to version 21.04 - HowTo HOT 9
- Patch for whole-family scan config bug HOT 2
- Web Service Issues HOT 2
- Update repository atomic corp with last version of gvm-libraries HOT 8
- Reconfigure the default OSPD scanner socket path HOT 1
- dnf update on rocky linux to 21.4.4 broke things HOT 10
- AlmaLinux 8 Support HOT 1
- GVM openvas-smb not working HOT 2
- GVM Stopped working
- Problem With NVT's after installation HOT 5
- Can't login to gvm after reboot HOT 1
- OpenVAS Scan failed (RHEL 8) HOT 4
- Openvas-scanner version: 22.4.1 HOT 4
- No candidates for gvm - CentOS 8 Stream HOT 2
- Engine version outdated
- Reports all show openvas scanner EOL. Version currently installed 21.4.1 HOT 1
- GVM 22.4.0 error when I do a scan HOT 3
- 22.4.1 is End-of-Life HOT 5
- Macro %undefine HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvm.