HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISPConfig3 and the lenny php5-cli bug (http://www.howtoforge.com/forums/showthread.php?t=33008)

webno 29th March 2009 14:56

ISPConfig3 and the lenny php5-cli bug
 
Just informing all that running ISPConfig (or any other application that uses php5-cli) might cause segmentation faults.

I'm running lenny inside xen with a compiled kernel from xensource 2.6.18.8-xen.

I'm getting random segmentation faults in my /var/log/ispconfig/cron.log.

Code:

/usr/local/ispconfig/server/server.sh: line 7: 22245 Segmentation fault      /usr/bin/php -q /usr/local/ispconfig/server/server.php
According to:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493045

there is a bug somewhere hidden in php5-cli.The bugreport suggests recompiling php5 as a temporary solution.

I'm rather worried that the ispconfig installation script or other scripts ispconfig uses, might run into a segmentation fault without the script itself failing, which in turn might lead to all kinds of strange errors later on for people installing or using ispconfig3 on lenny.

Bart.

till 29th March 2009 15:19

Segmentation faults are often by hardware problems, e.g. RAM problems. I know many ispconfig 3 isntallations on lenny and none of it has segmentation faults and ther are already more thne 10.000 installations of ispconfig 3 so it might be that this is just related to your system od the bug in php is just triggered on your system.

ISPConfig is transaction based and ispconfig will redo a transaction if the script diesd during processing.

webno 1st April 2009 01:54

Did what was advised at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493045

1) Install php5-dev, libmysqlclient15-dev and the source of php5 (apt-get source php5)
2) cd php5-5.2.6.dfsg.1/ext/mysql/
3) run "phpize" in this directory
4) ./configure && make && make install

All is fine now.


All times are GMT +2. The time now is 06:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.