Page 1 of 2

Unable to start Elasticsearch Database & Logstash Collector

Posted: Wed Jan 20, 2016 6:05 pm
by bosecorp
I am unable to start the elasticsearch and logstash

here is the error I am getting




In addition, when I try to check the cluster statis, I get a 500 error

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 6:07 pm
by Box293
Can you please run these commands on one of your nodes:

Code: Select all

tail /var/log/logstash/*.log -n 100 > /tmp/logstash_logs.txt
tail /var/log/elasticsearch/*.log -n 100 > /tmp/elasticsearch_logs.txt
Then send through these files:
/tmp/logstash_logs.txt
/tmp/elasticsearch_logs.txt

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 6:29 pm
by bosecorp
here you go

and by the way, I tried rebooting the server, and it did;t help

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 6:39 pm
by Box293
What is the output of these commands:

Code: Select all

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
curl -XGET 'http://localhost:9200/_cat/shards?v'

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 6:41 pm
by bosecorp
here you go

# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "be1634c9-ce99-4b4c-b458-1449ec38cbf8",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 4,
"number_of_data_nodes" : 4,
"active_primary_shards" : 923,
"active_shards" : 1846,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 46
}

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 7:01 pm
by bosecorp
how do I run the cluster command

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 7:08 pm
by Box293
It's this command:

Code: Select all

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 7:10 pm
by bosecorp
# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "be1634c9-ce99-4b4c-b458-1449ec38cbf8",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 4,
"number_of_data_nodes" : 4,
"active_primary_shards" : 933,
"active_shards" : 1442,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 466
}

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 7:24 pm
by Box293
I think we should take this into a support ticket so we can help you through a remote session.

Please send an email to [email protected] referencing this forum thread and we'll take it from there. Reply to this thread when you have done this so we can confirm we received the email.

Re: Unable to start Elasticsearch Database & Logstash Colle

Posted: Wed Jan 20, 2016 7:27 pm
by bosecorp
I have sent the email you asked.