Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46912 - [elasticsearch] 2.0.0-1 Fails to start, directory missing in package
Attached to Project:
Community Packages
Opened by sravel (essari) - Thursday, 29 October 2015, 16:22 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 30 October 2015, 08:10 GMT
Opened by sravel (essari) - Thursday, 29 October 2015, 16:22 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 30 October 2015, 08:10 GMT
|
DetailsDescription:
Elasticsearch fails to start. It tries to access unexisting directory '/usr/share/elasticsearch/bin' Log reports : java.lang.IllegalStateException: Unable to access 'path.home' (/usr/share/elasticsearch/bin) Steps to reproduce: > pacman -S elasticsearch > systemctl start elasticsearch Possibles fixes : * Option 1 : Add an empty 'bin' directory in '/usr/share/elasticsearch/' * Option 2 : Put 'elasticsearch' and 'elasticsearch-plugin' in '/usr/share/elasticsearch/bin/' Create symlinks from '/bin' Additional info: *package version : 2.0.0-1 > systemctl status elasticsearh ● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled) Active: failed (Result: start-limit) since jeu. 2015-10-29 16:02:27 CET; 1h 0min ago Docs: http://www.elastic.co Process: 31877 ExecStart=/usr/bin/elasticsearch -d -p /run/elasticsearch/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=0/SUCCESS) Main PID: 31886 (code=exited, status=1/FAILURE) > journalctl -u elasticsearch systemd[1]: Starting Elasticsearch... systemd[1]: elasticsearch.service: PID file /run/elasticsearch/elasticsearch.pid not readable systemd[1]: Started Elasticsearch. systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: elasticsearch.service: Unit entered failed state. systemd[1]: elasticsearch.service: Failed with result 'exit-code'. |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Friday, 30 October 2015, 08:10 GMT
Reason for closing: Fixed
Additional comments about closing: elasticsearch-2.0.0-2
Friday, 30 October 2015, 08:10 GMT
Reason for closing: Fixed
Additional comments about closing: elasticsearch-2.0.0-2
elasticsearch.log