Hi, Ted
I had got the fault some time ago.
I compiled PHP4 with the built-in MySQL support, so that my mod_perl scripts about DBI
were
all down with the damn error. It made me sick so long. After I instead build it with
my
local MySQL support files, the mess was gone.
Hope my experience can help you.
----- Original Message -----
From: "Ted Sindzinski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 4:56 AM
Subject: Segmentation fault (11) on any script
| Last night I removed my standard rpm of apache, and installed the latest
| binary and mod perl binary. For both apache and mod perl, all standard
| modules (everything) were added in. I have also installed dbi, dbd and
| such.
|
| however, when I try to run any script, even a hello world script, my
| browser returns a no data error and the error log shows:
|
| [Wed Oct 18 16:52:50 2000] [notice] Apache/1.3.14 (Unix)
| mod_perl/1.24_01 configured -- resuming normal operations
| [Wed Oct 18 16:52:53 2000] [notice] child pid 25267 exit signal
| Segmentation fault (11)
|
| My httpd.conf setup information is as follows:
|
| **********
|
| ServerType standalone
| ServerRoot "/usr/local/apache"
| DocumentRoot "/home"
| PidFile /var/run/httpd.pid
| ScoreBoardFile /var/run/httpd.scoreboard
| Timeout 300
| KeepAlive On
| MaxKeepAliveRequests 100
| KeepAliveTimeout 15
| #ExtendedStatus On
| MinSpareServers 32
| MaxSpareServers 64
| StartServers 32
| MaxClients 256
| MaxRequestsPerChild 10
|
| PerlModule Apache::Registry
| PerlModule Apache::DBI
| PerlRequire conf/startup.pl
| PerlFreshRestart Off
|
| Alias /ads/ /home/adserver/ads/
| <Location /ads>
| SetHandler perl-script
| PerlHandler Apache::Registry
| Options ExecCGI
| allow from all
| PerlSendHeader On
| </Location>
|
|
| *********
|
| Startup.pl is:
|
| #!/usr/bin/perl
|
| BEGIN {
|
| use Apache ();
| use lib Apache->server_root_relative('/usr/lib/perl');
| }
|
| use Apache::Registry ();
| use Apache::Constants();
| #use Apache::DBI;
|
| use CGI qw(-compile :all);
| use CGI::Carp ();
|
| # Load any other reqd modules
|
| 1;
|
| **********
|
| Plesae let me know if you can't see something for me to change, thanks.
|
|
| Ted Sindzinski
|
|
|