# ElasticSearch Startup issue

**URL:** <https://discuss.elastic.co/t/elasticsearch-startup-issue/47781>\
**Category:** Elasticsearch\
**Created:** [April 19, 2016, 11:27am UTC](https://discuss.elastic.co/t/elasticsearch-startup-issue/47781 "2016-04-19T11:27:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Sastri](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@Jay\_Sastri](https://discuss.elastic.co/u/Jay_Sastri)\
**Post date:** [April 19, 2016, 11:27am UTC](https://discuss.elastic.co/t/elasticsearch-startup-issue/47781/1 "2016-04-19T11:27:06Z")

</div>

Hi  
I have recently loaded Elasticsearch 1.3.0 to Centos 6.6. I used rpm install. I have installed it into /opt/elasticsearch-1.3.0. I have added chkconfig. When I reboot the machine I see the port 9300 started but not the 9200. When I stop the Elastic search /etc/init.d/elasticsearch stop. Then I start then I see the 9200 port starting. If somebody can help me troubleshoot.  
I have edited the etc/init.d/elasticsearch file to add the path of my installation to exec=  
I have also edited elasticsearch file in /opt/elasticsearch-1.3.0/share/elasticsearch/bin  
to add the path.  
for include in /opt/elasticsearch-1.3.0/share/elasticsearch/bin/elasticsearch.in.sh   
/opt/elasticsearch-1.3.0/share/elasticsearch/bin/elasticsearch.in.sh   
/opt/elasticsearch-1-3.0/share/elasticsearch/bin/elasticsearch.in.sh   
Tried this. It works properly.  
sudo -u elasticsearch /opt/elasticsearch-1.3.0/share/elasticsearch/bin/elasticsearch -d -p /var/run/elasticsearch.pid --default.config=/etc/elasticsearch/elasticsearch.yml --default.path.home=/opt/elasticsearch-1.3.0 --default.path.logs=/var/log/elasticsearch --default.path.data=/var/lib/elasticsearch --default.path.work=/tmp/elasticsearch --default.path.conf=/etc/elasticsearch  
The boot.log shows elasticsearch started  
Let me know if you need any other inputs  
Thanks  
Jay

---

<div class="post-metadata">

**Author:** ![amlife](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@amlife](https://discuss.elastic.co/u/amlife)\
**Post date:** [April 19, 2016, 7:46pm UTC](https://discuss.elastic.co/t/elasticsearch-startup-issue/47781/2 "2016-04-19T19:46:53Z")

</div>

Okay, let's starts with the basics, have you checked the logs? Standard rpm install, check `/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:** [July 5, 2017, 10:57pm UTC](https://discuss.elastic.co/t/elasticsearch-startup-issue/47781/3 "2017-07-05T22:57:56Z")

</div>


