Mailing List Archive

Apache Silently Fails to Start, Post-1.11.3 Upgrade
Folks,

I just upgraded from v1.11.1 to v1.11.3 (via make upgrade), but it hasn’t worked out very well. The problem appears to be with Apache 2, not Bricolage, but I’m not certain of that. The upgrade itself went just fine, concluding with "Bricolage Upgrade Complete,” no errors or anything. (At least not once I was done hacking my way around the mod_apreq2 problem...) But when firing up Bricolage, it goes a little like this:

----cut----
# /usr/local/bricolage/bin/bric_apachectl start
bric_apachectl start: starting httpd
bric_apachectl start: httpd could not be started
----cut----

Given the lack of verbosity, I figured I’d cut Bricolage out of the loop and fire up Apache using the httpd.conf within Bricolage.

----cut----
# /usr/sbin/httpd -f /usr/local/bricolage/conf/httpd.conf -e debug
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module perl_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module expires_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module apreq_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module log_config_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module mime_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module alias_module
[Tue Feb 02 11:48:10 2010] [debug] mod_so.c(246): loaded module ssl_module
----cut----

No errors, but Apache still doesn’t fire up. I tried shutting down the main site—leaving no instances of httpd running—and then starting only the Bricolage instance of Apache, but the result was the same. As I was with v1.11.1, I’m using this same Apache 2 binary to run the live (non-Bricolage) site on this same box, and nothing has changed on that front this morning.

Any ideas?

Best,
Waldo


---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223
434-243-4995
Re: Apache Silently Fails to Start, Post-1.11.3 Upgrade [ In reply to ]
On 2 Feb 2010, at 12:20 PM, Waldo Jaquith wrote:

> ----cut----
> # /usr/local/bricolage/bin/bric_apachectl start
> bric_apachectl start: starting httpd
> bric_apachectl start: httpd could not be started
> ----cut----

Any complaints or notes in the Bricolage error log?
Re: Apache Silently Fails to Start, Post-1.11.3 Upgrade [ In reply to ]
On Feb 2, 2010, at 12:26 PM, Greg Heo wrote:
>
> On 2 Feb 2010, at 12:20 PM, Waldo Jaquith wrote:
>
>> ----cut----
>> # /usr/local/bricolage/bin/bric_apachectl start
>> bric_apachectl start: starting httpd
>> bric_apachectl start: httpd could not be started
>> ----cut----
>
> Any complaints or notes in the Bricolage error log?

Aw, hell—that would have been a good place to check, wouldn’t it? :) Here I am, trying to get Apache to output something more verbose, and it’s putting it in the Bricolage Apache error log.

----cut----
[Tue Feb 02 12:38:06 2010] [error] Nested quantifiers in regex; marked by <-- HERE in m/::Media::.++ <-- HERE $/ at /usr/local/bricolage/lib/Bric/App/Callback/Util/Asset.pm line 14.\nCompilation failed in require at /usr/local/bricolage/lib/Bric/App/Callback/Desk.pm line 15.\nBEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/App/Callback/Desk.pm line 15.\nCompilation failed in require at /usr/local/bricolage/lib/Bric/App/Callback/ContainerProf.pm line 15.\nBEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/App/Callback/ContainerProf.pm line 15.\nCompilation failed in require at /usr/local/bricolage/lib/Bric/App/Handler.pm line 63.\nBEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/App/Handler.pm line 63.\nCompilation failed in require at /usr/local/bricolage/lib/Bric/App/ApacheStartup.pm line 74.\nBEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/App/ApacheStartup.pm line 74.\nCompilation failed in require at /usr/local/bricolage/lib/Bric/App/ApacheConfig.pm line 49.\nBEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/App/ApacheConfig.pm line 49.\nCompilation failed in require at (eval 2) line 3.\n
[Tue Feb 02 12:38:06 2010] [error] Can't load Perl module Bric::App::ApacheConfig for server localhost:0, exiting...
----cut----

Looks like this might could keep me busy for a while. :) Thanks for the reality check, Greg!

Best,
Waldo


---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223
434-243-4995
Re: Apache Silently Fails to Start, Post-1.11.3 Upgrade [ In reply to ]
On 2 Feb 2010, at 12:41 PM, Waldo Jaquith wrote:

>>
>> Any complaints or notes in the Bricolage error log?
>
> Aw, hell—that would have been a good place to check, wouldn’t it? :) Here I am, trying to get Apache to output something more verbose, and it’s putting it in the Bricolage Apache error log.

Same bug I ran into. Check out this patch:
http://github.com/bricoleurs/bricolage/commit/08a74092cfcac1a8ca672438b7fb28a27a70a8c7

--Greg
Re: Apache Silently Fails to Start, Post-1.11.3 Upgrade [ In reply to ]
On Feb 2, 2010, at 12:43 PM, Greg Heo wrote:
>
> On 2 Feb 2010, at 12:41 PM, Waldo Jaquith wrote:
>>>
>>> Any complaints or notes in the Bricolage error log?
>>
>> Aw, hell—that would have been a good place to check, wouldn’t it? :) Here I am, trying to get Apache to output something more verbose, and it’s putting it in the Bricolage Apache error log.
>
> Same bug I ran into. Check out this patch:
> http://github.com/bricoleurs/bricolage/commit/08a74092cfcac1a8ca672438b7fb28a27a70a8c7

W00t! That fixed it immediately. :) Given how lousy I am with Perl, I would have figured that out never-ish. Thanks so much for your help, Greg.

Best,
Waldo


---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223
434-243-4995