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

Mailing List Archive: ModPerl: ModPerl
apache2 or mod_perl2 oddball error
 

Index | Next | Previous | View Flat


web at umich

Jun 16, 2011, 9:28 AM


Views: 1021
Permalink
apache2 or mod_perl2 oddball error

I'm not sure this is the best place to ask about this problem, and
this is my first posting to this mailing list. I have already asked
the freebsd-questions mailing list about this, but have received no
replies as of this writing.

I'm running FreeBSD 8.2-STABLE #0: Thu Jun 9 09:25:05 EDT 2011 on i386
and I rebuilt all my ports from source shortly after the upgrade. I got
a weird error when I tried to start apache2 (using "% apachectl -t" first):

[Mon Jun 13 10:16:15 2011] [error] syntax error at (eval 21) line 1, near "require Apache2::Const -"\n
[Mon Jun 13 10:16:15 2011] [error] Can't load Perl module Apache2::Const -compile => ':common' for server localhost:80, exiting...

The Perl module in question is present here:

freebsd% ls -l /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm
-r--r--r-- 1 root wheel 25924 Jun 10 17:08 /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm

The httpd.conf file is unchanged and was working since from before
the upgrade.

In the /usr/local/etc/apache22/httpd.conf file are these lines among
several hundred other lines:

LoadModule perl_module libexec/apache22/mod_perl.so
Include etc/apache22/Includes/*.conf

The only reference to the Apache2::Const module is in an Apache
config include file:

PerlModule "Apache2::Const -compile => ':common'"

I have these FreeBSD ports installed among several hundred others:

perl-5.14.0
apache-2.2.19
ap22-mod_perl2-2.0.5,3

Neither of these two commands gave any output at all:

freebsd% perl -e 'use Apache2::Const qw( :common );
freebsd% perl -M'Apache2::Const -compile => qw(:common)' -e 1;

This command gave one line of output:

freebsd% perl -MApache2::Const -e 'print $Apache2::Const::VERSION, "\n"';
2.000005

The above problem did not occur before the upgrade when I was running:

perl-5.12.3
apache-2.2.17_1
ap22-mod_perl2-2.0.4_2,3

I don't know how to debug this problem. No log files in /var/log were
changed by running the apachectl(8) command and there have been no new
lines added to /var/log/httpd-error.log since I rebooted and shut down
apache2 on June 9th as part of the upgrade. Any and all ideas welcome.

Regards,

web...

--
William Bulley Email: web [at] umich

72 characters width template ----------------------------------------->|

Subject User Time
apache2 or mod_perl2 oddball error web at umich Jun 16, 2011, 9:28 AM
    Re: apache2 or mod_perl2 oddball error fred at redhotpenguin Jun 16, 2011, 10:56 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 16, 2011, 11:54 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 9:34 AM
    Re: apache2 or mod_perl2 oddball error torsten.foertsch at gmx Jun 17, 2011, 10:13 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 10:29 AM
    Re: apache2 or mod_perl2 oddball error fred at redhotpenguin Jun 17, 2011, 10:43 AM
    Re: apache2 or mod_perl2 oddball error perrin at elem Jun 17, 2011, 10:44 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 11:11 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 11:13 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 11:18 AM
    Re: apache2 or mod_perl2 oddball error perrin at elem Jun 17, 2011, 11:24 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 12:20 PM
    Re: apache2 or mod_perl2 oddball error perrin at elem Jun 17, 2011, 12:35 PM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 1:09 PM
    Re: apache2 or mod_perl2 oddball error fred at redhotpenguin Jun 17, 2011, 1:22 PM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 2:05 PM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 17, 2011, 8:50 PM
    Re: apache2 or mod_perl2 oddball error aw at ice-sa Jun 19, 2011, 2:52 PM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 21, 2011, 5:05 AM
    Re: apache2 or mod_perl2 oddball error perrin at elem Jun 21, 2011, 8:57 AM
    Re: apache2 or mod_perl2 oddball error aw at ice-sa Jun 21, 2011, 9:05 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 21, 2011, 9:16 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 21, 2011, 9:51 AM
    RE: apache2 or mod_perl2 oddball error James.B.Muir at hitchcock Jun 21, 2011, 9:57 AM
    Re: apache2 or mod_perl2 oddball error web at umich Jun 21, 2011, 10:04 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.