Search code examples
elasticsearchjvmgraylog

How to solve JVM Error while starting Graylog


Hello i get an error while try to start graylog. SS belongs to server.log file. I just installed it and didn't change any default configuration. Helps are appreciated.

[server.log error1

EDIT: I debugged the startup script and see my JAVA_HOME environment was not true, fixed this, then i run through logs and see there was password warning, it expects at least 16 characters long, changed the config file and runned it. It worked. Hope this helps to everyone.


Solution

  • This is likely because you're using JDK version 15+. CMS collector has been deprecated in JDK 9 and related options were removed in JDK 15: https://github.com/elastic/elasticsearch/issues/51361

    I don't know Graylog but you can either change its default startup script or use an older Java version.