Getting issus of elastic search. Search is not working.

TJ

Member
Hello,

I am using "XenForo Enhanced Search" . I am suddenly gettting error of 'elastic no working'

when I chec status of elastisearch it shows that is is failed to active. Please suggest hwo to fix this issue.

Code:
sudo service elasticsearch status
● elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-07-15 17:31:08 IST; 4s ago
     Docs: http://www.elastic.co
  Process: 21793 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile=${PID_DIR}/elasticsearch.pid -Des.default.path.home=${ES_HOME} -Des.default.path.logs
  Process: 21789 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
 Main PID: 21793 (code=exited, status=1/FAILURE)

Jul 15 17:31:07 traderji elasticsearch[21793]:         at java.nio.file.Files.newInputStream(Files.java:152)
Jul 15 17:31:07 traderji elasticsearch[21793]:         at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1067)
Jul 15 17:31:07 traderji elasticsearch[21793]:         at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:88)
Jul 15 17:31:07 traderji elasticsearch[21793]:         at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootstrap.java:218)
Jul 15 17:31:07 traderji elasticsearch[21793]:         at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:257)
Jul 15 17:31:07 traderji elasticsearch[21793]:         at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:45)
Jul 15 17:31:07 traderji elasticsearch[21793]: Refer to the log for complete error details.
Jul 15 17:31:08 traderji systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jul 15 17:31:08 traderji systemd[1]: elasticsearch.service: Unit entered failed state.
Jul 15 17:31:08 traderji systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

here is my log file
Code:
/var/log/elasticsearch/elasticsearch.log
    at org.elasticsearch.search.SearchService.createContext(SearchService.java:667)
    at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:633)
    at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:377)
    at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
    at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
    at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)
    at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)
    at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:378)
    at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
 
java -version
Code:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
 
Back
Top Bottom