XIII
Very Senior Member
How to check this?For some reason both are running at the same time.
Reason for asking: I noticed I also have both S77ntpd and S77chronyd in /opt/etc/init.d and might have the same issue as you?
How to check this?For some reason both are running at the same time.
Run the following command in an SSH window:How to check this?
Reason for asking: I noticed I also have both S77ntpd and S77chronyd in /opt/etc/init.d and might have the same issue as you?
top -b -n 1 | grep -E "ntpd|chronyd|timeserverd" | grep -v grep
ntpmerlin develop
Thanks @Martinski. I do suspect it was somehow installed by the recent Entware update.
...
Curious if this started happening with the latest Entware update, that’s about the timeframe it did for me, ...
Reason for asking: I noticed I also have both S77ntpd and S77chronyd in /opt/etc/init.d and might have the same issue as you?
ntpd
or chronyd
) has not been overwritten or modified (e.g. via Entware package updates). If the service script doesn't match as expected, the code will re-download the ntpMerlin-specific script, replace the existing version, and restart the time server. It will also remove the additional time server script (if found).Thanks for the tips, but I think the simplest solution would be to double-check the existing Entware service scripts and replace or remove as needed (see above). At worst, there's a 10-minute gap between checks during which the wrong service scripts may exist simultaneously; however, the situation will be corrected automatically, and most users won't even notice.One behavior i have notice when running ntpmerlin is that it still leaves the entware packages installed even when just switching between the two. This creates a bad behavior when users go to update and upgrade their entware repositories, it automatically reinstalls the init.d scripts for the unused ntp service because the package is still technically listed as one of entwares installed packages. So lets say we are using chronyd, but ntpd is still listed as an installed entware package even though we are not using it with ntpmerlin. Entware will recreate the init.d script upon upgrading entware repository of installed packages.
....
That is great for people who run ntpMerlin, but what about when they uninstall ntpMerlin. Surely you have a cleanup to remove the unused binary.I've made changes in the script to double-check that the selected NTP service script that's installed by ntpMerlin (forntpd
orchronyd
) has not been overwritten or modified (e.g. via Entware package updates). If the service script doesn't match as expected, the code will re-download the ntpMerlin-specific script, replace the existing version, and restart the time server. It will also remove the additional time server script (if found).
These checks are performed at startup following a reboot, every time the NTP server is started or restarted, and every 10 minutes via the pre-existing cron job that generates time server stats.
The latest 'develop' branch version tag is v3.4.10_25073100.
Example:
View attachment 67025
Thanks for the tips, but I think the simplest solution would be to double-check the existing Entware service scripts and replace or remove as needed (see above). At worst, there's a 10-minute gap between checks during which the wrong service scripts may exist simultaneously; however, the situation will be corrected automatically, and most users won't even notice.![]()
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
M | ntpMerlin ntpMerlin v3.4.9 [2025-Jul-21] - NTP Time Server for AsusWRT Merlin | Asuswrt-Merlin AddOns | 20 | |
L | vnStat vnStat not starting due NTP sync | Asuswrt-Merlin AddOns | 5 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!