【问题标题】:System has not been booted with systemd as init system (PID 1). Can't operate. Couldn't find an alternative telinit implementation to spawn系统尚未使用 systemd 作为 init system (PID 1) 引导。不能操作。找不到替代的 telinit 实现来生成
【发布时间】:2021-04-12 00:56:23
【问题描述】:

我尝试在 Ubuntu 18.04LTS 上安装 wave 在 ubuntu 中安装 wave 的链接:https://docs.waves.tech/en/waves-node/how-to-install-a-node/on-ubuntu

命令:sudo apt install wave

我得到了这个错误

错误:系统尚未使用 systemd 作为 init 系统 (PID 1) 启动。不能操作。 找不到替代的 telinit 实现来生成。

当我使用以下命令时,我也会遇到同样的错误:

  1. sudo service waves.service start
  2. sudo dpkg -i --force-overwrite /var/cache/apt/archives/waves_1.2.17_all.deb
  3. sudo dpkg -i waves_1.2.17_all.deb
  4. sudo systemctl start waves.service

如果我根据这个链接使用命令:https://linuxhandbook.com/system-has-not-been-booted-with-systemd/

命令:sudo service waves.service start

然后它给出错误:

错误:waves.service:无法识别的服务

谁能帮帮我?

【问题讨论】:

  • 有人可以帮忙吗?
  • 这是 Windows 上的 Ubuntu 吗? WSL?
  • @RamanSailopal 我使用的是 Ubuntu 18.04 LTS。所以 ubuntu 在 Windows 上

标签: ubuntu blockchain wavesplatform


【解决方案1】:

WSL 不支持 systemd 等:

systemctl .....

不会工作

改为使用服务等:

sudo service waves start

【讨论】:

  • 错误:waves:无法识别的服务
  • 我怀疑你在 /etc/init.d 中没有名为 wave 的文件
  • 你能告诉我如何解决这个问题吗?我只是新手
猜你喜欢
  • 2019-02-11
  • 2021-04-16
  • 1970-01-01
  • 1970-01-01
  • 2019-07-25
  • 1970-01-01
  • 1970-01-01
  • 2016-08-01
  • 2020-04-15
相关资源
最近更新 更多