
Hi, Anybody know why this might happen? I just ugraded to the latest Apache and mod_php4 RPMs from the SuSE ftp server. I got through the libsnmp problem, and Apache starts up and handles static pages correctly. But now everything that ends in .php causes the Apache child process to segfault and die (even a simple one-liner test file). Here's what I get in the error log: [Mon Feb 19 12:46:12 2001] [notice] Apache/1.3.17 (Unix) (SuSE/Linux) PHP/4.0.3pl1 configured -- resuming normal operations [Mon Feb 19 12:46:12 2001] [info] Server built: Feb 8 2001 10:43:08 [Mon Feb 19 12:46:54 2001] [notice] child pid 12234 exit signal Segmentation fault (11) Any idea where to start tracking this problem down? I've run out of ideas. Oh, I'm not sure that I ever had PHP4 working previously. I never actually tried to use it on this particular machine until after installing this upgrade. Thanks for any help! --Isaac

On Mon, Feb 19, Isaac wrote:
Hi,
Anybody know why this might happen?
I just ugraded to the latest Apache and mod_php4 RPMs from the SuSE ftp server. I got through the libsnmp problem, and Apache starts up and handles static pages correctly. But now everything that ends in .php causes the Apache child process to segfault and die (even a simple one-liner test file). Here's what I get in the error log:
[Mon Feb 19 12:46:12 2001] [notice] Apache/1.3.17 (Unix) (SuSE/Linux) PHP/4.0.3pl1 configured -- resuming normal operations [Mon Feb 19 12:46:12 2001] [info] Server built: Feb 8 2001 10:43:08 [Mon Feb 19 12:46:54 2001] [notice] child pid 12234 exit signal Segmentation fault (11)
Any idea where to start tracking this problem down? I've run out of ideas.
Oh, I'm not sure that I ever had PHP4 working previously. I never actually tried to use it on this particular machine until after installing this upgrade.
so, you use php4 or not? If you don't need it, remove it. The apache startup script checks for possible modules and find your php4 module and activate it. I will try to reproduce it. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...

On Fri, Feb 23, Olaf Hering wrote:
On Mon, Feb 19, Isaac wrote:
Hi,
Anybody know why this might happen?
I just ugraded to the latest Apache and mod_php4 RPMs from the SuSE ftp server. I got through the libsnmp problem, and Apache starts up and handles static pages correctly. But now everything that ends in .php causes the Apache child process to segfault and die (even a simple one-liner test file). Here's what I get in the error log:
[Mon Feb 19 12:46:12 2001] [notice] Apache/1.3.17 (Unix) (SuSE/Linux) PHP/4.0.3pl1 configured -- resuming normal operations [Mon Feb 19 12:46:12 2001] [info] Server built: Feb 8 2001 10:43:08 [Mon Feb 19 12:46:54 2001] [notice] child pid 12234 exit signal Segmentation fault (11)
Any idea where to start tracking this problem down? I've run out of ideas.
Oh, I'm not sure that I ever had PHP4 working previously. I never actually tried to use it on this particular machine until after installing this upgrade.
so, you use php4 or not? If you don't need it, remove it. The apache startup script checks for possible modules and find your php4 module and activate it.
It seems that backhand and/or jserv lead to that segfault. rpm -e jserv backhand But you don't have them appearently. Your php4 is older? [Fri Feb 23 14:55:03 2001] [notice] caught SIGTERM, shutting down [Fri Feb 23 14:55:17 2001] [notice] Apache/1.3.17 (Unix) (SuSE/Linux) mod_fastcgi/2.2.2 mod_perl/1.24 PHP/4.0.4pl1 configured -- resuming normal operations [Fri Feb 23 14:55:17 2001] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...

on 2/23/01 8:01 AM, Olaf Hering at olh@suse.de wrote:
It seems that backhand and/or jserv lead to that segfault. rpm -e jserv backhand
I'll try that, but I don't think either of those are installed anyway. Oh, on the previous email you asked if I use PHP. Yes, the sites I'm running now use it a little, and when I get done with them they will use it all the time. :)
But you don't have them appearently. Your php4 is older?
At this point I downgraded back to the versions that came on the installation CDs. And PHP4 works OK as long as I don't load mod_perl (which is fine since I don't need it). But I would like to get up to the latest versions of Apache & PHP. I'll keep trying on my non-production machine. I'll probably just compile the sources exactly as I need them and then copy everything over to the live one.

On Fri, Feb 23, Isaac wrote:
on 2/23/01 8:01 AM, Olaf Hering at olh@suse.de wrote:
It seems that backhand and/or jserv lead to that segfault. rpm -e jserv backhand
I'll try that, but I don't think either of those are installed anyway.
Oh, on the previous email you asked if I use PHP. Yes, the sites I'm running now use it a little, and when I get done with them they will use it all the time. :)
But you don't have them appearently. Your php4 is older?
At this point I downgraded back to the versions that came on the installation CDs. And PHP4 works OK as long as I don't load mod_perl (which is fine since I don't need it). But I would like to get up to the latest versions of Apache & PHP. I'll keep trying on my non-production machine. I'll probably just compile the sources exactly as I need them and then copy everything over to the live one.
If it doesnt work, please send your config and the needed pages, scripts etc. to verify that here. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...

on 2/23/01 11:04 AM, Olaf Hering at olh@suse.de wrote:
If it doesnt work, please send your config and the needed pages, scripts etc. to verify that here.
Oh, one other thing I just noticed is that under the 7.0 installation, in /sbin/init.d/rc2.d, apache loads before named, and then apache complains about not being able to resolve the domain names of my virtual hosts. I changed it from S20apache to S21apache, and now it doesn't complain during boot. This probably won't be a problem with the default apache config because it only uses localhost, but once you start using name-based virtual hosts, it will cause trouble. So SuSE might want to fix that for 7.1... I'll let you know if I get it working, but it may be a while before I have time to try compiling again. --i

On Fri, Feb 23, Isaac wrote:
on 2/23/01 11:04 AM, Olaf Hering at olh@suse.de wrote:
If it doesnt work, please send your config and the needed pages, scripts etc. to verify that here.
Oh, one other thing I just noticed is that under the 7.0 installation, in /sbin/init.d/rc2.d, apache loads before named, and then apache complains about not being able to resolve the domain names of my virtual hosts. I changed it from S20apache to S21apache, and now it doesn't complain during boot. This probably won't be a problem with the default apache config because it only uses localhost, but once you start using name-based virtual hosts, it will cause trouble.
So SuSE might want to fix that for 7.1...
Thats fixed in 7.1. No idea why both have the same number. I sent a notice to the package maintainers. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
participants (2)
-
Isaac
-
Olaf Hering