apache Syntax error

Seth

Verified User
Joined
Oct 26, 2003
Messages
261
Location
USA
customapache]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 31 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]

I have no clue what is going on here. This is a fresh install on VPS. Any ideas?
 
Hmm, try:

cd /usr/lib/apache
ls -la

The date stamp all modules should be almost identical.

To completely start over, try:

rm -f /usr/lib/apache/*
cd /usr/local/directadmin/customapache
./build clean
./build all d

John
 
Type: /sbin/service httpd restart
[root@vps117 customapache]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: 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: undefined symbol: apr_pstrdup
[FAILED]


Same thing. Would totally reinstalling DA resolve this?
 
There may be reminants of an apache 2 install, try:
Code:
cd /etc/httpd
rm -f modules
ln -s /usr/lib/apache ./modules
Apache 2 uses a different path.. so if 1.3 is reading in the apache 2 modules, it wouldn't work.

John
 
Back
Top