首页 > 解决方案 > 在 WSL2 上的 Ubuntu 上运行 nessu

问题描述

我无法使用以下方法在 WSL 中启动 nessus:

/bin/systemctl start nessusd.service

我收到以下错误:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

标签: windows-subsystem-for-linuxwsl-2nessus

解决方案


使用sudo /opt/nessus/sbin/nessus-service. Systemd 在 WSL2 中不可用,因此您需要在可用时使用较旧的 init 样式脚本。


推荐阅读