I recently updated my Plesk version to:
I get an automated email every hour about following error:
/etc/cron.hourly/plesk-php-cleanuper: line 8: 1075 Terminated find /var/lib/php/session -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib64/plesk-9.0/maxlifetime) ! -execdir fuser -s {} \; -delete 2> /dev/null
When i check , content of " /etc/cron.hourly/plesk-php-cleanuper " is below:
#!/bin/sh
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See ${maxlifetime}
# Look for and purge old sessions every hour
[ -x /usr/lib64/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && find /var/lib/php/session -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib64/plesk-9.0/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
Secondly, 1 very strange thing i have noticed is named is automatically stops and
/var/log/message doesn't show any clue about it. It is giving me hard time, so i wrote a shell script to check if named is not running. This will also start named if not running.
Any one else has come to this kind of error. Please do let me know if there is a solution or patch for this .
Thank you,
PS.
I get an automated email every hour about following error:
/etc/cron.hourly/plesk-php-cleanuper: line 8: 1075 Terminated find /var/lib/php/session -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib64/plesk-9.0/maxlifetime) ! -execdir fuser -s {} \; -delete 2> /dev/null
When i check , content of " /etc/cron.hourly/plesk-php-cleanuper " is below:
#!/bin/sh
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See ${maxlifetime}
# Look for and purge old sessions every hour
[ -x /usr/lib64/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && find /var/lib/php/session -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib64/plesk-9.0/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
Secondly, 1 very strange thing i have noticed is named is automatically stops and
/var/log/message doesn't show any clue about it. It is giving me hard time, so i wrote a shell script to check if named is not running. This will also start named if not running.
Any one else has come to this kind of error. Please do let me know if there is a solution or patch for this .
Thank you,
PS.