windows-subsystem-for-linux - 在 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
解决方案
使用sudo /opt/nessus/sbin/nessus-service
. Systemd 在 WSL2 中不可用,因此您需要在可用时使用较旧的 init 样式脚本。
推荐阅读
- javascript - 如何在不使用 ng-click 每个锚标签的情况下在角度 4/5 组件中获取锚标签点击事件
- c# - 一节的几个sourceConfig
- scala - 从 UDF 内的 Spark SQL 行中提取嵌套数组
- wicket - Wicket 从 1.4.9 迁移到 7.9.0 后 Wiquery 1.0.2 jar 抛出错误
- java - SQL 插入 '
- php - PHP 在 eloquent 模型中运行原始 SQL 查询
- python - Pandas 中的布尔索引
- ios - 单击Objective-C中的tableview标题时显示/隐藏Tableview单元格
- php - 使用 .htaccess 处理像 www 根目录这样的目录
- eclipse - 如何为多用户 Eclipse 安装的每个用户指定唯一的 java.io.tmpdir?