簡體   English   中英

彈性搜索 kibana 安裝

[英]Elastic search kibana installation

我正在嘗試使用 Z1D41C853AF58D3A7AE8DZ5490 為 linux 在 windows susbsytem 中安裝 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@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 service elasticsearch start看看是否成功。

使用 'systemctl' 和 'service' 啟動服務對於不同的操作系統是不同的,也取決於它們的版本。 它基本上基於您使用的 Ubuntu 版本。

對於此問題“系統尚未使用 systemd 作為 init system (PID 1) 啟動。無法運行。”:

使用sudo service daemon-reload start代替sudo /bin/systemctl daemon-reload

在上面的命令中用 daemon-reload 替換其他服務。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM