After new installation of 7.14, I am getting this error when I try to start the service.
Tried different solutions on from this forum without any luck.
I am new to Elasticsearch so need help.
Following are the logs from
journalctl -xe
Aug 21 04:07:48 ip-172-31-28-3 sudo[2909988]: root : TTY=pts/0 ; PWD=/var/www/html ; USER=root ; COMMAND=/usr/bin/systemctl start elasticse>
Aug 21 04:07:48 ip-172-31-28-3 sudo[2909988]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Aug 21 04:07:48 ip-172-31-28-3 systemd[1]: Starting Elasticsearch...
-- Subject: A start job for unit elasticsearch.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit elasticsearch.service has begun execution.
--
-- The job identifier is 598096.
Aug 21 04:07:48 ip-172-31-28-3 systemd-entrypoint[2909991]: /usr/share/elasticsearch/bin/elasticsearch-env: line 87: /etc/default/elasticsearch>
Aug 21 04:07:48 ip-172-31-28-3 systemd[1]: elasticsearch.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 elasticsearch.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 21 04:07:48 ip-172-31-28-3 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit elasticsearch.service has entered the 'failed' state with result 'exit-code'.
Aug 21 04:07:48 ip-172-31-28-3 systemd[1]: Failed to start Elasticsearch.
-- Subject: A start job for unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit elasticsearch.service has finished with a failure.
--
-- The job identifier is 598096 and the job result is failed.
Aug 21 04:07:48 ip-172-31-28-3 sudo[2909988]: pam_unix(sudo:session): session closed for user root
Aug 21 04:08:01 ip-172-31-28-3 CRON[2910044]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 21 04:08:01 ip-172-31-28-3 CRON[2910045]: pam_unix(cron:session): session opened for user root by (uid=0)
Aug 21 04:08:01 ip-172-31-28-3 CRON[2910046]: (root) CMD (cd /var/www/html/panavid; php -f cron.php > /dev/null 1>&1)
Aug 21 04:08:01 ip-172-31-28-3 CRON[2910048]: (root) CMD (cd /var/www/html/preprod; php -f cron.php > /dev/null 2>&1)
Aug 21 04:08:02 ip-172-31-28-3 CRON[2910044]: pam_unix(cron:session): session closed for user root
Aug 21 04:08:02 ip-172-31-28-3 CRON[2910045]: (CRON) info (No MTA installed, discarding output)
Aug 21 04:08:02 ip-172-31-28-3 CRON[2910045]: pam_unix(cron:session): session closed for user root