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#48014 - [elasticsearch] the package does not contain required "modules" directory, causing failure to start
Attached to Project:
Community Packages
Opened by Teemu Rytilahti (teprrr) - Wednesday, 03 February 2016, 15:51 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 03 February 2016, 19:48 GMT
Opened by Teemu Rytilahti (teprrr) - Wednesday, 03 February 2016, 15:51 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Wednesday, 03 February 2016, 19:48 GMT
|
DetailsDescription:
The package does not contain modules directory required to make elasticsearch to bootstrap properly. Creating the directory manually fixes the problem. Feb 03 16:21:36 lumi elasticsearch[707]: Exception in thread "main" java.lang.IllegalStateException: Unable to access 'path.home' (/usr/share/elasticsearch/modules) Feb 03 16:21:36 lumi elasticsearch[707]: Likely root cause: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/modules Feb 03 16:21:36 lumi elasticsearch[707]: at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) Feb 03 16:21:36 lumi elasticsearch[707]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) Feb 03 16:21:36 lumi elasticsearch[707]: at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) Feb 03 16:21:36 lumi elasticsearch[707]: at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) Package: community/elasticsearch 2.2.0-1 Steps to reproduce: 1. Install elasticsearch on a clean system 2. systemctl start elasticsearch 3. See the error messages in journalctl |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Wednesday, 03 February 2016, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: elasticsearch-2.2.0-3
Wednesday, 03 February 2016, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: elasticsearch-2.2.0-3
This is not an issue here. I don't have a module directory and the service is running just fine on multiple hosts.
Nevermind: I managed to reproduce the error.