Score:0

start service elasticsearch failed

eg flag

I have an issue on my VM ubuntu 20.04 where the service elasticsearch failed to start. here is the result returned after executing the command start service:

# service elasticsearch start
Job for elasticsearch.service failed because the control process exited with error code.
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.

and here is the logs of journal:

Oct 25 23:28:16 stavilelk01test logstash[9921]:         at usr.share.logstash.lib.bootstrap.environment.<main>(/usr/share/logstash/lib/bootstrap/environment>
Oct 25 23:28:16 stavilelk01test systemd[1]: logstash.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit logstash.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Oct 25 23:28:16 stavilelk01test systemd[1]: logstash.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit logstash.service has entered the 'failed' state with result 'exit-code'.
Oct 25 23:28:16 stavilelk01test systemd[1]: logstash.service: Scheduled restart job, restart counter is at 114.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit logstash.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Oct 25 23:28:16 stavilelk01test systemd[1]: Stopped logstash.
-- Subject: A stop job for unit logstash.service has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit logstash.service has finished.
--
-- The job identifier is 9387 and the job result is done.
Oct 25 23:28:16 stavilelk01test systemd[1]: Started logstash.
-- Subject: A start job for unit logstash.service has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit logstash.service has finished successfully.
--
-- The job identifier is 9387.
Oct 25 23:28:16 stavilelk01test logstash[9992]: Using bundled JDK: /usr/share/logstash/jdk
Oct 25 23:28:16 stavilelk01test logstash[9992]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be>
lines 1372-1411/1411 (END)

help please, what can be the issue.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.