• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

NTPDATE outdated?

Hi there.

since a few days i get every day that email here:
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!

The ntpdate program is deprecated and should not be used any more. To quote the upstream ntp developers:

"The functionality ntpdate offered is now provided by the ntpd daemon
itself. If you call ntpd with the command line option -q it will
retrieve the current time and set it accordingly."

Please check the Network Time Protocol (NTP) daemon man page and
http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
for further information.

You can replace the ntpdate call with "rcntp ntptimeset" to achieve an inital poll of the servers specified in /etc/ntp.conf.

The program /usr/sbin/sntp offers comparable functionality to ntpdate.
Specifically
sntp -P no -r pool.ntp.org
is equivalent to
ntpdate pool.ntp.org

For further details please refer to the man page of sntp.

Is it know?
Any suggestions what to do?
I can disable ntp in plesk and use sntp instaed
 
Not sure that it is Plesk related issue. /usr/sbin/ntpdate file belongs to system but not Plesk package. According Google it is common Linux issue. Maybe switching to sntp is really better solution.
 
Did you tried to update this ntpdate package from OS vendor's repository?
 
Its a plesk fault, 'cause:

If i activate networktime in plesk, plesk will add a cronjob for root with:

/usr/sbin/ntpdate -b -s ptbtime2.ptb.de

But ntpdate is deprecated and you should to use sntp for future.

The plesk automatism must setup now sntp not ntpdate to cronjob.

I think the right command is now:

/usr/sbin/sntp ptbtime2.ptb.de >/dev/null 2>&1
 
Back
Top