• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Watchdog Cronjobs Errors - Plesk 12.5.x

Elompenta

Regular Pleskian
After a fresh installation of Plesk 12.5 on Debian 8 i get the following crontab errors every night.
Any Idea why the binaries not exist?

Cron <root@hostname> /opt/psa/libexec/modules/watchdog/cp/clean-events
-> /bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/clean-events: not found

Cron <root@hostname> /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
-> /bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/pack-sysstats: not found

Cron <root@hostname> /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
-> /bin/sh: 1: /opt/psa/libexec/modules/watchdog/cp/clean-sysstats: not found
 
Hi Elompenta,

did you consider to re-install the watchdog module, to see if this already solves your issue?

Example commands:
Code:
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component watchdog
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component watchdog
 
@UFHH01
The same messages again - remove and reinstall doesnt help.
Any Ideas?

I have this Errors only in Debian 8 installation, not in Debian 7 Setups
 
Do you have these files there?

/opt/psa/libexec/modules/watchdog/cp/clean-sysstats
/opt/psa/libexec/modules/watchdog/cp/clean-events

What is output of

# crontab -l

?
 
Do you have these files there?
/opt/psa/libexec/modules/watchdog/cp/clean-sysstats
/opt/psa/libexec/modules/watchdog/cp/clean-events

Yes, boith files are available and executable

root@<host>:~# ls -lah /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
-rwxr-xr-- 1 root psaadm 534 Aug 26 15:22 /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
root@<host>:~#
root@<host>:~#
root@<host>:~# ls -lah /opt/psa/libexec/modules/watchdog/cp/clean-events
-rwxr-xr-- 1 root psaadm 502 Aug 26 15:22 /opt/psa/libexec/modules/watchdog/cp/clean-events


What is output of

# crontab -l

root@<host>:~# crontab -l
##MAILTO=""
47 23 * * * /usr/sbin/ntpdate -b -s ntp.oberberg.net


I will attach the global crontab

root@yhost>:~# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#

no modifications here - thanks for your help
 
Back
Top