D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Apache



On Friday 22 Aug 2003 4:50 pm, Littlebigfoot wrote:
> Hi All
>
> Typed the command httpd and get this error message.
>
> Syntax error on line 21 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/mod_env.so into server:
> /etc/httpd/modules/mod_en   v.so: cannot open shared object file: No such
> file or directory

You've missed out an RPM or deleted the file somehow. mod_env.so is part of 
apache2-modules (in Mdk9.1 it's apache2-modules-2.0.44-11mdk.rpm) so it's a 
pretty basic part of any apache install.

Also, perhaps you've deleted the symlink 
[neil@xxxxx 2.0]$ ll /etc/httpd/2.0/
total 0
lrwxrwxrwx    1 root     root            7 Jun 17 13:36 conf -> ../conf/
lrwxrwxrwx    1 root     root           44 Jun 17 13:36 extramodules -> 
../../../usr/lib/apache2-extramodules-2.0.44/
lrwxrwxrwx    1 root     root           16 Jun 17 13:36 lib -> 
../../../usr/lib/
lrwxrwxrwx    1 root     root           22 Jun 17 13:36 logs -> 
../../../var/log/httpd/
lrwxrwxrwx    1 root     root           31 Jun 17 13:36 modules -> 
../../../usr/lib/apache2-2.0.44/

Try re-installing the RPM

Or, as root, use:
# cd /etc/httpd/2.0/
# ln -s ../../../usr/lib/apache2-2.0.44/ modules


-- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00043.pgp
Description: signature


Lynx friendly