plesk / centos2alma

CentOS 7 to AlmaLinux 8 conversion tool
Apache License 2.0
36 stars 7 forks source link

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

Open FranSarr opened 1 month ago

FranSarr commented 1 month ago

After updating my plesk server from centos 7 to alma 8 i receive the following email message from Cron Daemon: root@mail /usr/sbin/ntpdate -b -s 3.pool.ntp.org /bin/sh: /usr/sbin/ntpdate: No such file or directory

The error message you're seeing indicates that the ntpdate command is no longer available on your system after the upgrade from CentOS 7 to AlmaLinux 8. In AlmaLinux 8, ntpdate has been deprecated in favor of chrony, which is the recommended way to keep your system time synchronized.

To resolve this issue, you can either install the ntpdate package if it is still available, or better yet, switch to using chrony. This can be done by installing https://www.plesk.com/extensions/ntp-timesync/ extension and deleting the old ntpdate command from the cron job.

SandakovMM commented 1 month ago

I believe the same problem described in #182

FranSarr commented 1 month ago

Absolutelly Thanks

Francisco Sarrias Telecom Engineer E: @.*** P: +34 607 287953 W:https://www.linkedin.com/in/fsarrias/

El 3 jun 2024, a las 14:41, SandakovMM @.***> escribió:

I believe the same problem described in #182 https://github.com/plesk/centos2alma/issues/182 — Reply to this email directly, view it on GitHub https://github.com/plesk/centos2alma/issues/265#issuecomment-2145105154, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALT7X7XO2C4KHCDW44S7DALZFRP7BAVCNFSM6AAAAABIRYTC5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVGEYDKMJVGQ. You are receiving this because you authored the thread.