Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_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!
Tasklist

FS#51954 - elasticsearch2 2.4.1-1

Attached to Project: Community Packages
Opened by bad pixel (badpixel) - Friday, 25 November 2016, 06:08 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 25 November 2016, 06:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

i start a fresh install inside a container with elasticsearch + graylogs. config my elasticsearch.yml and save in /etc/graylog/server.

java is 8 and all system is updated. install elasticsearch from AUR and use "makepkg -sri" to install it.

systemctl enable elasticsearch work and syslink are created:

[reversal@graylog-server bin]$ sudo systemctl enable elasticsearch
Created symlink /etc/systemd/system/multi-user.target.wants/elasticsearch.service -> /usr/lib/systemd/system/elasticsearch.service.

try to start elasticserach with "systemctl start elasticsearch" and i have this:

[reversal@graylog-server bin]$ sudo systemctl start elasticsearch
Job for elasticsearch.service failed.
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
[reversal@graylog-server bin]$ systemctl status elasticsearch.service
* elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit-hit) since Fri 2016-11-25 03:53:05 BRST; 17s ago
Docs: http://www.elastic.co
Process: 2168 ExecStart=/usr/bin/elasticsearch -d -p /run/elasticsearch/elasticsearch.pid -Des.default.path.home=${ES_HOME}
Main PID: 2177 (code=exited, status=1/FAILURE)

Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Service hold-off time over, scheduling restart.
Nov 25 03:53:05 graylog-server systemd[1]: Stopped Elasticsearch.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Start request repeated too quickly.
Nov 25 03:53:05 graylog-server systemd[1]: Failed to start Elasticsearch.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Unit entered failed state.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Failed with result 'start-limit-hit'.
Nov 25 03:53:08 graylog-server systemd[1]: elasticsearch.service: Start request repeated too quickly.
Nov 25 03:53:08 graylog-server systemd[1]: Failed to start Elasticsearch.
Nov 25 03:53:08 graylog-server systemd[1]: elasticsearch.service: Failed with result 'start-limit-hit'.
lines 1-17/17 (END)
[reversal@graylog-server bin]$ journalctl -xe
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSyste
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at java.nio.file.Files.createDirectory(Files.java:674)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at java.nio.file.Files.createDirectories(Files.java:767)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Secu
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Security.addPath(Security.java:314)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Security.addFilePermissions(Securit
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Security.createPermissions(Security
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Security.configure(Security.java:11
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Bootstrap.setupSecurity(Bootstrap.j
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:183)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286)
Nov 25 03:53:05 graylog-server elasticsearch[2168]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.ja
Nov 25 03:53:05 graylog-server elasticsearch[2168]: Refer to the log for complete error details.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Unit entered failed state.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Service hold-off time over, scheduling restart.
Nov 25 03:53:05 graylog-server systemd[1]: Stopped Elasticsearch.
-- Subject: Unit elasticsearch.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit elasticsearch.service has finished shutting down.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Start request repeated too quickly.
Nov 25 03:53:05 graylog-server systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit elasticsearch.service has failed.
--
-- The result is failed.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Unit entered failed state.
Nov 25 03:53:05 graylog-server systemd[1]: elasticsearch.service: Failed with result 'start-limit-hit'.
Nov 25 03:53:08 graylog-server sudo[2199]: reversal : TTY=console ; PWD=/usr/bin ; USER=root ; COMMAND=/usr/bin/systemctl star
Nov 25 03:53:08 graylog-server sudo[2199]: pam_unix(sudo:session): session opened for user root by LOGIN(uid=0)
Nov 25 03:53:08 graylog-server systemd[1]: elasticsearch.service: Start request repeated too quickly.
Nov 25 03:53:08 graylog-server systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit elasticsearch.service has failed.
--
-- The result is failed.
Nov 25 03:53:08 graylog-server systemd[1]: elasticsearch.service: Failed with result 'start-limit-hit'.

i found this but for is not a solution:

https://bugs.archlinux.org/task/50049

This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 25 November 2016, 06:22 GMT
Reason for closing:  None
Additional comments about closing:  AUR packages are not supported
Comment by bad pixel (badpixel) - Friday, 25 November 2016, 06:11 GMT
symlink**

sorry my bad english guys...

Loading...