Description

This article lists a scenario wherein the following log message may appear, and explains what must be done to troubleshoot it.

alarmd[18846]: %DAEMON-4-ALARMD_CONNECTION_FAILURE: after 60 attempts clksyncd connect returned error"

Solution

The alarmd daemon on the chassis is supposed to connect to the clksyncd daemon. However, in some cases if it is not able to connect, then the ALARMD_CONNECTION_FAILURE message is logged.

One scenario where the alarmd daemon will not be able to connect to the clksyncd daemon is when the clksyncd-service disable option is configured. When this option is configured and enabled, it disables the Clock Synchronization process as a result of which the alarmd cannot connect with the clksyncd process.

labroot@router-name> show configuration system              
processes {
    clksyncd-service disable;
}
Apr 26 11:25:36.817  router-name alarmd[26794]: ALARMD_CONNECTION_FAILURE: after 60 attempts clksyncd connect returned error: Connection refused
Apr 26 11:25:36.817  router-name alarmd[26794]: conn_connect 143: conn_who 3, connecton fails, retried 60 times, error: Connection refused.

If the clksyncd-service disable option is configured and enabled, the log message is expected and therefore no action would be required.

However, if the option is not configured but the log message is seen, then contact Support for further investigation and troubleshooting.

Modification History

2022-06-06: Version 1