Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Cannot start Apache with mod_perl
 

Index | Next | Previous | View Flat


Andrew.Ircha at fkilogistex

Oct 5, 2008, 3:51 PM


Views: 861
Permalink
Cannot start Apache with mod_perl

I'm attempting to run httpd with mod_perl, but the httpd refuses to
start:

Starting httpd: httpd: Syntax error on line 209 of
/etc/httpd/conf/httpd.conf: Syntax error on line 10 of
/etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so
into server: /etc/httpd/modules/mod_perl.so: undefined symbol:
modperl_io_perlio_restore_stdout

There's a hint on this mailing list that mod_perl 2 and perl 5.10.0
don't work together, but I'd like to discuss this before going back to
5.8.8, as I don't know how to downgrade perl with yum.



**** Machine and software details ****

My operating system:

[root[at]optimusprime ~]# more /etc/redhat-release
Fedora release 8 (Werewolf)

[root[at]optimusprime ~]# uname -a
Linux optimusprime 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007
i686 i686 i386 GNU/Linux

Perl:

[root[at]optimusprime ~]# perl -v

This is perl, v5.10.0 built for i386-linux-thread-multi

Httpd:

[root[at]optimusprime ~]# httpd -v
Server version: Apache/2.2.9 (Unix)
Server built: Jul 14 2008 10:24:42

Perl, httpd and mod_perl were all installed with yum. I have also tried

perl Makefile.PL MP_APXS=/usr/sbin/apxs
make
make install

Which appeared to have correctly built mod_perl.so in the right place
(/etc/httpd/modules) but produces the same error.

[root[at]optimusprime ~]# yum list mod_perl
Loaded plugins: allowdowngrade, refresh-packagekit
Installed Packages
mod_perl.i386 2.0.4-6
installed

Andrew Ircha

Subject User Time
Cannot start Apache with mod_perl Andrew.Ircha at fkilogistex Oct 5, 2008, 3:51 PM
    Re: Cannot start Apache with mod_perl ispyhumanfly at gmail Oct 7, 2008, 6:56 AM
        Re: Cannot start Apache with mod_perl fred at redhotpenguin Oct 8, 2008, 10:02 AM
            RE: Cannot start Apache with mod_perl Andrew.Ircha at fkilogistex Oct 8, 2008, 4:25 PM
    RE: Cannot start Apache with mod_perl Andrew.Ircha at fkilogistex Nov 5, 2008, 2:25 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.