我正在尝试使用ubuntu在linux的windows susbsytem中安装elasticsearch。它在尝试连接elastic search时安装了所需的软件包,但抛出了一些错误,如。如何解决此问题。 venkat@DESKTOP-4KU4062:~$ sudo /bin/systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate.
venkat@DESKTOP-4KU4062:~$ sudo /bin/systemctl enabl
systemd的Manpage说:
--system, --user
For --system, tell systemd to run a system instance, even if the
process ID is not 1, i.e. systemd is not run as init process.
--user does the opposite, running a user instance even if the
process ID is 1.
如何使用pid 1和pid而不是1作为进程运行syst
我正在使用WSL2。
当我运行代码时:
systemctl start ssh
或任何包含systemctl的命令,它将显示
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
我在Windows 11上使用WSL (使用Ubuntu22.04LTS),并试图在其上使用Elasticsearch。当我运行sudo systemctl start elasticsearch.service时,我得到了错误:
System has not been booted with systemd as init system (PID 1). Can't operate.
我知道systemctl在WSL上是不可用的。因此,我尝试了它的替代方案,service elasticsearch start,但随后我得到了错误:elasticsearch: unrecognize
我试图安装ELK (此资源),但当我打开http://localhost:5601浏览器并使用http://localhost:5601 URL测试其安装是否正确时,我收到两个错误
我测试所有响应,但没有工作,这是我的elasticsearch.yml
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address h
我通过微软商店在Windows 10上安装Ubuntu!我不能重新启动它,我尝试谷歌和错误:
root@kami.vn:~# sudo reboot now
Failed to write reboot parameter file: No such file or directory
root@kami.vn:~# sudo reboot -f
Rebooting.
Failed to reboot: Invalid argument
root@kami.vn:~# sudo reboot
System has not been booted with systemd as init sys
我只是使用sudo apt-get -y install mongodb在ubuntu窗口上安装mongodb。安装完成后,我想开始使用sudo systemctl start mongodb,并在终端中显示如下所示
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
然后,我找到了在这个中启动服务器的替代方法。我试着使用sudo /etc/init.d/mongodb start,它给了我类似于*
我有一个Ubuntu18.04图像运行在我的码头集装箱。我登录到它并安装了Openresty。还安装了systemd。当我使用命令systemctl时,会得到以下错误:
System has not been booted with systemd as init system (PID 1). Can't operate.
我怎么才能修好它?
这是我的配置
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /mulelogs/elasticsearch
path.logs: /mulelogs/elasticsearch
当我重新启动ElasticSearch时,我得到的是:
elasticsearch.service - E
,我想让詹金斯运行运行SystemD的Docker。
到目前为止,已经能够在没有Jenkins的情况下在本地docker中运行systemd。下面是在不使用jenkins的情况下在本地运行它的步骤:
# pull unop/fedora-systemd and create and run the container for it
sudo docker run --cap-add=SYS_ADMIN -e container=docker --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro -t -i unop/fedo
我使用的是docker hub的archlinux/base官方镜像。 我正在尝试使用systemctl,它显示。 $ docker run --rm -it ac16c4b756ed systemctl start httpd
System has not been booted with systemd as init system (PID 1). Can't operate. 如何解决这个问题。
我已经安装了ElasticSearch,在安装Magento之前,我正在尝试开始。我得到了这个错误:
sudo systemctl start elasticsearch.service
Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
systemctl status elas
系统: Ubuntu 20/WSL检查状态。
sudo service postgresql status
或
sudo pg_ctlcluster status 15 main
现在我很确定这个状态是在线的。但是即使postgresql在线,如果我在线的话
systemctl status postgresql.service
上面写着
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
我很困惑。这
我在这个问题上绞尽脑汁,可能已经尝试了所有可能的解决方案(修复、清除、重新安装),但postgresql无法启动 rupin@linuxbox:~$ sudo /etc/init.d/postgresql restart
[sudo] password for rupin:
Restarting PostgreSQL 10 database server
Failed to issue method call: Unit postgresql@10-main.service failed to load: No such file or directory. See system l
我试图遵循在这个数字海洋的中讨论的Redis安装过程,用于WSL()。安装的Ubuntu版本是Ubuntu18.04。
redis安装中的所有内容都很好,但是当我尝试运行这个sudo systemctl start redis时,我收到了这条消息。
System has not been booted with systemd as init system (PID 1). Can't operate.
你知道我该怎么处理它吗?
当我使用这个命令时:
root:~# systemctl
产出如下:
System has not been booted with systemd as init system (PID 1). Can't operate
这个问题发生在"Kali Linux“和"Debian 9”中,我如何解决这个问题?
我正在尝试在WSL2中安装Kafka。 我指的是这个DigitalOcean blog,但我在尝试使用以下命令启动Kafka时卡住了: sudo systemctl start kafka
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down 我研究了一下,发现systemd没有附带WSL2。是否有其他方法可以安装WSL2中支持的systemd服务? 如果没有,有没有办法在Windows上安装Kafka
如何从WSL控制台重新启动当前的WSL实例?
通常的“嫌疑犯”不起作用:
reboot
shutdown -r
他们在信息方面失败了:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
是否有其他方法迫使WSL重新启动?
我正在运行Ubuntu for Windows 10作为一个模块的一部分在大学,当我尝试输入关闭,它告诉我
System has not been booted with systemd as init system (PID 1).
无法操作,当我在命令前面键入reboot并使用sudo时,情况是一样的。
我想以根用户的身份运行mysqld。
我正在运行Ubuntu21.04并安装了mysql-server。
MySQL版本:
mysql Ver 8.0.25-0ubuntu0.21.04.1 for Linux on x86_64 ((Ubuntu))
将文件所有权更改为根
chown -R root /var/lib/mysql
/etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
user = root
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/my