Mailing List Archive

1.11.2 install fail: missing mod_apreq
So I saw that this came up on the list a couple times, for a couple
different versions. I tried installing the new 1.11.2 release on a
fresh Centos 5.4 VM, and got:

###############################################################################

The following Apache modules are required by Bricolage and
are missing from your installation:
mod_apreq

Please install them or, if they are installed, you may need to enable
them in
the mods-enabled directory of your apache2 installation or use a2enmod
<module>,
if you have that installed on your operating system.

###############################################################################


...even though mod_apreq2.so appears to be enabled in /etc/httpd/
conf.d/apreq.conf. What's up with that? I did chose apache2 when the
installer prompted.

Also, in a move of sheer brilliance, I chose to disregard the
README.Redhat until the above fail. That file says that you can't use
Apache rpms and must install from source, but github says that file
hasn't been updated since 2005, before Apache 2.0 support and many
other changes. Is installing Apache from source still a requirement?
I'd assume so, and will start building that now, but thought I'd ask
since it had been a while, and wasn't sure if that was related to the
message above.

-Aaron


---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA224



On 16-Nov-09, at 7:11 PM, Aaron Fuleki wrote:

> So I saw that this came up on the list a couple times, for a couple
> different versions. I tried installing the new 1.11.2 release on a
> fresh Centos 5.4 VM, and got:
>
> ###############################################################################
>
> The following Apache modules are required by Bricolage and
> are missing from your installation:
> mod_apreq
>
> Please install them or, if they are installed, you may need to
> enable them in
> the mods-enabled directory of your apache2 installation or use
> a2enmod <module>,
> if you have that installed on your operating system.
>
> ###############################################################################
>
>
> ...even though mod_apreq2.so appears to be enabled in /etc/httpd/
> conf.d/apreq.conf. What's up with that? I did chose apache2 when
> the installer prompted.

Not sure if this will answer your question... but, when I was
installing on Debian, I almost missed this tip on the "Installation
tips" wiki page:
http://wiki.github.com/bricoleurs/bricolage/installation-tips

"You also need to run $B!H(Ba2enmod apreq$B!I(B at the command prompt."

Before I did that, I receive the same error you're reporting above.

Let me know if that's even remotely useful information.

Phillip.

- --
Phillip Smith // Simplifier of Technology // COMMUNITY BANDWIDTH
www.communitybandwidth.ca // www.phillipadsmith.com







-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)

iFYEARELAAYFAksB0SoACgkQUYvxXdY8XUlrLwDfd7OCCzTJdp6K4qVdwoqLLlpW
fCbc71JfwEjgswDgzkVqThdZnb1KaTimGO3poo96/j/Y/Bjx+7kR1w==
=9rBh
-----END PGP SIGNATURE-----
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Phillip,
Thanks - I saw that, but I believe a2enmod is debian/ubuntu
specific. I get a big fat command not found.

-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------



On Nov 16, 2009, at 5:24 PM, Phillip Smith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA224
>
>
>
> On 16-Nov-09, at 7:11 PM, Aaron Fuleki wrote:
>
>> So I saw that this came up on the list a couple times, for a couple
>> different versions. I tried installing the new 1.11.2 release on a
>> fresh Centos 5.4 VM, and got:
>>
>> ###############################################################################
>>
>> The following Apache modules are required by Bricolage and
>> are missing from your installation:
>> mod_apreq
>>
>> Please install them or, if they are installed, you may need to
>> enable them in
>> the mods-enabled directory of your apache2 installation or use
>> a2enmod <module>,
>> if you have that installed on your operating system.
>>
>> ###############################################################################
>>
>>
>> ...even though mod_apreq2.so appears to be enabled in /etc/httpd/
>> conf.d/apreq.conf. What's up with that? I did chose apache2 when
>> the installer prompted.
>
> Not sure if this will answer your question... but, when I was
> installing on Debian, I almost missed this tip on the "Installation
> tips" wiki page:
> http://wiki.github.com/bricoleurs/bricolage/installation-tips
>
> "You also need to run “a2enmod apreq” at the command prompt."
>
> Before I did that, I receive the same error you're reporting above.
>
> Let me know if that's even remotely useful information.
>
> Phillip.
>
> - --
> Phillip Smith // Simplifier of Technology // COMMUNITY
> BANDWIDTH
> www.communitybandwidth.ca // www.phillipadsmith.com
>
>
>
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
>
> iFYEARELAAYFAksB0SoACgkQUYvxXdY8XUlrLwDfd7OCCzTJdp6K4qVdwoqLLlpW
> fCbc71JfwEjgswDgzkVqThdZnb1KaTimGO3poo96/j/Y/Bjx+7kR1w==
> =9rBh
> -----END PGP SIGNATURE-----
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Crap! Is there a link to the Centos 5.4 VM you used?

On 16-Nov-09, at 7:33 PM, Aaron Fuleki wrote:

> Phillip,
> Thanks - I saw that, but I believe a2enmod is debian/ubuntu
> specific. I get a big fat command not found.
>
> -Aaron
>
> ---------------------------------
> Aaron Fuleki
> Senior Web Architect
> Denison University
> 740.587.5752
> ---------------------------------
>
>
>
> On Nov 16, 2009, at 5:24 PM, Phillip Smith wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA224
>>
>>
>>
>> On 16-Nov-09, at 7:11 PM, Aaron Fuleki wrote:
>>
>>> So I saw that this came up on the list a couple times, for a
>>> couple different versions. I tried installing the new 1.11.2
>>> release on a fresh Centos 5.4 VM, and got:
>>>
>>> ###############################################################################
>>>
>>> The following Apache modules are required by Bricolage and
>>> are missing from your installation:
>>> mod_apreq
>>>
>>> Please install them or, if they are installed, you may need to
>>> enable them in
>>> the mods-enabled directory of your apache2 installation or use
>>> a2enmod <module>,
>>> if you have that installed on your operating system.
>>>
>>> ###############################################################################
>>>
>>>
>>> ...even though mod_apreq2.so appears to be enabled in /etc/httpd/
>>> conf.d/apreq.conf. What's up with that? I did chose apache2 when
>>> the installer prompted.
>>
>> Not sure if this will answer your question... but, when I was
>> installing on Debian, I almost missed this tip on the "Installation
>> tips" wiki page:
>> http://wiki.github.com/bricoleurs/bricolage/installation-tips
>>
>> "You also need to run “a2enmod apreq” at the command prompt."
>>
>> Before I did that, I receive the same error you're reporting above.
>>
>> Let me know if that's even remotely useful information.
>>
>> Phillip.
>>
>> - --
>> Phillip Smith // Simplifier of Technology // COMMUNITY
>> BANDWIDTH
>> www.communitybandwidth.ca // www.phillipadsmith.com
>>
>>
>>
>>
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
>>
>> iFYEARELAAYFAksB0SoACgkQUYvxXdY8XUlrLwDfd7OCCzTJdp6K4qVdwoqLLlpW
>> fCbc71JfwEjgswDgzkVqThdZnb1KaTimGO3poo96/j/Y/Bjx+7kR1w==
>> =9rBh
>> -----END PGP SIGNATURE-----
>

--
Phillip Smith // Simplifier of Technology // COMMUNITY BANDWIDTH
www.communitybandwidth.ca // www.phillipadsmith.com
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Check out the dev list and bug reports for this issue. IIRC, it's a issue where the install script is looking for mod_apreq2 and it gets put into the config as mod_apreq. Or the other way around. I always solved it by tweaking the script before install. I seem to remember the discussion on the list getting increasingly pointless until nothing got done. I even think there were commits, decommits, and maybe another commit, none of which that fixed things. So, pure awesome.

-Matt

On Nov 16, 2009, at 5:11 PM, Aaron Fuleki wrote:

> So I saw that this came up on the list a couple times, for a couple different versions. I tried installing the new 1.11.2 release on a fresh Centos 5.4 VM, and got:
>
> ###############################################################################
>
> The following Apache modules are required by Bricolage and
> are missing from your installation:
> mod_apreq
>
> Please install them or, if they are installed, you may need to enable them in
> the mods-enabled directory of your apache2 installation or use a2enmod <module>,
> if you have that installed on your operating system.
>
> ###############################################################################
>
>
> ...even though mod_apreq2.so appears to be enabled in /etc/httpd/conf.d/apreq.conf. What's up with that? I did chose apache2 when the installer prompted.
>
> Also, in a move of sheer brilliance, I chose to disregard the README.Redhat until the above fail. That file says that you can't use Apache rpms and must install from source, but github says that file hasn't been updated since 2005, before Apache 2.0 support and many other changes. Is installing Apache from source still a requirement? I'd assume so, and will start building that now, but thought I'd ask since it had been a while, and wasn't sure if that was related to the message above.
>
> -Aaron
>
>
> ---------------------------------
> Aaron Fuleki
> Senior Web Architect
> Denison University
> 740.587.5752
> ---------------------------------
>
>
>
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
On Nov 17, 2009, at 5:25 AM, Matt Rolf wrote:

> Check out the dev list and bug reports for this issue. IIRC, it's a issue where the install script is looking for mod_apreq2 and it gets put into the config as mod_apreq. Or the other way around. I always solved it by tweaking the script before install. I seem to remember the discussion on the list getting increasingly pointless until nothing got done. I even think there were commits, decommits, and maybe another commit, none of which that fixed things. So, pure awesome.

I thought that Paul Orrock fixed it, actually. But obviously it still needs tweaking.

Best,

David
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Aaron Fuleki escribió:
> So I saw that this came up on the list a couple times, for a couple
> different versions. I tried installing the new 1.11.2 release on a
> fresh Centos 5.4 VM, and got:
>
> ###############################################################################
>
>
> The following Apache modules are required by Bricolage and
> are missing from your installation:
> mod_apreq
>
> Please install them or, if they are installed, you may need to enable
> them in
> the mods-enabled directory of your apache2 installation or use a2enmod
> <module>,
> if you have that installed on your operating system.
>
> ###############################################################################
>
>
>
> ...even though mod_apreq2.so appears to be enabled in
> /etc/httpd/conf.d/apreq.conf. What's up with that? I did chose
> apache2 when the installer prompted.
>
> Also, in a move of sheer brilliance, I chose to disregard the
> README.Redhat until the above fail. That file says that you can't use
> Apache rpms and must install from source, but github says that file
> hasn't been updated since 2005, before Apache 2.0 support and many
> other changes. Is installing Apache from source still a requirement?
> I'd assume so, and will start building that now, but thought I'd ask
> since it had been a while, and wasn't sure if that was related to the
> message above.
>
> -Aaron
>
>
> ---------------------------------
> Aaron Fuleki
> Senior Web Architect
> Denison University
> 740.587.5752
> ---------------------------------
>
>
>
>
Hello Aaron,

I've stumbled upon this problem, too. I thought my OpenSUSE was to
blame, because it has this weird installation scheme for Apache (conf
directives are scattered through different directories and it ignores
version 2 of apreq. Eventually I solved it by symlinking mod_apreq2.so
to mod_apreq.so.

Best,

Michael
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Well, it turns out that the install process doesn't understand that
there are more config files in conf.d/*, which is where apreq is
enabled on Centos. I copied a duplicate line to enable it into
httpd.conf proper (which apache ignored on startup), and make worked.

So, is there any way the bric installer can be "smarter" about
checking module enablement?

-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
On Nov 20, 2009, at 5:34 AM, Aaron Fuleki wrote:

> Well, it turns out that the install process doesn't understand that there are more config files in conf.d/*, which is where apreq is enabled on Centos. I copied a duplicate line to enable it into httpd.conf proper (which apache ignored on startup), and make worked.
>
> So, is there any way the bric installer can be "smarter" about checking module enablement?

There needs to be a better way to parse httpd.conf files with `Include`s. Is there a module for that?

David
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
what about
httpd2 -M

krzysztof

On Thu, Nov 19, 2009 at 10:52 PM, David E. Wheeler <david@kineticode.com> wrote:
> On Nov 20, 2009, at 5:34 AM, Aaron Fuleki wrote:
>
>> Well, it turns out that the install process doesn't understand that there are more config files in conf.d/*, which is where apreq is enabled on Centos.  I copied a duplicate line to enable it into httpd.conf proper (which apache ignored on startup), and make worked.
>>
>> So, is there any way the bric installer can be "smarter" about checking module enablement?
>
> There needs to be a better way to parse httpd.conf files with `Include`s. Is there a module for that?
>
> David
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Krzysztof Rudnik wrote:
> what about
> httpd2 -M

I'm afraid that httpd2 isn't a consistent name across OSs so we still have
the same problem. Thinking about it, we could do that once we've found the
apache2 binary since it will just use whatever the OS has set up for it's
config and modules to load.

So lets try and get some agreement on this. Could everyone who has apache2
and apreq correctly configured please test that running the binary that
Bricolage finds with the -M switch gives them mod_apreq or mod_apreq2 in
the list of returned binaries [*]. Are we happy to force it to be a default
module, I can't think of many reasons why it wouldn't be on a bricolage server.

[*] This doesn't work on Debian due to the pig-headedness of some of the
maintainers. Quote "We didn't have time to fix it for this version so we
released it broken" - numpties. However I shall find a work around.

regards,

Paul
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
On Nov 20, 2009, at 7:07 PM, Paul Orrock wrote:

> So lets try and get some agreement on this. Could everyone who has apache2 and apreq correctly configured please test that running the binary that Bricolage finds with the -M switch gives them mod_apreq or mod_apreq2 in the list of returned binaries [*]. Are we happy to force it to be a default module, I can't think of many reasons why it wouldn't be on a bricolage server.

% /usr/local/apache2/bin/httpd -M | grep apreq
Syntax OK
apreq_module (shared)

> [*] This doesn't work on Debian due to the pig-headedness of some of the maintainers. Quote "We didn't have time to fix it for this version so we released it broken" - numpties. However I shall find a work around.

Ha ha ha ha!

David
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
On Nov 20, 2009, at 5:07 AM, Paul Orrock wrote:

> Could everyone who has apache2 and apreq correctly configured please
> test that running the binary that Bricolage finds with the -M switch
> gives them mod_apreq or mod_apreq2 in the list of returned binaries

Works fine on Centos 5.4

-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
Aaron Fuleki wrote:
> On Nov 20, 2009, at 5:07 AM, Paul Orrock wrote:
>
>> Could everyone who has apache2 and apreq correctly configured please
>> test that running the binary that Bricolage finds with the -M switch
>> gives them mod_apreq or mod_apreq2 in the list of returned binaries
>
> Works fine on Centos 5.4

which one does it give you ?

regards,

Paul
Re: 1.11.2 install fail: missing mod_apreq [ In reply to ]
It says apreq_module, even though I'm clearly loading mod_apreq2.so in
httpd.conf. I guess that's just how it reports/registers itself.

-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------



On Nov 20, 2009, at 10:30 AM, Paul Orrock wrote:

>
>
> Aaron Fuleki wrote:
>> On Nov 20, 2009, at 5:07 AM, Paul Orrock wrote:
>>> Could everyone who has apache2 and apreq correctly configured
>>> please test that running the binary that Bricolage finds with the -
>>> M switch gives them mod_apreq or mod_apreq2 in the list of
>>> returned binaries
>> Works fine on Centos 5.4
>
> which one does it give you ?
>
> regards,
>
> Paul