System has not been booted with systemd as init system (PID 1). Can‘t operate.解决方法

这篇具有很好参考价值的文章主要介绍了System has not been booted with systemd as init system (PID 1). Can‘t operate.解决方法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

WSL(Windows Subsystem for Linux,适用于Linux的Windows子系统)下通过systemctl命令启动某些服务将造成System has not been booted with systemd as init system (PID 1). Can’t operate.这样的错误;

以启动docker 为例:

sudo systemctl restart docker

错误信息如下:文章来源地址https://www.toymoban.com/news/detail-611125.html

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
  • 解决方案
    尝试使用以下方法启动服务:
sudo service docker start

到了这里,关于System has not been booted with systemd as init system (PID 1). Can‘t operate.解决方法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • UOS -- Your system is not activated. Please activate as soon as possible for normal use

    远程UOS时总是显示Your system is not activated. Please activate as soon as possible for normal use提示。 解决方法: systemctl |grep license //查询license.service是否启动 systemctl stop license.service //关闭license.service systemctl disable license.service //关闭开机启动license.service

    2024年02月12日
    浏览(29)
  • linux目录/usr/lib/systemd/system目录详解

    init 的进化经历了这么几个阶段: CentOS 5: SysV init,串行 CentOS 6:Upstart,并行,借鉴ubuntu CentOS 7:Systemd,并行,借鉴MAC 今天我们一起来看看systemd的使用 Systemd 新特性: (1)系统引导时实现服务并行启动:服务间无依赖关系会并行启动 (2)按需激活进程:若服务非立刻使用,不会立刻

    2024年02月01日
    浏览(33)
  • Workspace associated with branch ‘XXX‘ has been restored

    在Idea使用git切换分支时,右下角会提示信息:Workspace associated with branch ‘XXX’ has been restored(已还原与分支“XXX”关联的工作区) Idea在切换分支时会 自动还原此分支的工作区 ,即还原 原先在该分支上开发时 打开的文件、当时的运行配置和断点 。 选择Rollback可以不还原此

    2024年02月11日
    浏览(46)
  • DiFi: A Go-as-You-Pay Wi-Fi Access System 精读笔记(二)

    A. Three-Layer System Architecture Owners refer to entities such as restaurants and hotels who own a Wi-Fi network and deploy DiFi, and users refer to their customers who require Wi-Fi access. Figure 1 provides an overview. DiFi is deployed on top of a Wi-Fi router/access point (AP) that is typically connected to the wired connection. It intervenes between t

    2024年02月02日
    浏览(20)
  • DiFi: A Go-as-You-Pay Wi-Fi Access System 精读笔记(一)

    As video streaming services become more popular, users desire high perceived video quality, which has placed more stringent requirements on the quality of connection. Existing issues of cellular networks encourage users to seek alternative connections such as publicWi-Fi networks; however, expectations of both users and owners of Wi-Fi networks are not suffi

    2024年02月06日
    浏览(22)
  • [问题已处理]-Error 803- system has unsupported display driver cuda driver combination

    导语:同一个镜像在不同的显卡驱动的机器上无法使用gpu 。报错Error 803: system has unsupported display driver / cuda driver combination 查看2个镜像对应的cuda driver 同镜像tag ge2206300210 宿主机驱动465.27 镜像cuda driver是465.27 同镜像 tag ge2206300210宿主机驱动470.63 镜像cuda driver是465.27 这里宿主机

    2024年02月09日
    浏览(26)
  • LateInitializationError: Field ‘data‘ has not been initialized.

    问题描述: LateInitializationError: Field \\\'data\\\' has not been initialized. 后期初始化错误:字段“数据”尚未初始化。  解决办法: 给data定义为空即可。 源代码: 修改后的代码: 参考链接:[Solved] LateInitializationError: Field has not been initialized 感谢群里的大佬提供的帮助!

    2024年02月13日
    浏览(26)
  • [system] Map key not configured.

    当我们在使用uniapp 所提供的地图组件 Map 时,会报以下的错误: 报错信息: [system] Map key not configured. 报错原因: 是我们没有配置 地图对应的key 解决方案: 只需要在uniapp 的根文件中找到manifest.json 文件---Web配置-- 我这里选择的是腾讯地图配置key 如果没有key 可以点击这个网址

    2024年02月04日
    浏览(31)
  • lateinit property has not been initialized加载失败Android

    本来我是想在onCreate之外使用swipeRefresh全局变量的,后面在调试的时候就出现了上述问题。 重新看一了一遍,发现是用错语法了,lateinit是用在var修饰变量的,对val变量应该使用by lazy,所以对于控件类的变量应该使用by lazy并且是不可变的,下面这张图就是错误用法了: 正确

    2024年02月16日
    浏览(32)
  • pygame.error: video system not initialized

    错误处理方式:

    2024年01月20日
    浏览(25)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包