# Kibana not working after licence deletion

**URL:** <https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516>\
**Category:** Kibana\
**Created:** [April 25, 2019, 6:13pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516 "2019-04-25T18:13:03Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [April 25, 2019, 8:32pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/21 "2019-04-25T20:32:05Z")

</div>

Thanks. One more for you to run, this time against Kibana using curl:

`curl http://localhost:5601/api/status`.

Also, Do you have the logs from when Kibana first starts up? Those would be very helpful too

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 1:42am UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/22 "2019-04-26T01:42:03Z")

</div>

> [@Larry\_Gregory](#):
>
> curl [http://localhost:5601/api/status](http://localhost:5601/api/status)

```
# curl http://localhost:5601/api/status
curl: (7) Failed connect to localhost:5601; Connection refused

```

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [April 26, 2019, 11:05am UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/23 "2019-04-26T11:05:43Z")

</div>

> [@Larry\_Gregory](#):
>
> Do you have the logs from when Kibana first starts up? Those would be very helpful too

Do you have these startup logs?

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 1:47pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/24 "2019-04-26T13:47:08Z")

</div>

I have removed elasticsearch one by one removing the all old configs and Kibana version to all 3 nodes to 6.7.0 but still kibana not loading ..

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d40350850cfbc68fe01a00e0dc31f523540d2af7.png)

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 2:13pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/25 "2019-04-26T14:13:13Z")

</div>

```
kibana logs..

["status","plugin:tilemap@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:tilemap@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:watcher@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"No Living connections"}
["status","plugin:watcher@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"Service Unavailable"}
["status","plugin:watcher@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - No Living connections","prevState":"red","prevMsg":"Unable to connect to Elasticsearch."}
["status","plugin:watcher@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:watcher@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:xpack_main@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"No Living connections"}
["status","plugin:xpack_main@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"Service Unavailable"}
["status","plugin:xpack_main@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - No Living connections","prevState":"red","prevMsg":"Unable to connect to Elasticsearch."}
["status","plugin:xpack_main@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:xpack_main@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["warning","elasticsearch","admin"],"pid":37023,"message":"No living connections"}
["warning","elasticsearch","admin"],"pid":37023,"message":"Unable to revive connection: http://localhost:9200/"}
["warning","elasticsearch","data"],"pid":37023,"message":"No living connections"}
["warning","elasticsearch","data"],"pid":37023,"message":"Unable to revive connection: http://localhost:9200/"}
```

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 2:13pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/26 "2019-04-26T14:13:51Z")

</div>

```
["status","plugin:rollup@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:rollup@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:searchprofiler@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"No Living connections"}
["status","plugin:searchprofiler@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"Service Unavailable"}
["status","plugin:searchprofiler@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - No Living connections","prevState":"red","prevMsg":"Unable to connect to Elasticsearch."}
["status","plugin:searchprofiler@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:searchprofiler@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:spaces@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"No Living connections"}
["status","plugin:spaces@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"Service Unavailable"}
["status","plugin:spaces@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - No Living connections","prevState":"red","prevMsg":"Unable to connect to Elasticsearch."}
["status","plugin:spaces@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Service Unavailable","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:spaces@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - Unable to connect to Elasticsearch.","prevState":"red","prevMsg":"[data] Elasticsearch cluster did not respond with license information."}
["status","plugin:tilemap@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"No Living connections"}
["status","plugin:tilemap@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - [data] Elasticsearch cluster did not respond with license information.","prevState":"red","prevMsg":"Service Unavailable"}
["status","plugin:tilemap@6.6.2","error"],"pid":37023,"state":"red","message":"Status changed from red to red - No Living connections","prevState":"red","prevMsg":"Unable to connect to Elasticsearch."}
```

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 2:14pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/27 "2019-04-26T14:14:17Z")

</div>

```
["debug","legacy-proxy"],"pid":37023,"message":"Event is being forwarded: connection"}
["debug","legacy-proxy"],"pid":37023,"message":"\"getConnections\" has been called."}
["debug","legacy-service"],"pid":37023,"message":"Request will be handled by proxy GET:/."}
["debug","legacy-service"],"pid":37023,"message":"Request will be handled by proxy GET:/app/kibana."}
["debug","monitoring-ui","kibana-monitoring"],"pid":37023,"message":"Received Kibana Ops event data"}
["debug","root"],"pid":37023,"message":"shutting root down"}
["error","elasticsearch","admin"],"pid":37023,"message":"Request error, retrying\nHEAD http://localhost:9200/ => connect ECONNREFUSED 127.0.0.1:9200"}
["error","elasticsearch","data"],"pid":37023,"message":"Request error, retrying\nGET http://localhost:9200/_xpack => connect ECONNREFUSED 127.0.0.1:9200"}
["license","debug","xpack"],"pid":37023,"message":"Calling [data] Elasticsearch _xpack API. Polling frequency: 30001"}
["license","warning","xpack"],"pid":37023,"message":"License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: No Living connections"}
[],"pid":37023,"method":"get","statusCode":302,"req":{"url":"/app/kibana","method":"get","headers":{"host":"elkhost01.trident.com:5601","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9,ko;q=0.8","cache-control":"max-age=0","dnt":"1","upgrade-insecure-requests":"1"},"remoteAddress":"192.168.1.106","userAgent":"192.168.1.106"},"res":{"statusCode":302,"responseTime":2,"contentLength":9},"message":"GET /app/kibana 302 2ms - 9.0B"}
[],"pid":37023,"method":"get","statusCode":302,"req":{"url":"/app/kibana","method":"get","headers":{"host":"elkhost01.trident.com:5601","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9,ko;q=0.8","cache-control":"max-age=0","dnt":"1","upgrade-insecure-requests":"1"},"remoteAddress":"192.168.1.106","userAgent":"192.168.1.106"},"res":{"statusCode":302,"responseTime":3,"contentLength":9},"message":"GET /app/kibana 302 3ms - 9.0B"}
[],"pid":37023,"method":"get","statusCode":302,"req":{"url":"/app/kibana","method":"get","headers":{"host":"elkhost01.trident.com:5601","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9,ko;q=0.8","cache-control":"max-age=0","dnt":"1","upgrade-insecure-requests":"1"},"remoteAddress":"192.168.1.106","userAgent":"192.168.1.106"},"res":{"statusCode":302,"responseTime":4,"contentLength":9},"message":"GET /app/kibana 302 4ms - 9.0B"}
```

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [April 26, 2019, 3:08pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/28 "2019-04-26T15:08:24Z")

</div>

> [@Rocky\_RK](#):
>
> ["error","elasticsearch","admin"],"pid":37023,"message":"Request error, retrying\nHEAD [http://localhost:9200/](http://localhost:9200/) =\> connect ECONNREFUSED 127.0.0.1:9200"}

These messages tell me that Elasticsearch is not listening on 127.0.0.1 / port 9200. Is Elasticsearch running, and is it running on the same machine as Kibana? Is Elasticsearch configured for https instead of http, or is it running on a custom port?

Can you provide your `kibana.yml` and `elasticsearch.yml`?

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [April 26, 2019, 3:34pm UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/29 "2019-04-26T15:34:19Z")

</div>

> [@Rocky\_RK](#):
>
> ```auto
> [],"pid":37023,"method":"get","statusCode":302,"req":{"url":"/app/kibana","method":"get","headers":{"host":"elkhost01.trident.com:5601","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.9,ko;q=0.8","cache-control":"max-age=0","dnt":"1","upgrade-insecure-requests":"1"},"remoteAddress":"192.168.1.106","userAgent":"192.168.1.106"},"res":{"statusCode":302,"responseTime":4,"contentLength":9},"message":"GET /app/kibana 302 4ms - 9.0B"}
> 
> ```

Please find the config file below..

```
# cat /etc/elasticsearch/elasticsearch.yml
# Elasticserach config
#########################
cluster.name: log-cohort
node.name: elkserver01
#node.master: true
path:
    data: /data/lib/elasticsearch
    logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: ["elkserver01", "elkserver02", "elkserver03"]
xpack.security.enabled: False
#bootstrap.memory_lock: False

# cat /etc/kibana/kibana.yml 
server.port: 5601
server.host: 0.0.0.0
server.name: elkserver01.cadence.com
elasticsearch.hosts: ["http://localhost:9200"]

```

---

<div class="post-metadata">

**Author:** ![Rocky\_RK](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@Rocky\_RK](https://discuss.elastic.co/u/Rocky_RK)\
**Post date:** [May 2, 2019, 4:09am UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/30 "2019-05-02T04:09:54Z")

</div>

Just to acknowledge , i have to rebuild the ELK stack again.

---

<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:** [May 30, 2019, 4:09am UTC](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516/31 "2019-05-30T04:09:56Z")

</div>

Closed on May 30, 2019, 4:09am UTC

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

[Previous page](https://discuss.elastic.co/t/kibana-not-working-after-licence-deletion/178516.md?page=1)
