Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.37k stars 1.06k forks source link

graylog-server fails to start with no errors in the logs #4273

Closed davebenvenuti closed 7 years ago

davebenvenuti commented 7 years ago

Expected Behavior

The server should start and stay running

Current Behavior

The server starts, crashes, starts again, crashes, repeat. All I see in the logs is this over and over:

2017-10-19T13:46:20.517-04:00 INFO  [CmdLineTool] Loaded plugin: Elastic Beats Input 2.3.1 [org.graylog.plugins.beats.BeatsInputPlugin]
2017-10-19T13:46:20.519-04:00 INFO  [CmdLineTool] Loaded plugin: Collector 2.3.1 [org.graylog.plugins.collector.CollectorPlugin]
2017-10-19T13:46:20.520-04:00 INFO  [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.3.1 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2017-10-19T13:46:20.521-04:00 INFO  [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.3.1 [org.graylog.plugins.map.MapWidgetPlugin]
2017-10-19T13:46:20.531-04:00 INFO  [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.3.1 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2017-10-19T13:46:20.532-04:00 INFO  [CmdLineTool] Loaded plugin: Anonymous Usage Statistics 2.3.1 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2017-10-19T13:46:20.762-04:00 INFO  [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=deb
2017-10-19T13:46:20.981-04:00 INFO  [Version] HV000001: Hibernate Validator null

Possible Solution

Steps to Reproduce (for bugs)

Here's the steps I took to install, maybe I made a mistake along the way:

  1. Start up a VM running Ubuntu 14.04
  2. Install Oracle Java 9.0.1+11
  3. Install elasticsearch 1.7.4 from the official deb
  4. Install mongodb 3.4.9 from the official mongodb community repo
  5. Install graylog2-server 2.3.1-1 from the apt repo
  6. Modify server.conf

Context

I can't use graylog-server :-(

Your Environment

joschi commented 7 years ago

@davebenvenuti Graylog is currently not compatible with Java 9: http://docs.graylog.org/en/2.3/pages/installation.html#system-requirements

Please downgrade to Java 8 and try again.

davebenvenuti commented 7 years ago

@joschi whoops, thanks!