# Issues starting elastic search

**URL:** <https://discuss.elastic.co/t/issues-starting-elastic-search/333496>\
**Category:** Elasticsearch\
**Created:** [May 15, 2023, 6:43pm UTC](https://discuss.elastic.co/t/issues-starting-elastic-search/333496 "2023-05-15T18:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanchev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanchev/32/121045_2.png) [@tanchev](https://discuss.elastic.co/u/tanchev)\
**Post date:** [May 15, 2023, 6:43pm UTC](https://discuss.elastic.co/t/issues-starting-elastic-search/333496/1 "2023-05-15T18:43:50Z")

</div>

I'm currently attempting to install and run Elasticsearch on CloudLinux, but I'm encountering some difficulties. The main issue is the absence of a .log file in the directory:

/var/log/elasticsearch

Despite the log path being properly defined in:

/etc/elasticsearch/elasticsearch.yml

The only types of files present are:

```auto
-rw-r--r-- 1 elasticsearch elasticsearch 4489 May 15 18:30 gc.log
-rw-r--r-- 1 elasticsearch elasticsearch 131 May 15 17:59 gc.log.00
-rw-r--r-- 1 elasticsearch elasticsearch 131 May 15 18:00 gc.log.01
-rw-r--r-- 1 elasticsearch elasticsearch 2136 May 15 18:16 gc.log.02
-rw-r--r-- 1 elasticsearch elasticsearch 2874 May 15 18:16 gc.log.03
-rw-r--r-- 1 elasticsearch elasticsearch 2136 May 15 18:26 gc.log.04
-rw-r--r-- 1 elasticsearch elasticsearch 4082 May 15 18:26 gc.log.05
-rw-r--r-- 1 elasticsearch elasticsearch 2136 May 15 18:29 gc.log.06
-rw-r--r-- 1 elasticsearch elasticsearch 5297 May 15 18:29 gc.log.07
-rw-r--r-- 1 elasticsearch elasticsearch 2136 May 15 18:30 gc.log.08
-rw-r--r-- 1 elasticsearch elasticsearch 22926 May 15 17:59 hs_err_pid929569.log
-rw-r--r-- 1 elasticsearch elasticsearch 22926 May 15 18:00 hs_err_pid929948.log

```

SystemCTL log:

```auto
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.j>
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearc>
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(Environm>
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command>
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.cli.Command.main(Command.java:77)
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.j>
May 15 18:30:41 techtree.mysticnet.com systemd-entrypoint[938900]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.j>
May 15 18:30:41 techtree.mysticnet.com systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
May 15 18:30:41 techtree.mysticnet.com systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
May 15 18:30:41 techtree.mysticnet.com systemd[1]: Failed to start Elasticsearch.

```

How can I debug this further is there anywhere else a file in which I need to take a look in order to find any logs?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [May 16, 2023, 8:59am UTC](https://discuss.elastic.co/t/issues-starting-elastic-search/333496/3 "2023-05-16T08:59:29Z")

</div>

Hi @tanchev,

Can you share your yml configuration? Can you also check if that's the full log error. It looks like a partial stack trace to me with the top cut off, but it looks like Elasticsearch is struggling to start.

---

<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:** [June 13, 2023, 8:59am UTC](https://discuss.elastic.co/t/issues-starting-elastic-search/333496/4 "2023-06-13T08:59:36Z")

</div>

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