kb: technical
ABT: Group A
Plesk Obsidian for Linux
Applicable to:
- Plesk Obsidian for Linux
Symptoms
Emails with the following error are sent to Plesk server administrator:
Subject: Cron <root@example.com> /usr/sbin/ntpdate -b -s 3.pool.ntp.org
/bin/sh: 1: /usr/sbin/ntpdate: not found
Cause
The "ntpdate" package is missing.
Resolution
-
Connect to the server via SSH
-
Install the missing package:
For Debian / Ubuntu operating systems# apt-get update && apt-get install ntpdate
For RHEL / CentOS / Cloudlinux operating systems# yum install ntpdate
Comments
6 comments
There is no ntpdate for CentOS 8, this is an installation restored from a CentOS6 backup.
Maybe a "lost" Plesk cron? Not in /etc/cron*
thx
Thanks! This command works on my Debian 10.6.
# apt-get update && apt-get install ntpdate
Works on Ubuntu - Thanks
This solution does not work on a fresh CentOS 8 install.
ntpdate not exist for CentOS 8, it uses Chrony for NTP, so, to solve this, install chrony (it must be installed by default), and disable this cron task from plesk (the one of ntpdate) and solved!.
You may want to add a cron for chrony but is unnecessary as it has it's own service
Perhaps Plesk must make this automatic for this OS and others don't has ntpdate.
Please sign in to leave a comment.