Package Details: elasticsearch2 2.4.6-1

Git Clone URL: (read-only, click to copy)
Package Base: elasticsearch2
Description: Distributed RESTful search engine built on top of Lucene
Upstream URL:
Licenses: Apache
Conflicts: elasticsearch
Provides: elasticsearch=2.4.6
Submitter: lautat
Maintainer: lautat
Last Packager: lautat
Votes: 9
Popularity: 0.000000
First Submitted: 2016-11-03 13:45
Last Updated: 2017-08-02 15:52

Required by (8)

Sources (7)

Latest Comments

Synthead commented on 2019-12-30 17:27

Looks like this package requires jre8-openjdk-headless to run. This should probably be updated to require this package and use its $JAVA_HOME in /usr/lib/systemd/system/elasticsearch.service.

Also, I see this in the logs when starting elasticsearch.service:

systemd[1]: elasticsearch.service: Can't open PID file /run/elasticsearch/ (yet?) after start: Operation not permitted

Synthead commented on 2019-12-30 17:08

I'm getting this error when trying to start elasticsearch2.service:

systemd[1]: Starting Elasticsearch...
elasticsearch[16638]: Unrecognized VM option 'UseParNewGC'
elasticsearch[16638]: Error: Could not create the Java Virtual Machine.
elasticsearch[16638]: Error: A fatal exception has occurred. Program will exit.
systemd[1]: elasticsearch.service: Control process exited, code=exited, status=1/FAILURE
systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Elasticsearch.

phcerdan commented on 2017-11-16 06:42

Getting not found config error when executing `elasticsearch`: (service is enabled).
I have the config files (yml) in /etc/elasticsearch, but all the rest is in /usr/share/elasticsearch.

Exception in thread "main" ElasticsearchException[Failed to load logging configuration]; nested: NoSuchFileException[/usr/share/elasticsearch/config];
Likely root cause: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/config
at sun.nio.fs.UnixException.translateToIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(
at sun.nio.fs.UnixFileSystemProvider.readAttributes(
at sun.nio.fs.LinuxFileSystemProvider.readAttributes(
at java.nio.file.Files.readAttributes(
at java.nio.file.FileTreeWalker.getAttributes(
at java.nio.file.FileTreeWalker.visit(
at java.nio.file.FileTreeWalker.walk(
at java.nio.file.Files.walkFileTree(
at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(
at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.main(
Refer to the log for complete error details.