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

Mailing List Archive: Bricolage: devel

Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary)

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


paulo at digitalcraftsmen

Jan 6, 2009, 10:44 AM

Post #1 of 8 (2130 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary)

Hi Scott

Maybe between us we can finally get to the bottom of it.

On Hardy I have libapache2-mod-apreq2, version 2.08-5 which gives me

/usr/lib/apache2/modules/mod_apreq2.so

and

/etc/apache2/mods-available/apreq.load

which has

LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so

On doing a make in trunk it says

Your Apache supports loadable modules (DSOs).
Found Apache user: www-data
Found Apache group: www-data
Checking for required Apache modules...
All required modules found.

with apreq instead of apreq2 in the htprobe_apache2.pl script

What do you get ?

regards,

Paul


rolfm at denison

Jan 6, 2009, 11:12 AM

Post #2 of 8 (2028 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

As I noted in an earlier e-mail to this list, I believe apreq uses a
different name when built as a static module (and found by the script)
than when it is in LoadModule.

LoadModule apreq_module lib/httpd/mod_apreq2.so

So if the script looks for $apreq2_module, it's not going to find it.

****
foreach my $mod (qw(apreq expires perl log_config mime alias
apache_ssl ssl)) {
# first look in static modules
if (exists $AP{static_modules}{"mod_$mod"} ||
..
if ($AP{dso}) {
# try modules specified in LoadModule
# (note: removed add_module part)
if ($AP{load_modules}{"${mod}_module"}

I had suggested using a search for mod_$mod in the Load Module
search, but no one responded. I believe that will fix it in this
case, but I don't know the impact on other modules.

-Matt


On Jan 6, 2009, at 1:44 PM, Paul Orrock wrote:

> Hi Scott
>
> Maybe between us we can finally get to the bottom of it.
>
> On Hardy I have libapache2-mod-apreq2, version 2.08-5 which gives me
>
> /usr/lib/apache2/modules/mod_apreq2.so
>
> and
>
> /etc/apache2/mods-available/apreq.load
>
> which has
>
> LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
>
> On doing a make in trunk it says
>
> Your Apache supports loadable modules (DSOs).
> Found Apache user: www-data
> Found Apache group: www-data
> Checking for required Apache modules...
> All required modules found.
>
> with apreq instead of apreq2 in the htprobe_apache2.pl script
>
> What do you get ?
>
> regards,
>
> Paul


lannings at who

Jan 7, 2009, 9:07 AM

Post #3 of 8 (2021 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

On Tue, 6 Jan 2009, Paul Orrock wrote:
> On Hardy I have libapache2-mod-apreq2, version 2.08-5 which gives me

Same here (on Intrepid).

> /usr/lib/apache2/modules/mod_apreq2.so
>
> and
>
> /etc/apache2/mods-available/apreq.load

I have these.

> which has
>
> LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so

Me too!

> On doing a make in trunk it says
>
> Your Apache supports loadable modules (DSOs).
> Found Apache user: www-data
> Found Apache group: www-data
> Checking for required Apache modules...
> All required modules found.
>
> with apreq instead of apreq2 in the htprobe_apache2.pl script
>
> What do you get ?

svn co https://svn.bricolage.cc/bricolage/trunk
cd trunk/
make dist
cd bricolage-1.11.2
perl Makefile.PL
make
[....]
Looking for Apache with version >= 2.0.55...
Found Apache server binary at '/usr/sbin/apache2'.
Is this correct? [yes]
Found Apache executable at /usr/sbin/apache2.
Found acceptable version of Apache: 2.2.9.
[....]
==> Probing Apache Configuration <==

Extracting configuration data from `/usr/sbin/apache2 -V`.
Reading Apache conf file: /etc/apache2/apache2.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/alias.load.
Reading Apache conf file: /etc/apache2/mods-enabled/auth_basic.load.
Reading Apache conf file: /etc/apache2/mods-enabled/authn_file.load.
Reading Apache conf file: /etc/apache2/mods-enabled/authz_default.load.
Reading Apache conf file: /etc/apache2/mods-enabled/authz_groupfile.load.
Reading Apache conf file: /etc/apache2/mods-enabled/authz_host.load.
Reading Apache conf file: /etc/apache2/mods-enabled/authz_user.load.
Reading Apache conf file: /etc/apache2/mods-enabled/autoindex.load.
Reading Apache conf file: /etc/apache2/mods-enabled/cgi.load.
Reading Apache conf file: /etc/apache2/mods-enabled/deflate.load.
Reading Apache conf file: /etc/apache2/mods-enabled/dir.load.
Reading Apache conf file: /etc/apache2/mods-enabled/env.load.
Reading Apache conf file: /etc/apache2/mods-enabled/mime.load.
Reading Apache conf file: /etc/apache2/mods-enabled/negotiation.load.
Reading Apache conf file: /etc/apache2/mods-enabled/perl.load.
Reading Apache conf file: /etc/apache2/mods-enabled/setenvif.load.
Reading Apache conf file: /etc/apache2/mods-enabled/status.load.
Reading Apache conf file: /etc/apache2/mods-enabled/alias.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/autoindex.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/deflate.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/dir.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/mime.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/negotiation.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/setenvif.conf.
Reading Apache conf file: /etc/apache2/mods-enabled/status.conf.
Reading Apache conf file: /etc/apache2/httpd.conf.
Reading Apache conf file: /etc/apache2/ports.conf.
Extracting static module list from `/usr/sbin/apache2 -l`.
Your Apache supports loadable modules (DSOs).
Found Apache user: www-data
Found Apache group: www-data
Checking for required Apache modules...
###############################################################################

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


###############################################################################
Failed to launch apache2 probing script inst/htprobe_apache2.pl: 256
make: *** [apache.db] Error 1
sacre-laptop$


lannings at who

Jan 7, 2009, 9:17 AM

Post #4 of 8 (2032 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

On Wed, 7 Jan 2009, Scott Lanning wrote:
> On Tue, 6 Jan 2009, Paul Orrock wrote:
>> /etc/apache2/mods-available/apreq.load
[....]
> Reading Apache conf file: /etc/apache2/mods-enabled/alias.load.

I understand now, I apparently have to manually add a symlink
from mods-available:
cd /etc/apache2/mods-enabled/
sudo ln -s ../mods-available/apreq.load

And now it works...
Thanks

(I'm betting this will explain the make test error, too.....)


paulo at digitalcraftsmen

Jan 7, 2009, 9:18 AM

Post #5 of 8 (2022 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

Hi Scott,

It looks like you've forgotten to actually enable the module into your
apache config.

sudo a2enmod apreq

will give you the symlink in mods-enabled.

regards,

Paul

--
Paul Orrock Digital Craftsmen
Lead SysAdmin www.digitalcraftsmen.net
Exmouth House, 3 Pine Street, London, EC1R 0JH
Tel: 020 7183 1410 Fax: 020 7099 5140


lannings at who

Jan 7, 2009, 9:19 AM

Post #6 of 8 (2021 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

On Wed, 7 Jan 2009, Scott Lanning wrote:
> On Wed, 7 Jan 2009, Scott Lanning wrote:
>> On Tue, 6 Jan 2009, Paul Orrock wrote:
>>> /etc/apache2/mods-available/apreq.load
> [....]
>> Reading Apache conf file: /etc/apache2/mods-enabled/alias.load.
>
> I understand now, I apparently have to manually add a symlink
> from mods-available:
> cd /etc/apache2/mods-enabled/
> sudo ln -s ../mods-available/apreq.load
>
> And now it works...
> Thanks
>
> (I'm betting this will explain the make test error, too.....)

No, make test still fails the same way. :/


paulo at digitalcraftsmen

Jan 7, 2009, 9:21 AM

Post #7 of 8 (2039 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

Hi,

using a2enmod and a2dismod is much easier :-)

It's actually quite neat once you get used to it, it's the same with
sites-available and site-enabled. It's much easier to disable sites by
removing the symlink to the config rather than moving or renaming the
config file.

> (I'm betting this will explain the make test error, too.....)

I think the make test error will be down to module load order or some other
weirdness (probably caused by Ubuntu :-( )

regards,

Paul


david at kineticode

Jan 7, 2009, 7:29 PM

Post #8 of 8 (2016 views)
Permalink
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary) [In reply to]

On Jan 7, 2009, at 9:21 AM, Paul Orrock wrote:

> I think the make test error will be down to module load order or
> some other weirdness (probably caused by Ubuntu :-( )

We could drop support for Debian and its derivatives, when they use
package installs of stuff… ;-P

David

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


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