Plesk administrator receives mails: Cron error: /usr/sbin/ntpdate: not found

Follow

Comments

6 comments

  • Avatar
    Daniel Pirker

    Works on Ubuntu - Thanks

    0
    Comment actions Permalink
  • Avatar
    Jose Maria Terry Jimenez

    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*

    0
    Comment actions Permalink
  • Avatar
    DynamicHosting

    This solution does not work on a fresh CentOS 8 install.

     

    [root@dhvps ~]# dnf install ntpdate
    Last metadata expiration check: 1:43:08 ago on Thu 24 Dec 2020 10:45:16 AM PST.
    No match for argument: ntpdate
    Error: Unable to find a match: ntpdate
    0
    Comment actions Permalink
  • Avatar
    Jose Maria Terry Jimenez

    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.

    0
    Comment actions Permalink
  • Avatar
    Md Rasel Khan

    Thanks! This command works on my Debian 10.6.

    # apt-get update && apt-get install ntpdate

    0
    Comment actions Permalink
  • Avatar
    Sancho Garces (Edited )

    thx

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request