# Setting up ELK processes in supervisor

**URL:** <https://discuss.elastic.co/t/setting-up-elk-processes-in-supervisor/89510>\
**Category:** Elasticsearch\
**Created:** [June 15, 2017, 6:53am UTC](https://discuss.elastic.co/t/setting-up-elk-processes-in-supervisor/89510 "2017-06-15T06:53:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aarishramesh](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@aarishramesh](https://discuss.elastic.co/u/aarishramesh)\
**Post date:** [June 15, 2017, 6:53am UTC](https://discuss.elastic.co/t/setting-up-elk-processes-in-supervisor/89510/1 "2017-06-15T06:53:38Z")

</div>

I am trying to daemonise Elastic search, Kibana and Logstash processes using supervisor as they shut down at times due to RAM issues. Below is the supervisord programs for it

```
[program:elasticsearch]
command=sudo service elasticsearch start 
autostart=true
autorestart=true

[program:nginx]
command=sudo service nginx start

[program:kibana]
command=sudo service kibana start

[program:logstash]
command=sudo /usr/share/logstash/bin/logstash -f /etc/logstash/logstash.conf &

```

But when i execute supervisorctl, I get the below error

```
elasticsearch FATAL Exited too quickly (process log may have details)
kibana FATAL Exited too quickly (process log may have details)
logstash FATAL Exited too quickly (process log may have details) 
nginx FATAL Exited too quickly (process log may have details)

```

Can someone help me fix this ?

---

<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:** [July 13, 2017, 6:53am UTC](https://discuss.elastic.co/t/setting-up-elk-processes-in-supervisor/89510/2 "2017-07-13T06:53:55Z")

</div>

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