Hi. I’ve a problem. Elasticsearch, mongodb is working. But graylog service has problem.
/etc/elasticsearch/elasticsearch.yml
cluster.name: graylog network.host: 192.168.1.222 http.port: 9200
[root@localhost]# curl -XGET ‘http://192.168.1.222:9200/_cluster/health?pretty=true’
{
“cluster_name” : “graylog”,
“status” : “green”,
“timed_out” : false,
“number_of_nodes” : 1,
“number_of_data_nodes” : 1,
“active_primary_shards” : 0,
“active_shards” : 0,
“relocating_shards” : 0,
“initializing_shards” : 0,
“unassigned_shards” : 0,
“delayed_unassigned_shards” : 0,
“number_of_pending_tasks” : 0,
“number_of_in_flight_fetch” : 0,
“task_max_waiting_in_queue_millis” : 0,
“active_shards_percent_as_number” : 100.0
}
/etc/graylog/server/server.conf
password_secret = <my_pass_secret> root_password_sha2 = <my_pass_sha2> rest_listen_uri = http://192.168.1.222:12900/ web_listen_uri = http://192.168.1.222:9000/
[root@localhost]# systemctl status graylog-server.service
● graylog-server.service - Graylog server
Loaded: loaded (/usr/lib/systemd/system/graylog-server.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Pzt 2019-02-04 05:05:46 +03; 3s ago
Process: 20798 ExecStart=/usr/share/graylog-server/bin/graylog-server (code=exited, status=1/FAILURE)
Main PID: 20798 (code=exited, status=1/FAILURE)
Şub 04 05:05:46 localhost.localdomain systemd[1]: graylog-server.service: main process exited, code=exited, status=1/FAILURE
Şub 04 05:05:46 localhost.localdomain systemd[1]: Unit graylog-server.service entered failed state.
Şub 04 05:05:46 localhost.localdomainsystemd[1]: graylog-server.service failed.
Logs: /var/log/graylog-server - last lines -
2019-02-05T00:09:51.663+03:00 INFO [CmdLineTool] Loaded plugin: AWS plugins 2.5.1 [org.graylog.aws.plugin.AWSPlugin]
2019-02-05T00:09:51.665+03:00 INFO [CmdLineTool] Loaded plugin: Elastic Beats Input 2.5.1 [org.graylog.plugins.beats.BeatsInputPlugin]
2019-02-05T00:09:51.666+03:00 INFO [CmdLineTool] Loaded plugin: CEF Input 2.5.1 [org.graylog.plugins.cef.CEFInputPlugin]
2019-02-05T00:09:51.667+03:00 INFO [CmdLineTool] Loaded plugin: Collector 2.5.1 [org.graylog.plugins.collector.CollectorPlugin]
2019-02-05T00:09:51.668+03:00 INFO [CmdLineTool] Loaded plugin: Enterprise Integration Plugin 2.5.1 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2019-02-05T00:09:51.669+03:00 INFO [CmdLineTool] Loaded plugin: MapWidgetPlugin 2.5.1 [org.graylog.plugins.map.MapWidgetPlugin]
2019-02-05T00:09:51.670+03:00 INFO [CmdLineTool] Loaded plugin: NetFlow Plugin 2.5.1 [org.graylog.plugins.netflow.NetFlowPlugin]
2019-02-05T00:09:51.676+03:00 INFO [CmdLineTool] Loaded plugin: Pipeline Processor Plugin 2.5.1 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2019-02-05T00:09:51.677+03:00 INFO [CmdLineTool] Loaded plugin: Threat Intelligence Plugin 2.5.1 [org.graylog.plugins.threatintel.ThreatIntelPlugin]
2019-02-05T00:09:52.008+03: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=rpm
2019-02-05T00:09:52.218+03:00 INFO [Version] HV000001: Hibernate Validator 5.1.3.Final
2019-02-05T00:09:55.218+03:00 INFO [InputBufferImpl] Message journal is enabled.
2019-02-05T00:09:55.246+03:00 INFO [NodeId] Node ID: a80a69d0-0d07-434d-aef1-3bd81e8afc37
2019-02-05T00:09:55.547+03:00 INFO [LogManager] Loading logs.
2019-02-05T00:09:55.595+03:00 WARN [Log] Found a corrupted index file, /var/lib/graylog-server/journal/messagejournal-0/00000000000000000000.index, deleting and rebuilding index…
2019-02-05T00:09:55.649+03:00 INFO [LogManager] Logs loading complete.
2019-02-05T00:09:55.649+03:00 INFO [KafkaJournal] Initialized Kafka based journal at /var/lib/graylog-server/journal
2019-02-05T00:09:55.681+03:00 INFO [InputBufferImpl] Initialized InputBufferImpl with ring size <65536> and wait strategy , running 2 parallel message handlers.
2019-02-05T00:09:55.717+03:00 INFO [cluster] Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout=‘30000 ms’, maxWaitQueueSize=5000}
2019-02-05T00:09:55.795+03:00 INFO [cluster] No server chosen by ReadPreferenceServerSelector{readPreference=primary} from cluster description ClusterDescription{type=UNKNOWN, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING}]}. Waiting for 30000 ms before timing out
2019-02-05T00:09:55.813+03:00 INFO [connection] Opened connection [connectionId{localValue:1, serverValue:22}] to localhost:27017
2019-02-05T00:09:55.817+03:00 INFO [cluster] Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 6, 10]}, minWireVersion=0, maxWireVersion=6, maxDocumentSize=16777216, roundTripTimeNanos=867808}
2019-02-05T00:09:55.831+03:00 INFO [connection] Opened connection [connectionId{localValue:2, serverValue:23}] to localhost:27017
2019-02-05T00:09:56.348+03:00 INFO [AbstractJestClient] Setting server pool to a list of 1 servers: [http://192.168.1.222:92000]
2019-02-05T00:09:56.349+03:00 INFO [JestClientFactory] Using multi thread/connection supporting pooling connection manager
2019-02-05T00:09:56.454+03:00 INFO [JestClientFactory] Using custom ObjectMapper instance
2019-02-05T00:09:56.454+03:00 INFO [JestClientFactory] Node Discovery disabled…
2019-02-05T00:09:56.455+03:00 INFO [JestClientFactory] Idle connection reaping disabled…
2019-02-05T00:09:56.837+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:58.950+03:00 INFO [OutputBuffer] Initialized OutputBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:58.999+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:59.227+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:59.455+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:59.631+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:09:59.805+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:00.045+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:00.217+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:00.377+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:00.735+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:00.748+03:00 INFO [connection] Opened connection [connectionId{localValue:3, serverValue:24}] to localhost:27017
2019-02-05T00:10:00.973+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:01.101+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy .
2019-02-05T00:10:01.314+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.315+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.315+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.315+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.316+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.316+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.316+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.316+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.317+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.317+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.317+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.317+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.318+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]
2019-02-05T00:10:01.318+03:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.RuntimeException: Unable to fetch module from resource: ByteArrayResource[bytes=[80, 75, 3, 4, 20, 0, 8, 8, 8, 0, …], encoding=null]