Graylog Web - Port 9000 - Not Working

Hi everyone.

I’ve installed Graylog 4 Server in SUSE Linux 15 SP3 recently and I still cannot make it run on port 9000.

ElasticSearch is fine
Mongodb is fine
Graylog service is running, but, port 9000 is not working.

Here is the output of my graylog log:

2022-06-06T20:51:14.305-03:00 INFO  [CmdLineTool] Loaded plugin: Elasticsearch 7 Support 4.3.1+78ee2f1 [org.graylog.storage.elasticsearch7.Elasticsearch7Plugin]
2022-06-06T20:51:14.336-03:00 INFO  [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow -Djdk.tls.acknowledgeCloseNotify=true -Dlog4j2.formatMsgNoLookups=true -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=rpm
2022-06-06T20:51:14.796-03:00 INFO  [cluster] Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=5000}
2022-06-06T20:51:14.837-03:00 INFO  [cluster] Cluster description not yet available. Waiting for 30000 ms before timing out
2022-06-06T20:51:14.863-03:00 INFO  [connection] Opened connection [connectionId{localValue:1, serverValue:41}] to localhost:27017
2022-06-06T20:51:14.871-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=[5, 0, 0]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=5654026}
2022-06-06T20:51:14.883-03:00 INFO  [connection] Opened connection [connectionId{localValue:2, serverValue:42}] to localhost:27017
2022-06-06T20:51:14.912-03:00 INFO  [connection] Closed connection [connectionId{localValue:2, serverValue:42}] to localhost:27017 because the pool has been closed.
2022-06-06T20:51:14.914-03:00 INFO  [MongoDBPreflightCheck] Connected to MongoDB version 5.0.0
2022-06-06T20:51:15.039-03:00 INFO  [SearchDbPreflightCheck] Connected to (Elastic/Open)Search version <Elasticsearch:7.10.2>

Elastic Search (replaced the IP address for XX).

[2022-06-06T20:50:43,678][INFO ][o.e.n.Node               ] [CLUSTERNAME] initialized
[2022-06-06T20:50:43,679][INFO ][o.e.n.Node               ] [CLUSTERNAME] starting ...
[2022-06-06T20:50:43,787][INFO ][o.e.t.TransportService   ] [CLUSTERNAME] publish_address {XX:9300}, bound_addresses {XX:9300}
[2022-06-06T20:50:44,014][INFO ][o.e.b.BootstrapChecks    ] [CLUSTERNAME] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-06-06T20:50:44,016][INFO ][o.e.c.c.Coordinator      ] [CLUSTERNAME] cluster UUID [p39QXOxkSI2Ztyo6eU4PUQ]
[2022-06-06T20:50:44,130][INFO ][o.e.c.s.MasterService    ] [CLUSTERNAME] elected-as-master ([1] nodes joined)[{CLUSTERNAME}{-nnt-pJRT6KxRBBhB-QoLw}{IIpG98HeQRKGbDtHOQ3UcQ}{XX}{XX:9300}{dimr} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 11, version: 21, delta: master node changed {previous [x], current [{CLUSTERNAME}{-nnt-pJRT6KxRBBhB-QoLw}{IIpG98HeQRKGbDtHOQ3UcQ}{XX}{XX:9300}{dimr}]}
[2022-06-06T20:50:44,194][INFO ][o.e.c.s.ClusterApplierService] [CLUSTERNAME] master node changed {previous [], current [{CLUSTERNAME}{-nnt-pJRT6KxRBBhB-QoLw}{IIpG98HeQRKGbDtHOQ3UcQ}{XX}{XX:9300}{dimr}]}, term: 11, version: 21, reason: Publication{term=11, version=21}
[2022-06-06T20:50:44,222][INFO ][o.e.h.AbstractHttpServerTransport] [CLUSTERNAME] publish_address {XX:9200}, bound_addresses {XX:9200}
[2022-06-06T20:50:44,224][INFO ][o.e.n.Node               ] [CLUSTERNAME] started
[2022-06-06T20:50:44,251][INFO ][o.e.g.GatewayService     ] [CLUSTERNAME] recovered [0] indices into cluster_state

The command lsof -i:9000 doesnt return anything.

The comand lsof -i 9200 for example, give me some returns.

Thanks a lot, need some help here.

Can you post the versions (Graylog, MongoDB, Elasticsearch) you are using and your graylog.conf file? You can find commands for all that (and more) in Posting Tips. Are you using SELinux? If so you need to read further in the install docs here… it’s further down the page…

1 Like

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