You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vicki Brown <vl...@cfcl.com> on 2002/05/20 08:35:20 UTC

mod_perl install (was: new install looking for conf file in wrong place)

At 21:46 -0700 5/19/02, S. Wong wrote:
>Check what your ServerRoot is set to.  I can't remember which overrides
>which but
>I'm guessing the ServerRoot set in httpd.conf overrides the one set in
>apachectl.

That was it. It was set to /usr/local.  Oddly, I copied the setting from the
previous httpd.conf for the older Apache.. which uses /usr/local/etc/apache/
- I don't see how it's been working at all ... I looked for any references to
/usr/local/etc to avoid problems but didn't see this.

Now I have a new wrinkle. Now get errors finding the mod_perl modules

 Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server:
 Cannot open "/usr/local/apache/libexec/apache/mod_mmap_static.so"

It's true; they aren't in /usr/local/apache/libexec/ - nothing much is in
that directory. I've rebuild mod_perl and re-installed.

At 21:46 -0700 5/19/02, S. Wong wrote:
>Send a sample line of
>your LoadModule lines.  I think by default it is libexec/mod<whatever
> and that is relative to ServerRoot.

      LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
      ...

      ClearModuleList
      AddModule mod_mmap_static.c
      ...


The entries look good, but the files aren't in libexec/

Can anyone help?
Where are the modules going?
And _why_ are they not going where they are expected?
-- 
- Vicki

Vicki Brown     ZZZ                  Journeyman Sourceror:
P.O. Box 1269      zz  |\     _,,,---,,_        Scripts & Philtres
San Bruno, CA       zz /,`.-'`'    -.  ;-;;,_     Perl, Unix, MacOS
94066     USA         |,4-  ) )-,_. ,\ ( `'-'
mailto:vlb@cfcl.com  '---''(_/--'  `-'\_)  http://www.cfcl.com/~vlb

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: mod_perl install (was: new install looking for conf file in wrongplace)

Posted by "S. Wong" <sw...@webprincess-designs.com>.
Just do a find of where your libexec is and you can either (a) move that into
/usr/local/apache or (b) use absolute path in your LoadModule section.  Best way
is to find where e.g. mod_mmap_static.so.

--
Ciao ?:-)
Shirlyn, the WebPrincess

Vicki Brown wrote:

> At 21:46 -0700 5/19/02, S. Wong wrote:
> >Check what your ServerRoot is set to.  I can't remember which overrides
> >which but
> >I'm guessing the ServerRoot set in httpd.conf overrides the one set in
> >apachectl.
>
> That was it. It was set to /usr/local.  Oddly, I copied the setting from the
> previous httpd.conf for the older Apache.. which uses /usr/local/etc/apache/
> - I don't see how it's been working at all ... I looked for any references to
> /usr/local/etc to avoid problems but didn't see this.
>
> Now I have a new wrinkle. Now get errors finding the mod_perl modules
>
>  Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
>  Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server:
>  Cannot open "/usr/local/apache/libexec/apache/mod_mmap_static.so"
>
> It's true; they aren't in /usr/local/apache/libexec/ - nothing much is in
> that directory. I've rebuild mod_perl and re-installed.
>
> At 21:46 -0700 5/19/02, S. Wong wrote:
> >Send a sample line of
> >your LoadModule lines.  I think by default it is libexec/mod<whatever
> > and that is relative to ServerRoot.
>
>       LoadModule mmap_static_module libexec/apache/mod_mmap_static.so
>       ...
>
>       ClearModuleList
>       AddModule mod_mmap_static.c
>       ...
>
> The entries look good, but the files aren't in libexec/
>
> Can anyone help?
> Where are the modules going?
> And _why_ are they not going where they are expected?
> --
> - Vicki
>
> Vicki Brown     ZZZ                  Journeyman Sourceror:
> P.O. Box 1269      zz  |\     _,,,---,,_        Scripts & Philtres
> San Bruno, CA       zz /,`.-'`'    -.  ;-;;,_     Perl, Unix, MacOS
> 94066     USA         |,4-  ) )-,_. ,\ ( `'-'
> mailto:vlb@cfcl.com  '---''(_/--'  `-'\_)  http://www.cfcl.com/~vlb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org