Hi,

      I am trying to install elasticsearch on Redhat. I have downloaded and 
installed latest elasticsearch from the website. While starting 
elasticsearch , I am getting following exception:


[root@common ~]# /usr/share/elasticsearch/bin/elasticsearch
Failed to configure logging...
org.elasticsearch.ElasticsearchException: Failed to load logging 
configuration
    at org.elasticsearch.common.logging.log4j.LogConfigurator.
resolveConfig(LogConfigurator.java:117)
    at org.elasticsearch.common.logging.log4j.LogConfigurator.
configure(LogConfigurator.java:81)
    at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)
    at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
*Caused by: java.nio.file.NoSuchFileException: 
/usr/share/elasticsearch/config*
    at sun.nio.fs.UnixException.translateToIOException(
UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(
UnixFileAttributeViews.java:55)
    at sun.nio.fs.UnixFileSystemProvider.readAttributes(
UnixFileSystemProvider.java:144)
    at sun.nio.fs.LinuxFileSystemProvider.readAttributes(
LinuxFileSystemProvider.java:97)
    at java.nio.file.Files.readAttributes(Files.java:1684)
    at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:109)
    at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)
    at java.nio.file.Files.walkFileTree(Files.java:2600)
    at org.elasticsearch.common.logging.log4j.LogConfigurator.
resolveConfig(LogConfigurator.java:107)
    ... 4 more
log4j:WARN No appenders could be found for logger (node).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.

I don't see this file on the system:
*/usr/share/elasticsearch/config*

Is this a problem in latest rpm package on the website?

Thnx

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6636c7e3-e614-46ca-b820-04545b56e372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to