After updating my servers to ElectricEel version, one of my servers started sending notifications to my email stating: “sudo: ntpd: command not found”
Then after the following update: Version: ElectricEel-24.10.2
A second server started sending the same notifications also stating: sudo: “ntpd: command not found”
I’ve made no changes reguading the NTP settings or to my locally hosted NTP server yet 2 out of 3 of my servers started reporting this issue and I’m at a loss how to resolve or even trouble shoot this as the settings are the same they were previously. And my third TrueNas Scale server isn’t reporting this issue with the same settings.
Hoping someone can help you, start opening a ticket on jyra (Report a Bug button on top of the site, or directly from your server). We are most regular users, can happen that no one can add some good help
TrueNAS hasn’t used ntpd for a while now (they use chrony), so the trigger of that error is likely not TrueNAS itself. Also, I don’t think the TrueNAS middleware would need to use sudo.
My guess is that you’ve made some changes you may not be aware of or remember.
Could it be that you have added an Init/Shutdown script or perhaps a Cron job that runs some code related to time syncing? That is where I would start looking at least. It’s conceivable that an error there could trigger an Alert*.
Is it an alert? You wrote notification, but I’m not clear on what you mean by that, since there are no “Notifications” in TrueNAS.
If it’s not an Alert, the source could be anything you have running on the system. Like an app or VM for example.
I have email notifications setup on my servers so I’ll get notified if there is any issues with my servers. reguarding if they still use NTP, The option for NTP settings are still under system/general so one would presume it still functions. I self host a NTP server on my firewall. I have all 3 of my TrueNas Scale servers and all my other devices sync’d with my firewall. I have the same settings on all of my TrueNas scale servers but only 2 are sending me notification on top of the hour, every hour.
Back when I was running bluefish I had no issues. Then when I upgraded to Angelfish, One of my servers started sending me notifications every hour, Then once I upgraded to ElectricEel, My second TrueNas Scale server started sending me notifications.
I’ve spent days researching looking for reported issues hoping to find solutions but I havn’t found anything. Figured I’d try this before reaching out to TrueNas directly. Because to be honest, I dont even know where to start. Everything else is up and running with no issues. All my other devices work with my NTP server. I’ve made no changes to my config other than updating TrueNas. Other than one of my storage drives going bad and swapping it out.
No, I went through system/general settings and provided the NTP settings to my locally hosted NTP server. And added publically available NTP servers as fall backs. It works fine on all my other devices. keeps the timing in sync because I have 2FA setup on my locally hosted services. And it’s worked just fine on these servers until a semi recent update. But still appears to work on my third TrueNasScale server as I have no issues or at least dont recieve email notification on the top of the hour, every hour, 24 hours a day flooding my email service.
Actually you got me thinking, I was told to configure this:
Under Cron jobs:
Description: NTPUpdate
Command: sudo ntpd -n -g -q 10.0.0.1
Run as user: root
Schedule: At the start of each hour.)
To tell the server to check/update time through my NTP server. And it’s setup the same on all 3 of my servers, but only two give me errors.