From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 16:09:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55C0C106566B for ; Wed, 15 Jun 2011 16:09:52 +0000 (UTC) (envelope-from web@umich.edu) Received: from iamlegend.mr.itd.umich.edu (iamlegend.mr.itd.umich.edu [141.211.14.68]) by mx1.freebsd.org (Postfix) with ESMTP id 10F778FC19 for ; Wed, 15 Jun 2011 16:09:51 +0000 (UTC) Received: FROM tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) By iamlegend.mr.itd.umich.edu ID 4DF8D2F3.D86B0.20080 ; 15 Jun 2011 11:42:43 EDT Received: FROM itcom245.staff.itd.umich.edu (itcom245.staff.itd.umich.edu [141.213.135.249]) By tombraider.mr.itd.umich.edu ID 4DF8D2F2.48C4F.26381 ; Authuser web; 15 Jun 2011 11:42:42 EDT Date: Wed, 15 Jun 2011 11:42:35 -0400 From: William Bulley To: freebsd-questions@freebsd.org Message-ID: <20110615154235.GD12088@itcom245.staff.itd.umich.edu> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: system upgrade introduced oddball apache error... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 16:09:52 -0000 Running FreeBSD 8.2-STABLE #0: Thu Jun 9 09:25:05 EDT 2011 on i386 and rebuilt all my ports from source shortly after the upgrade. Got 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 only reference to it is in an Apache config include file: PerlModule "Apache2::Const -compile => ':common'" I have these ports: perl-5.14.0 apache-2.2.19 ap22-mod_perl2-2.0.5,3 In the /usr/local/etc/apache22/httpd.conf file, there is this line: LoadModule perl_module libexec/apache22/mod_perl.so but the httpd.conf file was unchanged from before the upgrade. 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 This 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@umich.edu 72 characters width template ----------------------------------------->|