start service elasticsearch failed

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:
--
-- 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:
--
-- 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:
--
-- 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:
--
-- 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:
--
-- 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.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like