[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Error with apache with mod_perl
From: "Mauricio Amorim" <masilva () cpqd ! com ! br>
Date: 2001-07-30 15:32:14
[Download RAW message or body]
Hi, my name is Mauricio
I'm from Brazil
I am trying install apache 1.3.20 with mod_perl 1.1.26 on Solaris 2.6
The output of gcc -v is:
Reading specs from /net/gnu/stow/gcc-2.95.2-5.6/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)
The steps of instalattion realized are:
1) I install perl 5.6.1 with the following options:
sh Configure -Duseshrolib -Ubincompat5005 -Dcc=gcc
make
make test
make install
2) I install mod_perl 1.1.26 with the following options:
cd mod_perl_1.1.26
perl Makefile.PL APACHE_SRC=../apache.1.3.20/src USE_APACI=1 USE_DSO=1
make
make test
make install
question: Is right use USE_APACI=1 with USE_DSO=1 (next) ?
3) I install apache 1.3.20 with the following options:
./configure --prefix=/home/masilva/local/apachelocal --enable-module=so
make
make install
I change httpd.conf:
#httpd.conf
LoadModule perl_module libexec/libperl.so
Alias /perl/ /home/masilva/local/apachelocal/cgi-bin/perl/
PerlModule Apache::PerlRun
<Location /perl>
SetHandler perl-script
PerlHandler Apache::PerlRun
Options ExecCGI
allow from all
PerlSendHeader On
PerlSetVar PerlRunOnce On
</Location>
I started apache with apachectl start wthout problems.
I tried use Apache::Registry too.
But when in the browser (netscape) i write in Location:
"http://hermes:8081/perl/ag1/ag1.pl"
The browser alert:
The document contain no data
Try again later or contact .....
The error_log display:
[Mon Jul 30 11:52:53 2001] [notice] Apache/1.3.20 (Unix) mod_perl/1.26 configured -- \
resuming normal operations
[Mon Jul 30 11:56:50 2001] [notice] child pid 21024 exit signal Segmentation Fault \
(11), possible coredump in /home/masilva/local/apachelocal
Anybody know what i can be doing of error ?
The apache function normally without error when i start with Apache::Perlrun or \
Registry disable.
Thank you.
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi, my name is Mauricio</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm from Brazil</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying install apache 1.3.20 with mod_perl
1.1.26 on Solaris 2.6</FONT></DIV>
<DIV><FONT face=Arial size=2>The output of gcc -v is:</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Reading specs from
/net/gnu/stow/gcc-2.95.2-5.6/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs<BR>gcc
version 2.95.2 19991024 (release)</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial size=2>The steps of instalattion
realized are:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) I install perl 5.6.1 with the following
options:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>sh Configure -Duseshrolib -Ubincompat5005
-Dcc=gcc </STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>make</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>make test</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>make install</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2) I install mod_perl 1.1.26 with the following
options:</FONT></DIV>
<DIV><FONT face=Arial size=2>cd mod_perl_1.1.26</FONT></DIV>
<DIV><FONT face=Arial size=2>perl Makefile.PL APACHE_SRC=../apache.1.3.20/src
USE_APACI=1 USE_DSO=1 </FONT></DIV>
<DIV><FONT face=Arial size=2>make</FONT></DIV>
<DIV><FONT face=Arial size=2>make test</FONT></DIV>
<DIV><FONT face=Arial size=2>make install</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>question: Is right use USE_APACI=1 with USE_DSO=1
(next) ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>3) I install apache 1.3.20 with the following
options:</FONT></DIV>
<DIV><FONT face=Arial size=2> ./configure
--prefix=/home/masilva/local/apachelocal --enable-module=so </FONT></DIV>
<DIV><FONT face=Arial size=2> make</FONT></DIV>
<DIV><FONT face=Arial size=2> make install</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I change httpd.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>#httpd.conf</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>LoadModule
perl_module
libexec/libperl.so</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Alias /perl/
/home/masilva/local/apachelocal/cgi-bin/perl/<BR>PerlModule
Apache::PerlRun<BR><Location /perl><BR> SetHandler
perl-script<BR> PerlHandler Apache::PerlRun<BR> Options
ExecCGI<BR> allow from all<BR> PerlSendHeader On<BR>
PerlSetVar PerlRunOnce On<BR></Location><BR></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I started apache with apachectl start wthout
problems.</FONT></DIV>
<DIV><FONT face=Arial size=2>I tried use Apache::Registry too.</FONT></DIV>
<DIV>But when in the browser (netscape) i write in Location:</DIV>
<DIV>"<A
href="http://hermes:8081/perl/ag1/ag1.pl">http://hermes:8081/perl/ag1/ag1.pl</A>"</DIV>
<DIV>The browser alert:</DIV>
<DIV><STRONG>The document contain no data</STRONG></DIV>
<DIV><STRONG>Try again later or contact .....</STRONG></DIV>
<DIV> </DIV>
<DIV>The error_log display:</DIV>
<DIV><STRONG>[Mon Jul 30 11:52:53 2001] [notice] Apache/1.3.20 (Unix)
mod_perl/1.26 configured -- resuming normal operations<BR>[Mon Jul 30 11:56:50
2001] [notice] child pid 21024 exit signal Segmentation Fault (11), possible
coredump in /home/masilva/local/apachelocal</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><FONT color=#ff0000>Anybody know what i can be doing of error
?</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The apache function normally without error when i
start with Apache::Perlrun or Registry disable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV></FONT></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic