Plugin does not appear even after restarting the graylog server


(Sagar) #1

Aggregate Plugin does not appear even after restarting the graylog server in CentOS
Steps followed :

  1. downloaded jar to graylog plugin dir
  2. restarted the server

I’ve given the plugin directory path in graylog configuration file.

Please let me know if there is any configuration to be made to work this method.


(Jochen) #2

Which version of Graylog and which version of the Aggregates plugin are you using?
How exactly did you download the plugin JAR file?

What’s the output of the following commands (with the correct path) on the machine running Graylog?

# file /path/to/graylog/plugins/graylog-plugin-aggregates-*
# namei -l /path/to/graylog/plugins/graylog-plugin-aggregates-*

(Sagar) #3

Graylog version - Graylog v2.4.5
Aggregates version - graylog-plugin-aggregates-2.2.4.jar

I wget the jar to the plugin location.

ubuntu@d-graylog:/opt/graylog/plugin$ file /opt/graylog/plugin/graylog-plugin-aggregates-*
/opt/graylog/plugin/graylog-plugin-aggregates-2.2.4.jar: HTML document, UTF-8 Unicode text, with very long lines

ubuntu@d-graylog:/opt/graylog/plugin$ namei -l /opt/graylog/plugin/graylog-plugin-aggregates-*
f: /opt/graylog/plugin/graylog-plugin-aggregates-2.2.4.jar
drwxr-xr-x root root /
drwxr-xr-x root root opt
drwxr-xr-x root root graylog
drwxr-xr-x root root plugin
-rw-r–r-- root root graylog-plugin-aggregates-2.2.4.jar


(Jochen) #4

That’s not a valid JAR file but an HTML document. Try with the actual plugin JAR file. :wink:


(Sagar) #5

Oops i missed it…
Thanks its working now !!!