Hi Toni, do you really need a custom Elasticsearch configuration file for the embedded ES node inside Graylog? That's usually not necessary.
If Graylog isn't able to read the given file, it emits the error message you've posted. Make sure that the system user running Graylog is allowed to access the given file and that it's allowed to enter all directories leading to that file. Cheers, Jochen On Thursday, 31 March 2016 11:24:32 UTC+2, [email protected] wrote: > > Hi there, > > i am trying to setuo a Graylog 2 Environment since yesterday, but i > couldnt reach the web interface. > At the alpha version of Graylog 2 the problem was solved by setting the > elasticsearch_config_file path but this time, everytime i set the path > graylog throw a error, doesent matter where i put the file. > > The log looks like: > 2016-03-31T14:38:36.707+02:00 ERROR [CmdLineTool] Invalid configuration > com.github.joschi.jadconfig.ValidationException: Cannot read file > elasticsearch_config_file at path /etc/elasticsearch/elasticsearch.yml. > Please specify the correct path or change the permissions > at > com.github.joschi.jadconfig.validators.FilePathReadableValidator.validate(FilePathReadableValidator.java:16) > > ~[graylog.jar:?] > at > com.github.joschi.jadconfig.validators.FilePathReadableValidator.validate(FilePathReadableValidator.java:9) > > ~[graylog.jar:?] > at > com.github.joschi.jadconfig.JadConfig.validateParameter(JadConfig.java:215) > ~[graylog.jar:?] > at > com.github.joschi.jadconfig.JadConfig.processClassFields(JadConfig.java:148) > ~[graylog.jar:?] > at > com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:99) > ~[graylog.jar:?] > at > org.graylog2.bootstrap.CmdLineTool.readConfiguration(CmdLineTool.java:342) > [graylog.jar:?] > at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:166) > [graylog.jar:?] > at org.graylog2.bootstrap.Main.main(Main.java:44) [graylog.jar:?] > > I have checked the premissions and the path, this should be alright. > > Any ideas?` > > Greetings, > Toni > -- You received this message because you are subscribed to the Google Groups "Graylog Users" 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/graylog2/573626ea-1ca9-4f25-a858-1de4ac0515cf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
