Graylog "ERROR [Version] Unable to read version.properties, this build has no version number"

Hi ,
I have installed graylog version 2.3 along with elastic search 5.6 on RHEL 7.2.
I dont see the plugins getting loading .
Below are the errors seen in logs -

2018-02-16T03:05:35.963-06:00 ERROR [Version] Unable to read version.properties, this build has no version number.
java.lang.IllegalArgumentException: Input string is NULL or empty
        at com.github.zafarkhaja.semver.VersionParser.<init>(VersionParser.java:162) ~[graylog.jar:?]
        at com.github.zafarkhaja.semver.VersionParser.parseValidSemVer(VersionParser.java:194) ~[graylog.jar:?]
        at com.github.zafarkhaja.semver.Version.valueOf(Version.java:265) ~[graylog.jar:?]
        at org.graylog2.plugin.Version.fromClasspathProperties(Version.java:219) [graylog.jar:?]
        at org.graylog2.plugin.Version.fromClasspathProperties(Version.java:199) [graylog.jar:?]
        at org.graylog2.plugin.Version.fromClasspathProperties(Version.java:173) [graylog.jar:?]
        at org.graylog2.plugin.Version.<clinit>(Version.java:66) [graylog.jar:?]
        at org.graylog2.bootstrap.CmdLineTool.<clinit>(CmdLineTool.java:90) [graylog.jar:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88) ~[?:1.8.0]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57) ~[?:1.8.0]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:437) [?:2.6 (10-13-2016)]
        at com.github.rvesse.airline.parser.ParserUtil.createInstance(ParserUtil.java:39) [graylog.jar:?]
        at com.github.rvesse.airline.DefaultCommandFactory.createInstance(DefaultCommandFactory.java:25) [graylog.jar:?]
        at com.github.rvesse.airline.parser.ParserUtil.createInstance(ParserUtil.java:94) [graylog.jar:?]
        at com.github.rvesse.airline.parser.ParseResult.getCommand(ParseResult.java:114) [graylog.jar:?]
        at com.github.rvesse.airline.parser.command.CliParser.parse(CliParser.java:54) [graylog.jar:?]
        at com.github.rvesse.airline.Cli.parse(Cli.java:107) [graylog.jar:?]
        at com.github.rvesse.airline.Cli.parse(Cli.java:93) [graylog.jar:?]
        at org.graylog2.bootstrap.Main.main(Main.java:43) [graylog.jar:?]
2018-02-16T03:05:36.319-06:00 ERROR [CmdLineTool] Plugin "Elastic Beats Input" requires version 2.3.0 - not loading!
2018-02-16T03:05:36.320-06:00 ERROR [CmdLineTool] Plugin "Collector" requires version 2.3.0 - not loading!
2018-02-16T03:05:36.322-06:00 ERROR [CmdLineTool] Plugin "Enterprise Integration Plugin" requires version 2.3.0 - not loading!
2018-02-16T03:05:36.334-06:00 ERROR [CmdLineTool] Plugin "MapWidgetPlugin" requires version 2.3.0 - not loading!
2018-02-16T03:05:36.345-06:00 ERROR [CmdLineTool] Plugin "Pipeline Processor Plugin" requires version 2.3.0 - not loading!
2018-02-16T03:05:36.357-06:00 ERROR [CmdLineTool] Plugin "Anonymous Usage Statistics" requires version 2.3.0 - not loading!

How do we resolve this ?

How exactly have you installed Graylog?

Also, please try using the latest stable version (Graylog 2.4.3 as of the time of writing) if you’re creating a new cluster.

I have used rpm -Uvh graylog-server-2.4.3-1.noarch.rpm to install the rpm .
I tried to install the latest stable server version now and is getting the same error

graylog-server.noarch 2.4.3-1

What’s the complete output of the following command?

rpm -V graylog-server

How exactly are you starting Graylog on your system?

I have started the service using below command
sudo systemctl start graylog-server.service

[root@sit-ihs-01 ~]# rpm -V graylog-server
S.5…T. c /etc/graylog/server/server.conf

Try purging the graylog-server completely and reinstall it with yum install graylog-server after the Graylog RPM repository has been added to your system. Or even better, try starting with a fresh installation of RHEL 7.2.

FWIW, I’ve just tested the step-by-step installation guide for CentOS in a Vagrant box and it worked as advertised.

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