PDA

View Full Version : apache wont startup.


johnallen
09-23-2003, 05:26 PM
The Error
----------------------------------------------------------------
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 214 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: undefined symbol: apr_table_overlay
[FAILED]
-----------------------------------------------------------------

How do you recommend I fix this without hurting the control panel?

johnallen
09-23-2003, 05:34 PM
This is on Red Hat 9

DirectAdmin Support
09-24-2003, 01:07 AM
Hello,

Make sure you havn't installed any additional modules by accident (or perhaps were there before da was installed).

The brute force method to fix it:rm -f /usr/lib/apache/*
cd /usr/local/directadmin/customapache
./build update
./build clean
./build all


Give that a try. Failing that, there might be something wrong in your /etc/httpd/conf/httpd.conf file on the line shown.

John

johnallen
09-24-2003, 10:57 AM
I had to run the following commands to get the reinstall to work.

rm -rf /usr/lib/apache/*
rm -rf /etc/httpd/*