Graylog3 not starting

Hi All,

I was trying to install Graylog3. After providing configurations, I was trying to start it… But Graylog isn’t starting. When I check logs… I found the below:

2019-08-03 21:05:32,216 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: AWS plugins 3.0.2 [org.graylog.aws.AWSPlugin]
2019-08-03 21:05:32,219 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Collector 3.0.2 [org.graylog.plugins.collector.CollectorPlugin]
2019-08-03 21:05:32,220 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Threat Intelligence Plugin 3.0.2 [org.graylog.plugins.threatintel.ThreatIntelPlugin]
Exception in thread "main" java.lang.NullPointerException
        at org.graylog2.Configuration$NodeIdFileValidator.validate(Configuration.java:295)
        at org.graylog2.Configuration$NodeIdFileValidator.validate(Configuration.java:284)
        at com.github.joschi.jadconfig.JadConfig.validateParameter(JadConfig.java:215)
        at com.github.joschi.jadconfig.JadConfig.processClassFields(JadConfig.java:148)
        at com.github.joschi.jadconfig.JadConfig.process(JadConfig.java:99)
        at org.graylog2.bootstrap.CmdLineTool.processConfiguration(CmdLineTool.java:351)
        at org.graylog2.bootstrap.CmdLineTool.readConfiguration(CmdLineTool.java:344)
        at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:178)
        at org.graylog2.bootstrap.Main.main(Main.java:50)

It stops here and never proceeds further.

Research what I have done so far:
When I google it I got few suggestions as node-id is missing but how can we generate it. In graylog2 it creates on it’s own right?

Please post us your suggestions, Thanks to all in-advance !!!

Is this a clean install or an upgrade?

Hi Mike,
It’s a clean install

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

For any who come to this thread later, I believe you need to set something like this in your server.conf:

node_id_file = /etc/graylog/server/node-id

See documentation here:

https://docs.graylog.org/en/4.0/pages/configuration/server.conf.html

3 Likes