Re: apache2 or mod_perl2 oddball error (RESOLVED)

2011-06-23 Thread William Bulley
According to me : > > 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 i

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to "James B. Muir" on Tue, 06/21/11 at 12:57: > > Getting back to basics... Are you sure that your build of Apache > and perl went well? Have you scrutinized the logs you created when > you built perl and apache for any surprising error messages? Yes, they built without error. Regards

RE: apache2 or mod_perl2 oddball error

2011-06-21 Thread James B. Muir
, 2011 12:51 PM To: Andr? Warnier Cc: mod_perl list Subject: Re: apache2 or mod_perl2 oddball error According to Andr? Warnier on Tue, 06/21/11 at 12:05: > > Right, but what that page is showing, is the syntax of the perl "use > some::module;" directive, as used /inside of a pe

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Andr? Warnier on Tue, 06/21/11 at 12:05: > > Right, but what that page is showing, is the syntax of the perl "use > some::module;" directive, as used /inside of a perl program/. > Here we are talking about the "PerlModule" directive, as used in a > httpd.conf file (or another file i

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Perrin Harkins on Tue, 06/21/11 at 11:57: > > Maybe I'm the one confused now, but I thought you said that when you > removed that the application started and those errors about the > modules went away. You said that instead you got errors about > "unreferenced scalar" stuff when apa

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread André Warnier
William Bulley wrote: ... Perhaps the reason that syntax is used may have come from this POD: Right, but what that page is showing, is the syntax of the perl "use some::module;" directive, as used /inside o

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread Perrin Harkins
On Tue, Jun 21, 2011 at 8:05 AM, William Bulley wrote: >> So, if you just remove the "-compile => ':common'" part, does Apache still >> fail to start (at the same point I mean) ? [...] > This suggestion was given earlier and I tried it late last week to no avail. > I still got the same error compl

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
According to Andr? Warnier on Sun, 06/19/11 at 17:52: > > When Apache executes a LoadModule directive, it not only loads that module > code in memory. The module code also gets called at that point, and in > return the module tells Apache which further configuration directives "it > is intere

Re: apache2 or mod_perl2 oddball error

2011-06-19 Thread André Warnier
William Bulley wrote: According to Perrin Harkins on Fri, 06/17/11 at 15:35: On Fri, Jun 17, 2011 at 3:20 PM, William Bulley wrote: Recall that all I'm trying to do at this point is to get the apache server up and running. ?The fact that these two lines in this include file of this particular

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 15:35: > > On Fri, Jun 17, 2011 at 3:20 PM, William Bulley wrote: > > Recall that all I'm trying to do at this point is to get the apache > > server up and running. ?The fact that these two lines in this include > > file of this particular applicati

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 16:22: > > I think Perrin is right, I've never seen -compile syntax used in > PerlModule directives. Move the PerlModule directives into a > startup.pl file. > > In your httpd.conf: > > LoadModule perl_modulemodules/mod_perl.so > PerlPostConfi

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Fred Moyer
I think Perrin is right, I've never seen -compile syntax used in PerlModule directives. Move the PerlModule directives into a startup.pl file. In your httpd.conf: LoadModule perl_modulemodules/mod_perl.so PerlPostConfigRequire /my/startup.pl In your startup.pl: #!/usr/bin/perl use str

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley wrote: > > I have Perl 5.14 compiled from source. > > I have apache 2.2.19 ?compiled from source. > > I have mod_perl2 2.0.5 compiled from source (with these patches): > > Can you pull 2.0.6-de

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 3:20 PM, William Bulley wrote: > Recall that all I'm trying to do at this point is to get the apache > server up and running.  The fact that these two lines in this include > file of this particular application case "apachectl -t" to error out > should have nothing to do wi

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 14:24: > > Have you tried making a startup.pl and calling these from there with use() ? Recall that all I'm trying to do at this point is to get the apache server up and running. The fact that these two lines in this include file of this particula

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 2:18 PM, William Bulley wrote: > Others have suggested that I strip the parameters - I did and no change. > > Others suggested I place the module(s) invocation inside (the existing) > ... tags - I did and no change.  Go figure? Have you tried making a startup.pl and callin

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 13:44: > > On Fri, Jun 17, 2011 at 12:34 PM, William Bulley wrote: > > ? PerlModule "Apache2::Const -compile => ':common'" > > ? PerlModule "APR::Const -compile => ':common'" > > That syntax used to work? It seems unlikely. I've never seen a > Pe

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to "James B. Muir" on Fri, 06/17/11 at 13:29: > > Have you checked the permissions on the Const.pm module? freebsd% ls -l /usr/local/lib/perl5/site_perl/5.14.0/mach/APR/Const.pm \ /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm \ /usr/local/lib/perl5/site_perl/5.14.0/mach/

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley wrote: > > I have Perl 5.14 compiled from source. > > I have apache 2.2.19 ?compiled from source. > > I have mod_perl2 2.0.5 compiled from source (with these patches): > > Can you pull 2.0.6-d

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Perrin Harkins
On Fri, Jun 17, 2011 at 12:34 PM, William Bulley wrote: >   PerlModule "Apache2::Const -compile => ':common'" >   PerlModule "APR::Const -compile => ':common'" That syntax used to work? It seems unlikely. I've never seen a PerlModule call with options like this before. I'd expect it to work wi

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Fred Moyer
On Fri, Jun 17, 2011 at 10:29 AM, William Bulley wrote: > I have Perl 5.14 compiled from source. > I have apache 2.2.19  compiled from source. > I have mod_perl2 2.0.5 compiled from source (with these patches): Can you pull 2.0.6-dev from svn and build? http://perl.apache.org/download/source.htm

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Torsten F?rtsch on Fri, 06/17/11 at 13:13: > > On Friday, June 17, 2011 18:34:07 William Bulley wrote: > > Something in apache2 or > > mod_perl2 or their APIs has changed, perhaps related to the newish > > Perl 5.14 version. > > That may be the reason. 5.14 required some changes in

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread Torsten Förtsch
On Friday, June 17, 2011 18:34:07 William Bulley wrote: > Something in apache2 or > mod_perl2 or their APIs has changed, perhaps related to the newish > Perl 5.14 version. That may be the reason. 5.14 required some changes in the code. One half of them went into modperl 2.0.5. It made 5.14rc2 com

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Thu, 06/16/11 at 13:56: > > Hmm, odd that it wouldn't work under 2.0.5 but it would under 2.0.4. I have spent some time today looking at the change logs for both mod_perl2 and apache2 to see what, if anything, might point to a change that could have produced my current

Re: apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
According to Fred Moyer on Thu, 06/16/11 at 13:56: > > Hmm, odd that it wouldn't work under 2.0.5 but it would under 2.0.4. My point exactly... :-( > No idea why offhand. Do you use a startup.pl in your application? No. The application's URL points to a directory with Mason laden HTML file

Re: apache2 or mod_perl2 oddball error

2011-06-16 Thread Fred Moyer
On Thu, Jun 16, 2011 at 9:28 AM, William Bulley wrote: > 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.

apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
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