サービスが開始されないが起動しない理由を示すエラーは生成されません。

サービスが開始されないが起動しない理由を示すエラーは生成されません。

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「--項目なし--」と表示されているので、そこにも何もありません。

ここに画像の説明を入力してください。

ベストアンサー1

おすすめ記事