What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Both Chrony and NTP at the same time?

JGrana

Very Senior Member
I have been looking at what seems to be a long time for ntp_ready to go true. Seemed fine a few months ago ago.
In doing some looking around, I noticed that both /opt/etc/ntp and /opt/bin/timerserverd/chronyd.conf are running. At the same time.
I do use the Yaz/@Martinski ntpMerlin addon and have selected chronyd as the application to run.
For some reason both are running at the same time. I’m surprised.

Is this normal? Do I have some kind of configuration incorrect?
 
I have been looking at what seems to be a long time for ntp_ready to go true. Seemed fine a few months ago ago.
In doing some looking around, I noticed that both /opt/etc/ntp and /opt/bin/timerserverd/chronyd.conf are running. At the same time.
I do use the Yaz/@Martinski ntpMerlin addon and have selected chronyd as the application to run.
For some reason both are running at the same time. I’m surprised.

Is this normal? Do I have some kind of configuration incorrect?
That's very strange and completely unexpected because when using the CLI menu to toggle the time server selection between ntpd and chronyd, the code quite explicitly stops and then removes the Entware service script for the 'unselected' choice before replacing it with the newly selected time server, so I don't see how it's possible to have the 2 separate processes running at the same time unless some other script is installing and then restarting the Entware service script for the now-unselected time server.

To gather some initial diagnostics info, please download the following shell script onto the router:
Bash:
curl  -LSs --retry 3 --retry-delay 5 --retry-connrefused \
https://raw.githubusercontent.com/Martinski4GitHub/CustomMiscUtils/develop/Diags/DEBUG_ntpMerlin_INFO.sh \
-o "$HOME/DEBUG_ntpMerlin_INFO.sh" && chmod 755 "$HOME/DEBUG_ntpMerlin_INFO.sh"

Once it's downloaded, execute the script and post the output file that gets generated:
Bash:
$HOME/DEBUG_ntpMerlin_INFO.sh
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top