• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Cron Error Mails after 11.0.9 Update

M

Markus F

Guest
After updating from 11.0.x to 11.0.9 Update 4 i am receiving Error Mail every half hour.

Title:
Cron <root@lvps178-77-102-26> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete

Content:
Failed loading /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so: /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so: undefined symbol: php_body_write
PHP Fatal error: Directive 'safe_mode' is no longer available in PHP in Unknown on line 0


System Overview
OS Ubuntu 10.04.4 LTS
Panel version 11.0.9 Update #4
The system is up-to-date; last checked at July 8, 2012 02:21 AM

System is apt-get up-to-date to.
 
hmmm...

I think i found the error myself.
I have also updated to php 5.4.4 - more or less intentional ;-) - and it looks like the ion cube loader doesn't likes this?!
 
Did you fix this via /etc/php/conf.d/ioncube.ini (or something like this) where the module gets loaded? iirc you just have to replace the version 5.3 with 5.4 then.
 
i couldn't find a solution for that. google pointed me to a forum thread on ioncube's homepage but that dont worked for me so i roled back to php 5.3.
If anyone could point me to a solution, thank you.
 
Hmm... i have no /etc/php/conf.d/ioncube.ini

i got a /etc/php5/conf.d/00-ioncube-loader-5.3.ini with just ...

; comment out next line to disable ionCube Zend extension in php
zend_extension=/usr/lib/php5/20090626/ioncube_loader_lin_5.3.so


... in it. there i got ioncube_loder_lin_5.1.so, ioncube_loder_lin_5.2.so and ioncube_loder_lin_5.3.so - none for 5.4 so just change it to /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so shouldn't do the trick :)
 
That's the thing i don't get. Plesk Panel 11 should already be ready for 5.4 - at least i get this view if i go through the docs for release 11. But it looks like there is no ioncube for 5.4. There is a pre-release you can get from ioncube but i don't get why Parallels is calling Panel 11 5.4 ready then.

Anyway, waiting for this file.
 
Remember that php, mysql etc and all the bits go with it come from the OS vendor (or the repo of your choice), not Parallels. In addition, the ioncube loader comes from the ioncube people. So it isn't really fair to blame parallels if a release version of that isn't currently available for php 5.4.x :)

(I have to admit I'm surprise ioncibe loader isn't released for 5.4.x - but now that I know it, I'll take that as a hint that 5.4.x isn't quite ready for mainstream use).

Anyway, you should be able to resolve the php 5.4.x ioncube problem by simply not loading ioncube at all (comment out the line and restart apache) until a version for php 5.4 is released - unless of course you have apps that require it in which case you'd have to use the pre-release one you mentioned.
 
I dont blame them that ioncube loader isn't ready for 5.4. i just dont understand, why 11.x is titled 5.4 ready but missing a essential component.
 
I found a download page for ioncube loader. (http://www.ioncube.com/loaders.php)
There is a *.so file for 5.4 althougt it looks like it isn't production ready.

Me is waiting a lilltle bit longer. I dont realy need 5.4 now and the cases where i would need it, the work to get it up and running is too much for me now. When i have some spare time, i will go through an provide feedback here.
 
php5-ioncube-loader is Parallels package with ionCube loader versions 5.1, 5.2, 5.3. It contains the same binaries that official ionCube site provides.

You may install a binary for 5.4 from ionCube site and fix the configuration file. It should work. Though there is no 100% gurantee that the configuration file will not be overwritten on the next package update.
 
ionCube Loader 4.2.2 works for me

ionCube Loader 4.2.2 contain a 5.4 binary and works for me. Download from:

http://www.ioncube.com/loaders.php

1. Extract and move "ioncube_loader_lin_5.4.so" to "/usr/lib/php5/ioncube/" or similar path.
2. Update "/etc/php5/conf.d/00-ioncube-loader-5.3.ini" and write new path and file name: "zend_extension=/usr/lib/php5/ioncube/ioncube_loader_lin_5.4.so".
3. Rename "/etc/php5/conf.d/00-ioncube-loader-5.3.ini" to "/etc/php5/conf.d/00-ioncube-loader-5.4.ini"
4. After restart web server phpinfo() must show "ionCube Loader" in "Additional Modules"

I have no more errors from CRON.
 
Back
Top