I upgraded both my graylog nodes from 3.2.4 to 3.2.5 through yum.
Using open jdk 1.8.0_252
I rebooted the servers and while they the startup sequence looks normal, until I get this error:
2020-05-21T01:22:43.676+02:00 INFO [cluster] Exception in monitor thread while connecting to server rtce-log-mongo2/graylog2:27017 com.mongodb.MongoSocketException: rtce-log-mongo2/graylog2: Name or service not known at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:188) ~[graylog.jar:?] at com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:59) ~[graylog.jar:?] at com.mongodb.connection.SocketStream.open(SocketStream.java:57) ~[graylog.jar:?] at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:126) ~[graylog .jar:?] at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:1 14) [graylog.jar:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252] Caused by: java.net.UnknownHostException: rtce-log-mongo2/graylog2: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_252] at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[?:1.8.0_252] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[?:1.8.0_252] at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[?:1.8.0_252] at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:1.8.0_252] at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_252] at java.net.InetAddress.getByName(InetAddress.java:1077) ~[?:1.8.0_252] at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:186) ~[graylog.jar:?]
I then get repeated lines of this:
2020-05-21T01:22:49.052+02:00 INFO [connection] Opened connection [connectionId{localValue:13, serverValue:1488}] to rtce-log-mongo1.unog.un.org:27017
2020-05-21T01:22:49.415+02:00 INFO [connection] Opened connection [connectionId{localValue:14, serverValue:1489}] to rtce-log-mongo1.unog.un.org:27017
2020-05-21T01:22:49.737+02:00 INFO [connection] Opened connection [connectionId{localValue:15, serverValue:1490}] to rtce-log-mongo1.unog.un.org:27017
2020-05-21T01:22:50.059+02:00 INFO [connection] Opened connection [connectionId{localValue:16, serverValue:1491}] to rtce-log-mongo1.unog.un.org:27017
2020-05-21T01:22:50.342+02:00 INFO [connection] Opened connection [connectionId{localValue:17, serverValue:1492}] to rtce-log-mongo1.unog.un.org:27017
The boot sequence does not go any further than this.
Ports 9000, 9200 do not function and the web interface does not come up.
The primary mongodb node logs say that the servers are making connections:
2020-05-21T01:22:49.721+0200 I NETWORK [conn1490] received client metadata from 10.18.221.212:59238 conn1490: { driver: { name: “mongo-java-driver”, version: “unknown” }, os: { type: “Linux”, name: “Linux”, architecture: “amd64”, version: “3.10.0-1127.8.2.el7.x86_64” }, platform: “Java/Oracle Corporation/1.8.0_252-b09” }
2020-05-21T01:22:49.997+0200 I NETWORK [listener] connection accepted from 10.18.221.212:59240 #1491 (24 connections now open)
2020-05-21T01:22:50.026+0200 I NETWORK [conn1491] received client metadata from 10.18.221.212:59240 conn1491: { driver: { name: “mongo-java-driver”, version: “unknown” }, os: { type: “Linux”, name: “Linux”, architecture: “amd64”, version: “3.10.0-1127.8.2.el7.x86_64” }, platform: “Java/Oracle Corporation/1.8.0_252-b09” }
Any help would be appreciated.