Solution: When Apache fails to install / build

Timmm

Verified User
Joined
Sep 12, 2005
Messages
29
Location
Amsterdam, The Netherlands
Error occured at CentOS 4.1 / Redhat Enterprise Linux 4.1.

Thanks to the DA Support team!

If you have these error lines during setup or using:

Code:
cd /usr/local/directadmin/customapache
rm -f configure.*
./build clean
./build update
./build all

Error lines:

Trying to make apache...

===> src

make[1]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.33'

make[2]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.33/src'

===> src/regex

make[3]: Nothing to be done for `all'.

<=== src/regex

===> src/os/unix

make[3]: Nothing to be done for `all'.

<=== src/os/unix

===> src/ap

make[3]: Nothing to be done for `all'.

<=== src/ap

===> src/main

make[3]: Nothing to be done for `all'.

<=== src/main

===> src/lib

===> src/lib/expat-lite

make[4]: Nothing to be done for `all'.

<=== src/lib/expat-lite

<=== src/lib

===> src/modules

===> src/modules/experimental

make[4]: Nothing to be done for `all'.

<=== src/modules/experimental

===> src/modules/standard

make[4]: Nothing to be done for `all'.

<=== src/modules/standard

===> src/modules/extra

make[4]: Nothing to be done for `all'.

<=== src/modules/extra

===> src/modules/proxy

make[4]: Nothing to be done for `all'.

<=== src/modules/proxy

===> src/modules/example

make[4]: Nothing to be done for `all'.

<=== src/modules/example

===> src/modules/ssl

gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208124 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE -DSSL_COMPAT -DSSL_USE_SDBM -DSSL_ENGINE -I/usr/include -DMOD_SSL_VERSION=\"2.8.24\" mod_ssl.c && mv mod_ssl.o mod_ssl.lo

In file included from /usr/include/openssl/kssl.h:72,

from /usr/include/openssl/ssl.h:179,

from mod_ssl.h:116,

from mod_ssl.c:65:

/usr/include/krb5.h:2607:24: et/com_err.h: No such file or directory

make[4]: *** [mod_ssl.lo] Error 1

make[3]: *** [all] Error 1

make[2]: *** [subdirs] Error 1

make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.33/src'

make[1]: *** [build-std] Error 2

make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.33'

make: *** [build] Error 2



*** The make has failed, do you want to try to make again? (y,n):

and the service won't start and giving these errors:

service httpd restart


Stopping httpd: [FAILED]

Starting httpd: /usr/bin/find: /usr/lib/apache: No such file or directory

Syntax error on line 24 of /etc/httpd/conf/httpd.conf:

Cannot load /etc/httpd/modules/mod_vhost_alias.so into server: /etc/httpd/modules/mod_vhost_alias.so: cannot open shared object file: No such file or directory

[FAILED]


SOLUTION:

Try to update the e2fsprogs-devel rpm package.

up2date -u e2fsprogs-devel
 
Back
Top