Support Questions

Find answers, ask questions, and share your expertise

Ambari mertices collector going down

avatar
Expert Contributor

Ambari metrices collector is going down with below error log-

01:13:19,214 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:19,215 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:19,458 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:19,459 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:19,481 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:19,482 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770001 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:20,126 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:20,126 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770001 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:20,664 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:20,664 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:21,245 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:21,246 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770001 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 01:13:21,616 INFO [main-SendThread(localhost:61181)] ClientCnxn:975 - Opening socket connection to server localhost/127.0.0.1:61181. Will not attempt to authenticate using SASL (unknown error) 01:13:21,617 WARN [main-SendThread(localhost:61181)] ClientCnxn:1102 - Session 0x133e44300770002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)

Please help.

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Issue is resolved.

Issue was with ntpd.

started ntpd service-

sudo service ntpd start

View solution in original post

1 REPLY 1

avatar
Expert Contributor

Issue is resolved.

Issue was with ntpd.

started ntpd service-

sudo service ntpd start