[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RAQ4i: mod_perl: exit signal Segmentation fault (11)
- Subject: [cobalt-users] RAQ4i: mod_perl: exit signal Segmentation fault (11)
- From: "Bas Hendriks" <bas@xxxxxxxxxxxxxxx>
- Date: Thu Jun 20 06:41:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello all,
I'm like to use mod_perl on my raq4i(512MB), but i'm getting segmentation
faults.
Can someone help me this problem? or give me pointer how to proceed (in
debugging).
Thanx 4 youre time!
Best regarts,
Bas Hendriks
Situation:
I made an include in httpd.conf:
/usr/httpd/conf/mod_perl.inc:
<VirtualHost [system_ip]>
ServerAdmin bas@xxxxxxxx
DocumentRoot /home/sites/www.bashendriks.nl/web/
ServerName www.site.com
Alias /bin/ "/home/sites/www.site.com/mod_perl/"
<Location /bin>
SetHandler perl-script
PerlHandler Apache::Registry
AddHandler perl-script .scr
Options +ExecCGI
PerlSendHeader On
</Location>
</VirtualHost>
In dir /mod_perl are two scripts:
test.scr and index.scr, test.scr is simply:
# testing mod_perl
print "Content-type: text/html\n\n";
print <<ENDhtml
<HTML>
<BODY>
mod_perl is running ...
</BODY>
</HTML>
ENDhtml
;
And gives as espected "mod_perl is running ..." when called in browser
(http://www.site.com/bin/test.scr).
So, directives are ok?
When i call index.scr (the scripts that needs to work) i don't get anything
in browser and this in error_log:
/etc/httpd/logs/error_log:
[Thu Jun 20 15:03:19 2002] [notice] child pid 31377 exit signal Segmentation
fault (11)
[Thu Jun 20 15:04:04 2002] [notice] child pid 32073 exit signal Segmentation
fault (11)
[Thu Jun 20 15:04:05 2002] [notice] child pid 32072 exit signal Segmentation
fault (11)
I tested the script on two local servers and it runs just fine (as
espected), configs:
server1:
FreeBSD 4.4
mod_perl 1.26 (as DSO)
apache 1.3.22/1.3.24
(p166 - 64MB - ne2000)
server2:
Linux 2.2.12-20 (RH 6.1)
mod_perl 1.26
apache 1.3.24
(p3 - 512MB - 3com905c)
The script uses the modules DBI(mysql, tested local and remote) and CGI;
The script runs just fine from commandline:
[root@raq1 mod_perl]# perl ./index.scr n=1
Content-type: text/html
<HTML>
<HEAD>
<TITLE>[ Wlkom op onze megapagina 20/06/02 15:32:26 ]</TITLE>
<META NAME="Author" CONTENT="CMS-V2 20/06/02 15:32:26">
Bla Bla Bla
So perl -d has no use.
Would upgading mod_perl to 1.26 help (some archives mention some problems
whith 1.15)? And IS that possibel on a raq4i?
(Or would it be better to setup a new server for this purpose? $$$:( )
GrttzZ,
b
---
________________________________________________________________
Bas Hendriks, Bas@xxxxxxxx, 0485-578979, http://www.cybox.nl
CYBOX internet & communicatie, Marktstraat 7, 5831 HM BOXMEER
tel.: 0485-471774, fax: 0485-471727, E-mail: mail@xxxxxxxx
________________________________________________________________