# What could cause this error following enterprise-search restart?

**URL:** <https://discuss.elastic.co/t/what-could-cause-this-error-following-enterprise-search-restart/287966>\
**Category:** Elastic Search\
**Created:** [October 29, 2021, 1:02am UTC](https://discuss.elastic.co/t/what-could-cause-this-error-following-enterprise-search-restart/287966 "2021-10-29T01:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neergttocsdivad](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@neergttocsdivad](https://discuss.elastic.co/u/neergttocsdivad)\
**Post date:** [October 29, 2021, 1:02am UTC](https://discuss.elastic.co/t/what-could-cause-this-error-following-enterprise-search-restart/287966/1 "2021-10-29T01:02:51Z")

</div>

I followed [these](https://discuss.elastic.co/t/enterprise-search-installation-gives-api-key-error/283645) steps for the installation.

Copying and pasting [these lines](https://discuss.elastic.co/t/enterprise-search-installation-gives-api-key-error/283645/print) into Elasticsearch, kibana and enterprise-search yaml files

Changed the permissions of var/log/enterprise-search folder and contents (see screenshot below)

And everything started fine.

Then, I switched-off and then on and got this error message:

Any suggestions?

d@vmm:~$ sudo systemctl start Elasticsearch.service  
Job for Elasticsearch.service failed because the control process exited with error code.  
See "systemctl status Elasticsearch.service" and "journalctl -xeu Elasticsearch.service" for details.

 ![ZZZZZZZ VERY IMPORTANT change permissions of all 'var-log-enterprise-search' related folders of files](https://us1.discourse-cdn.com/elastic/original/3X/e/1/e1dc441fd9402bb178703ce4c308678f5bb3274a.jpeg)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 29, 2021, 1:03am UTC](https://discuss.elastic.co/t/what-could-cause-this-error-following-enterprise-search-restart/287966/2 "2021-10-29T01:03:33Z")

</div>

Can you please check the underlying Elasticsearch logs, usually `/var/log/elasticsearch`.

---

<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:** [November 4, 2022, 8:32am UTC](https://discuss.elastic.co/t/what-could-cause-this-error-following-enterprise-search-restart/287966/3 "2022-11-04T08:32:52Z")

</div>


