# Kibana service not running

**URL:** <https://discuss.elastic.co/t/kibana-service-not-running/263470>\
**Category:** Kibana\
**Created:** [February 5, 2021, 9:32pm UTC](https://discuss.elastic.co/t/kibana-service-not-running/263470 "2021-02-05T21:32:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srcarter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/srcarter/32/83516_2.png) [@srcarter](https://discuss.elastic.co/u/srcarter)\
**Post date:** [February 5, 2021, 9:32pm UTC](https://discuss.elastic.co/t/kibana-service-not-running/263470/1 "2021-02-05T21:32:57Z")

</div>

Hi there,

I recently had our IT build me a new computer that I am dedicating for a simple elasticsearch/kibana machine. I had previously built my own machine for the same purpose and was successful, that machine was running version 7.9.1-1 of both Kibana and Elasticsearch.  
On this new machine I used the repo files which specify "7.x" and it's installed version 7.10.2-1 of both elasticsearch and kibana.

The installation seems to go fine but when I run  
` sudo service -i kibana start`  
I get:  
[centos@kibana ~]$ sudo -i service kibana start  
Starting kibana (via systemctl): [OK]  
But then when I run:  
sudo service --status-all  
I see:  
`kibana is not running`

But the service does seem to be actively running and I can reach it through the browser on the proper port.  
And when I run:  
` [centos@kibana ~]$ sudo systemctl status kibana.service`  
It appears to be running:  
` ● kibana.service - Kibana`  
` Loaded: loaded (/etc/systemd/system/kibana.service; disabled; vendor preset: disabled)`  
`Active: active (running) since Fri 2021-02-05 21:06:28 UTC; 21min ago`  
` Main PID: 1368 (node)`  
` CGroup: /system.slice/kibana.service`  
` └─1368 /usr/share/kibana/bin/../node/bin/node/usr/share/kibana/bin/../src/cli/dist`

There is also no directory ever created for the logs (/var/logs/kibana/), but there is one for elasticsearch.  
Has anyone experienced this before or have any idea what's going on exactly?  
Thank you!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [February 9, 2021, 11:41am UTC](https://discuss.elastic.co/t/kibana-service-not-running/263470/2 "2021-02-09T11:41:08Z")

</div>

Did you build the packages yourself from source? Since 7.10.2 is released I would suggest just using the artifacts available here: [Kibana 7.10.2 | Elastic](https://www.elastic.co/downloads/past-releases/kibana-7-10-2)

---

<div class="post-metadata">

**Author:** ![srcarter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/srcarter/32/83516_2.png) [@srcarter](https://discuss.elastic.co/u/srcarter)\
**Post date:** [February 9, 2021, 5:18pm UTC](https://discuss.elastic.co/t/kibana-service-not-running/263470/3 "2021-02-09T17:18:19Z")

</div>

I installed the packages using repo files and instructions from these webpages:

> **[Install Elasticsearch with RPM | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#rpm-repo)**

> **[Install Kibana with RPM | Kibana Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/kibana/current/rpm.html#rpm-repo)**

I had some of my IT coworkers take a look at the issue and they've said there was:

> The issue with the lack of logging in /var/log/kibana & service --status-all saying kibana wasn't running was due to a collision between [systemd](https://www.elastic.co/guide/en/kibana/current/rpm.html)[&](https://www.elastic.co/guide/en/kibana/current/rpm.html)[sysV](https://www.elastic.co/guide/en/kibana/current/rpm.html) where a pid file was not being produced.

And that,

> Multiple scripts were stepping on each other with regard to the pid file.

This wasn't an issue in 7.9 because etc/init.d/kibana changed between versions.

They were able to comment out some lines in etc/init.d/kibana and remove the systemd files/functionality for kibana & elasticsearch, so now it works with `service`, properly shows it's running with `service --status-all` and produces log files in /var/log/kibana like it should.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 9, 2021, 5:19pm UTC](https://discuss.elastic.co/t/kibana-service-not-running/263470/4 "2021-03-09T17:19:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
