elasticsearch 弹性搜索kibana装置
我正在尝试使用ubuntu在windows Susbystem for linux中安装elasticsearch。 它在尝试连接弹性搜索时安装了所需的软件包,并引发了一些错误,如。如何解决这个问题elasticsearch 弹性搜索kibana装置,elasticsearch,logstash,kibana,elastic-stack,elk,elasticsearch,Logstash,Kibana,Elastic Stack,Elk,我正在尝试使用ubuntu在windows Susbystem for linux中安装elasticsearch。 它在尝试连接弹性搜索时安装了所需的软件包,并引发了一些错误,如。如何解决这个问题 venkat@DESKTOP-4KU4062:~$ sudo /bin/systemctl daemon-reload System has not been booted with systemd as init system (PID 1). Can't operate. venkat@DESK
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 enable elasticsearch.service
Synchronizing state of elasticsearch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable elasticsearch
venkat@DESKTOP-4KU4062:~$ sudo /bin/systemctl start elasticsearch.service
System has not been booted with systemd as init system (PID 1). Can't operate.
venkat@DESKTOP-4KU4062:~$ sudo /bin/systemctl start elasticsearch.service
System has not been booted with systemd as init system (PID 1). Can't operate.
venkat@DESKTOP-4KU4062:~$ curl 127.0.0.1:9200
curl: (7) Failed to connect to 127.0.0.1 port 9200: Connection refused
尝试
sudo-i服务elasticsearch start
并查看是否成功 使用“systemctl”和“service”启动服务对于不同的操作系统是不同的,也取决于它们的版本。它基本上基于您正在使用的Ubuntu版本
对于此问题,“系统尚未以systemd作为初始系统(PID 1)启动。无法运行”。:
使用sudo服务守护程序重新加载启动
代替sudo/bin/systemctl守护程序重新加载
在上面的命令中,用守护进程重载替换另一个服务