Giter VIP home page Giter VIP logo

Comments (5)

applemodus avatar applemodus commented on July 22, 2024

Hello! Yes, the same story. Also with CentOS 8 and Ubuntu 22 LTS.
Will be nice to receive help in this case, please.

from gvm.

tspedw avatar tspedw commented on July 22, 2024

I believe this is probably from mixing atomic packages with some other packages. But I also had the same issue and what I found was that the sock file atomic expects is in the log above but the systemd file was creating a different sock file. After spending a considerable amount of time looking for where atomic was storing the value, I ended up just doing this to get me back up and running:
` ls /var/run/ospd
ospd-openvas.pid ospd-openvas.sock

cd /var/run/ospd

ln -s ospd-openvas.sock ospd.sock

ls -la
total 4
drwxrwxrwx 2 gvm gvm 100 Sep 14 19:35 .
drwxr-xr-x 38 root root 1060 Sep 14 19:23 ..
-rw-r--r-- 1 gvm gvm 6 Sep 14 19:22 ospd-openvas.pid
srwxrwx--- 1 gvm gvm 0 Sep 14 19:22 ospd-openvas.sock
lrwxrwxrwx 1 root root 17 Sep 14 19:35 ospd.sock -> ospd-openvas.sock

sudo -u gvm gvmd --get-scanners
08b69003-5blah-blah-balh OpenVAS /var/run/ospd/ospd.sock 0 OpenVAS Default
6acd0832-blah-blah-blah CVE 0 CVE

sudo -u gvm gvmd --verify-scanner 08b69003-5blah-blah-blah
Scanner version: OpenVAS 21.4.4.`

And now starting scans does not have the immediate fails

from gvm.

applemodus avatar applemodus commented on July 22, 2024

I believe this is probably from mixing atomic packages with some other packages. But I also had the same issue and what I found was that the sock file atomic expects is in the log above but the systemd file was creating a different sock file. After spending a considerable amount of time looking for where atomic was storing the value, I ended up just doing this to get me back up and running: ` ls /var/run/ospd ospd-openvas.pid ospd-openvas.sock

cd /var/run/ospd

ln -s ospd-openvas.sock ospd.sock

ls -la total 4 drwxrwxrwx 2 gvm gvm 100 Sep 14 19:35 . drwxr-xr-x 38 root root 1060 Sep 14 19:23 .. -rw-r--r-- 1 gvm gvm 6 Sep 14 19:22 ospd-openvas.pid srwxrwx--- 1 gvm gvm 0 Sep 14 19:22 ospd-openvas.sock lrwxrwxrwx 1 root root 17 Sep 14 19:35 ospd.sock -> ospd-openvas.sock

sudo -u gvm gvmd --get-scanners 08b69003-5blah-blah-balh OpenVAS /var/run/ospd/ospd.sock 0 OpenVAS Default 6acd0832-blah-blah-blah CVE 0 CVE

sudo -u gvm gvmd --verify-scanner 08b69003-5blah-blah-blah Scanner version: OpenVAS 21.4.4.`

And now starting scans does not have the immediate fails

Hello! Thanks for your reply. I am using Centos 8 and there is no ospd-openvas.sock on my distro.
What distro did you use? I want to try your reply on correct env.

from gvm.

atomicturtle avatar atomicturtle commented on July 22, 2024

Packages have just been updated to 22.4.1+ are you still running into problems with this?

from gvm.

applemodus avatar applemodus commented on July 22, 2024

Hello!
Sorry for my late answer
@atomicturtle I have migrate to container and have not try once again on RHEL based distros.
Thanks to all!

from gvm.

Related Issues (20)

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.