Kali에서 OpenVAS를 성공적으로 지속적으로 설치하고 실행하는 것은 악몽입니다. 나는 도커 이미지가 있다는 것을 알고 있지만 여전히 그렇습니다.
내가 직면한 문제는 ospd-openvas
수동으로 실행할 때 서비스가 시작되지 않는다는 것입니다. 서비스를 실행할 때 시작되지만 gvm-check-setup
정확히 동일한 명령을 실행하더라도 서비스가 시작되지 않습니다 systemctl start ospd-openvas
.
___(root__docker-desktop)-[~]
__# systemctl status ospd-openvas
ospd-openvas.service - OpenVAS Wrapper of the Greenbone Vulnerability Management (ospd-openvas)
Loaded: loaded (/usr/lib/systemd/system/ospd-openvas.service, disabled)
Active: inactive (dead)
___(root__docker-desktop)-[~]
__# systemctl start ospd-openvas
___(root__docker-desktop)-[~]
__# systemctl status ospd-openvas
ospd-openvas.service - OpenVAS Wrapper of the Greenbone Vulnerability Management (ospd-openvas)
Loaded: loaded (/usr/lib/systemd/system/ospd-openvas.service, disabled)
Active: inactive (dead)
하지만 :으로 실행하면 gvm-check-setup
제대로 작동합니다.
Step 6: Checking Greenbone Security Assistant (GSA) ...
Oops, secure memory pool already initialized
ERROR: Greenbone Security Assistant too old or too new: 21.4.1~dev1
FIX: Please install Greenbone Security Assistant >= 21.04.
OK: Greenbone Security Assistant is present in version 21.4.1~dev1.
Step 7: Checking if GVM services are up and running ...
Starting ospd-openvas service
Waiting for ospd-openvas service
OK: ospd-openvas service is active.
Starting gvmd service
Waiting for gvmd service
OK: gvmd service is active.
Starting greenbone-security-assistant service
Waiting for greenbone-security-assistant service
OK: greenbone-security-assistant service is active.
Step 8: Checking few other requirements...
OK: nmap is present in version 21.4.1~dev1.
OK: ssh-keygen found, LSC credential generation for GNU/Linux targets is likely to work.
WARNING: Could not find makensis binary, LSC credential package generation for Microsoft Windows targets will not work.
SUGGEST: Install nsis.
OK: xsltproc found.
WARNING: Your password policy is empty.
SUGGEST: Edit the /etc/gvm/pwpolicy.conf file to set a password policy.
It seems like your GVM-21.4.1 installation is OK.
___(root__docker-desktop)-[~]
__# systemctl status ospd-openvas
ospd-openvas.service - OpenVAS Wrapper of the Greenbone Vulnerability Management (ospd-openvas)
Loaded: loaded (/usr/lib/systemd/system/ospd-openvas.service, disabled)
Active: active (running)
서비스를 시작하려고 할 때 서비스가 시작되지 않는 이유를 실제로 어떻게 해결합니까? 전체 /var/log/gvm/*
폴더를 추적했는데 tail -f
거기에는 아무것도 생성되지 않은 것 같습니다. journalctl -xe
"--항목 없음--"이라고 표시되어 있기 때문에 거기에도 아무것도 없습니다 .