• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Cron <root@domain> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean

mow

Silver Pleskian
Hello,

this morning, Plesk upgraded itself from 17.0.17 to 17.8.12.
Since then, I get the following mail every 30 minutes:

Subject: Cron <root@domain> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
Failed loading /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: undefined symbol: zend_ce_division_by_zero_error Failed loading /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: undefined symbol: zend_ce_division_by_zero_error Failed loading /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: undefined symbol: zend_ce_division_by_zero_error Failed loading /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: /usr/lib/php5/20131226/ioncube_loader_lin_7.0.so: undefined symbol: zend_ce_division_by_zero_error

/usr/lib/php5/sessionclean is started by /etc/cron.d/php.

This seems similar to the issue in Resolved - Cron error - Ioncube loader, but maxlifetime is not used anymore and instead integrated into sessionclean. Naively trying to replace php5 in line 34 with php leads to a bunch of warnings, but the script seems to run somehow, however it leads to conflicts with another cronjob doing the same.

The php5 environment seems to have been broken by the upgrade, as there were no such errors before. Is it even necessary except for sites explicitly using php5? The only thing using php5 on the server seems to be something in plesk itself, as all subcriptions are on php7 and only pool www, whatever that is, appears to still be running via php5-fpm (php-fpm: master process (/etc/php5/fpm/php-fpm.conf).
The cronjob /etc/cron.d/php which starts /usr/lib/php/sessionclean seems to be doing a good job of cleaning up already, so I disabled /usr/lib/php5/sessionclean by setting it with chmod to a-x. No leftover session files visible as of now.

EDIT: more research, temporary solution.

Best regards,
Mark-Oliver Wolter
 
Last edited:
BTW, last week's php5 update 5.6.40+dfsg-0+deb8u6 re-enabled /usr/lib/php5/sessionclean, so I had to disable it again.
 
Back
Top