ES start error and logstash

I am unable to start ES.

logstash v2. It is running on Java version 1.7, suse linux 11. How do i check and clear the diskspace of nodes?

Error while starting ES (not screenshots)

  1. service elasticsearch start

Starting elasticsearch: start_daemon: Empty pid file /var/run/elasticsearch/elasticsearch.pid for /srv/jas/app/elasticsearch/bin/elasticsearch
done

linux-969h:/sysmgmt/opt/logstash # Exception in thread "main" ElasticsearchException[codec footer mismatch (file truncated?): actual footer=680781824 vs expected footer=-1071082520 (resource=BufferedChecksumIndexInput(SimpleFSIndexInput(path="/srv/jas/data/elasticsearch/DaimlerELK/nodes/0/indices/chinausecase/_state/state-11.st")))]; nested: CorruptStateException[codec footer mismatch (file truncated?): actual footer=680781824 vs expected footer=-1071082520 (resource=BufferedChecksumIndexInput(SimpleFSIndexInput(path="/srv/jas/data/elasticsearch/DaimlerELK/nodes/0/indices/chinausecase/_state/state-11.st")))];
Likely root cause: org.elasticsearch.gateway.CorruptStateException: codec footer mismatch (file truncated?): actual footer=680781824 vs expected footer=-1071082520 (resource=BufferedChecksumIndexInput(SimpleFSIndexInput(path="/srv/jas/data/elasticsearch/DaimlerELK/nodes/0/indices/chinausecase/_state/state-11.st")))
at org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:416)
at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:331)
at org.apache.lucene.codecs.CodecUtil.checksumEntireFile(CodecUtil.java:449)
at org.elasticsearch.gateway.MetaDataStateFormat.read(MetaDataStateFormat.java:177)
at org.elasticsearch.gateway.MetaDataStateFormat.loadLatestState(MetaDataStateFormat.java:299)
at org.elasticsearch.gateway.MetaStateService.loadIndexState(MetaStateService.java:112)
at org.elasticsearch.gateway.MetaStateService.loadFullState(MetaStateService.java:97)
at org.elasticsearch.gateway.GatewayMetaState.loadMetaState(GatewayMetaState.java:97)
at org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:223)
at org.elasticsearch.gateway.GatewayMetaState.(GatewayMetaState.java:85)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at <<>>
at org.elasticsearch.node.Node.(Node.java:198)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)

  1. Error while running the logstash configuration file

Attempted to send a bulk request to Elasticsearch configured at '["http://192.168.124.128:40200/"]', but Elasticsearch appears to be unreachable or down! {:error_message=>"Connection refused", :class=>"Manticore::SocketException", :client_config=>{:hosts=>["http://192.168.124.128:40200/"], :ssl=>nil, :transport_options=>{:socket_timeout=>0, :request_timeout=>0, :proxy=>nil, :ssl=>{}}, :transport_class=>Elasticsearch::Transport::Transport::HTTP::Manticore, :headers=>{"Authorization"=>"Basic ZXNfYWRtaW46I2VsazIwIw=="}, :logger=>nil, :tracer=>nil, :reload_connections=>false, :retry_on_failure=>false, :reload_on_failure=>false, :randomize_hosts=>false}, :level=>:error}

please do not attach screenshots of your environment, but take the time to properly copy/paste logfiles in here, as those are much more readable and greppable.

Which Elasticsearch version is this? Which JVM are you running on? Have you run out of disk space on one that node recently?

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