![]() |
suPHP problem after PHP upgrade - ubuntu
Hi all
Few days ago I installed new version of php on my ubuntu feisty server with suPHP extension. But after sucessfully upgrade I get a lot of php5-cgi segmentation fault errors in /var/log/messages: Code:
Dec 3 14:11:58 s1 kernel: [4978293.463308] php5-cgi[16717]: segfault at 0000000026f2db60 rip 00002ada293b6640 rsp 00007fff83c0aa88 error 4Code:
Premature end of script headers: index.phpFor this time I solved this problem by switching off suPHP extension for problematic webs. I tried recompile suPHP by using this howto http://www.howtoforge.com/suphp_debian_ispconfig but without success. Has somebody similar problem or idea how to solve this? Thanks .. SupuS Here is a list of upgraded packages: Code:
2007-11-29 23:49:34 status installed php5-common 5.2.1-0ubuntu1.5 |
I falled exactly in the same issue...
Hi,
I started to notice this same issue when I installed new applications in my ubuntu ispconfig server with suPHP. Until now, everything were Drupals and worked like a charm, but yesterday I saw this issue in a joomla site with mediawiki integration (mediawiki was the culpit) and today the same happens with a brand new eGroupWare. The only clue I got was "Premature end of script headers: index.php" in the broken applications' sites and I also noticed those "segfault" ugly errors in /var/log/messages as : PHP Code:
PHP Code:
The server is a ubuntu-feisty that it's completely up to date... and I installed following "ispconfig-ubutuntu perfect setup" of howtoforge forums and Hans suPHP Debian's howto Millions of thanks in advance for your help, m. |
Hi
Unfortunately I didn't find sollution. I switched off suPHP feature. Only one relevant thing what I found in suPHP faq is: Quote:
|
> Unfortunately I didn't find solution. I switched off suPHP feature.
Funny. :-) This is just what I was doing right now, and obviously works. Good enough until we find a better solution or the issue is magically fixed on next upgrade. BTW, do you think a dist-upgrade will help on this? I didn't review gutsy packages but it should include newer php versions that probably fix the issue. > Test it if you can. I don't tried it because I don't think that it is the problem and tests on production server is not so good idea. Funniest !! :-) It's exactly my situation. I have been crossing my fingers while reinstalling suPHP in the production server as I suspect you did. I will check your suggestion in the testing server as soon as I find time for it, but I'm really curious about the "segmentation fault". Could it be related with php time or memory limits? I don't know yet about eGroupWare but Joomla-MamboWiki issue was related with an intensive backtrace function. Falko: don't you have any comment about this issue? Keep in touch and thanks a lot for your answer, m. |
Quote:
|
Quote:
Hans had a similar problem last April and with Falko and Till help arrived to the same conclusion: Disable suPHP on the affected sites. http://www.howtoforge.com/forums/sho...t=12057&page=2 (Posted to let others find a temporally solution) Certainly it all doesn't looks promising. Cheers, m. |
Upgrade fixes the issue
Today I got time to review this old issue.
Upgrading to a newer php5-cgi release fixes the issue. My old php5-cgi_5.2.1-0ubuntu1.5 (64 bits) include a known issue that causes the segfault. Although is not a clean solution (a full system upgrade is recommended) it did the job: $ dpkg -i php5-cgi_5.2.3-1ubuntu6.3_amd64.deb The new package (that is not the last release) could be downloaded here: http://ubuntu.interlegis.gov.br/ubun...l/main/p/php5/ System warns that is unable to configure php5 due dependences, but last config was fine. Any case, remember to backup your former .debs, just in case you need to rollback and something is missed in repositories. Cheers, m. |
| All times are GMT +2. The time now is 01:10. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.