Plesk for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk 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 package ntpdate
used by scheduled task is not installed.
Resolution
When ntpdate is not used
Note: In modern operating systems nptd, chrony or systemd-timesyncd may be installed by default and ntpdate package is deprecated or not available. It is suggested to synchronize server time using NTP Timesync extension instead.
- Log into Plesk
- Navigate to Tools & Settings > Scheduled Tasks (Cron jobs)
- Select the scheduled task
/usr/sbin/ntpdate -b -s [n].pool.ntp.org
:
- Click Remove
When ntpdate should be used
-
Connect to the server via SSH
-
Install the
ntpdate
package:-
On Debian / Ubuntu operating systems:
# apt-get update && apt-get install ntpdate
-
On RHEL / CentOS / Cloudlinux operating systems:
# yum install ntpdate
-
Comments
1 comment
ntpdate is not available on the repos, you need to update to chrony
Please sign in to leave a comment.