Hi All ,
Good morning
I am using the latest stable version of elaticsearch and kibana 7.4.2
Like to point out the status of kibana using
/etc/init.d/kibana status shows it as not running
root@apm:~# /etc/init.d/elasticsearch status
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-11-06 07:11:13 UTC; 3s ago
Docs: http://www.elastic.co
Main PID: 734 (java)
Tasks: 63 (limit: 3555)
CGroup: /system.slice/elasticsearch.service
├─ 734 /usr/share/elasticsearch/jdk/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupanc…et
└─1167 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller
Nov 06 07:10:22 apm systemd[1]: Starting Elasticsearch...
Nov 06 07:10:27 apm elasticsearch[734]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecate…release.
Nov 06 07:11:13 apm systemd[1]: Started Elasticsearch.
Hint: Some lines were ellipsized, use -l to show in full.
/etc/init.d/kibana status kibana is not running
systemctl status kibana
● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-11-06 07:10:22 UTC; 1min 28s ago
Main PID: 785 (node)
Tasks: 21 (limit: 3555)
CGroup: /system.slice/kibana.service
└─785 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml
Nov 06 07:10:22 apm systemd[1]: Started Kibana.
Nov 06 07:11:00 apm kibana[785]: Could not create APM Agent configuration: No Living connections
How to reproduce the result
Do a fresh install and try out, you can see, I am using Ubuntu 18.04 update
Hi ,
Please read my post,
I was mentioning 2 scenario, one in which you get status running and one in which status not running
systemctl gives status running
while
The post I posted for giving feedback, to the developers or product managers that there is wrong status display, as a user I was giving feedback
it is becoming clear to me that you didn't even look at the code and/or have no idea how init and systemd scripts work...
you can see elasticsearch status because both files /etc/init.d/elasticsearch and /usr/lib/systemd/system/elasticsearch.service look for the PID on the same path, while kibana is not configured like this.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.