Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th March 2009, 14:56
webno webno is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 1
Thanked 2 Times in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2009, 15:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,736
Thanks: 840
Thanked 5,597 Times in 4,408 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st April 2009, 01:54
webno webno is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 1
Thanked 2 Times in 1 Post
Default

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.
Reply With Quote
The Following 2 Users Say Thank You to webno For This Useful Post:
MM- (10th July 2009), till (1st April 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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