Elasticsearch down after server backup


(sadesh warnakulasooriya) #1

later i checked in my elasticsearch logs it shows the service has been shutdown, when i run systemctl start elasticsearch.serivce and later systemctl status elasticsearch.serivice, it shows active failed.

Jul 05 10:21:54 118-27-8-205 systemd[1]: Started Elasticsearch.
Jul 05 10:21:54 118-27-8-205 systemd[1]: Starting Elasticsearch...
Jul 05 10:21:55 118-27-8-205 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jul 05 10:21:55 118-27-8-205 systemd[1]: Unit elasticsearch.service entered failed state.
Jul 05 10:21:55 118-27-8-205 systemd[1]: elasticsearch.service failed.
Jul 05 10:22:35 118-27-8-205 systemd[1]: Started Elasticsearch.
Jul 05 10:22:35 118-27-8-205 systemd[1]: Starting Elasticsearch...
Jul 05 10:22:35 118-27-8-205 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jul 05 10:22:35 118-27-8-205 systemd[1]: Unit elasticsearch.service entered failed state.
Jul 05 10:22:35 118-27-8-205 systemd[1]: elasticsearch.service failed.


(Mark Walkom) #2

Simply posting a log with no further information does not help. Unless you add more information on what the problem you are trying to solve it, you won't get much assistance.


(sadesh warnakulasooriya) #3

Hi, thank you for your quick respond,

following i have mentioned my current elasticsearch log, it shows service has been shutdown.

[2018-07-04T01:00:00,021][INFO ][o.e.x.m.e.l.LocalExporter] cleaning up [1] old indices
[2018-07-04T01:00:00,077][INFO ][o.e.c.m.MetaDataDeleteIndexService] [P9o6tbC] [.monitoring-es-6-2018.06.26/Nc-nBASqSmq_q3ZftcoVWQ] deleting index
[2018-07-04T01:30:00,003][INFO ][o.e.x.m.MlDailyMaintenanceService] triggering scheduled [ML] maintenance tasks
[2018-07-04T01:30:00,009][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [P9o6tbC] Deleting expired data
[2018-07-04T01:30:00,156][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [P9o6tbC] Completed deletion of expired data
[2018-07-04T01:30:00,157][INFO ][o.e.x.m.MlDailyMaintenanceService] Successfully completed [ML] maintenance tasks
[2018-07-04T08:34:59,184][INFO ][o.e.n.Node ] [P9o6tbC] stopping ...
[2018-07-04T08:34:59,233][INFO ][o.e.x.w.WatcherService ] [P9o6tbC] stopping watch service, reason [shutdown initiated]
[2018-07-04T08:34:59,380][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/1473] [Main.cc@148] Ml controller exiting
[2018-07-04T08:34:59,382][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started
[2018-07-04T08:34:59,455][INFO ][o.e.n.Node ] [P9o6tbC] stopped
[2018-07-04T08:34:59,455][INFO ][o.e.n.Node ] [P9o6tbC] closing ...
[2018-07-04T08:34:59,488][INFO ][o.e.n.Node ] [P9o6tbC] closed


(Mark Walkom) #4

Looks like something has shut the service down, as you mention. We can't say what, you'd need to consult your OS logs.


(sadesh warnakulasooriya) #5

Hi, i narrowed down the problem more with my logs and i found this,

elasticsearch[16692]: /usr/share/elasticsearch/bin/elasticsearch-env: line 70: /etc/sysconfig/elasticsearch: Permission denied

can you help me with this problem??


(system) #6

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