Starting Elasticsearch Server [ OK ]
root@:/# service elasticsearch status
elasticsearch is not running
this is the issue i am facing. earlier port 9200 is to be in close wait state. i thought closing it forcely will resolve my issue. But, it did not solve my issue.
once you have to restart your system..
then type this command "netstat -nlp|grep 9200" if port is in use then kill it by this command
"kill -9 pid" (pid means u will seen one id by typing previous command).
After killing the port then u have to start elastic search.
there are no logs. only two logs of the previous dates are present.
I had this problem right from the begining of the installation. after restrating multiple times. the problem got resolved. But my server went down for 3 days. after the server is up the same problem arised.
Are you sure there is nothing in the Elasticsearch logs? The location depends on how you installed Elasticsearch, but should be /var/log/elasticsearch if you installed it using a package.
it is running fine in the virtual box.. but in the vps it is creating the issue. but after some multiple restarts it worked fine. but the vps denied acceess for 3 days . after 3 days.. it started responding.. but showing same error. i restarted multipe times and killed the port which is in time wait state....and restarted the service again but the problem didnt solved.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.