I install ES 2.3.3, and then start elasticsearch
but Active status is failed.
so i want to see log file.
but in /var/lib/elasticsearch folder. there are no log file.
is any other folder?
this is log message
elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-01-24 09:23:31 UTC; 4s ago
Docs: http://www.elastic.co
Process: 16790 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile=${PID_DIR}/elasticsearch.pid -Des.default.path.home=${ES_HOME} -Des.default.path.logs=${LOG_DIR} -Des.default.path.data=${DATA_DIR} -Des.default.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 16788 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 16790 (code=exited, status=1/FAILURE)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at java.nio.file.Files.newInputStream(Files.java:152)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1067)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:88)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootstrap.java:202)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:241)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal elasticsearch[16790]: Refer to the log for complete error details.
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal systemd[1]: Unit elasticsearch.service entered failed state.
Jan 24 09:23:31 ip-192-168-100-168.ap-northeast-2.compute.internal systemd[1]: elasticsearch.service failed.