Apache not working mod_log_config.c

bizhat

New member
Joined
Nov 30, 2006
Messages
2
Hi,

In DirectAdmin server, Apache is not working. I get following error on apache start

[root@ds1000 customapache]# service httpd start
Starting httpd: [Sun Dec 3 08:33:42 2006] [warn] module perl_module is already loaded, skipping
Syntax error on line 113 of /etc/httpd/conf/httpd.conf:
Cannot add module via name 'mod_log_config.c': not in list of loaded modules
[FAILED]
[root@ds1000 customapache]#

I removed /etc/httpd/conf/httpd.conf and rebuild apache with

./build all

But still i am getting this error.

How do i fix it ?

Regards,

Yujin
 
Did it every work?

What changes did you make?

When you reinstalled apache did you do it using customapache?

I'd suggest a reinstall of everything in customapache.

Jeff
 
In the server apache was not working and i was trying to fix. The httpd.conf look like a binary file for some reason. So i removed it and used a backup copy of httpd.conf

After doing this, i run the

./build all

But it do not solved the problem, give above error message.

Atlast i renamed /etc/httpd folder and deleted all files in /usr/lib/apache/ folder and run

./build all

After install httpd start working. I copied the httpd.conf from template and rebuild httpd.conf with

cd /usr/local/directadmin/data/users
for i in `ls`; do { echo "Include /usr/local/directadmin/data/users/$i/httpd.conf" >> /etc/httpd/conf/httpd.conf; }; done;

Now everything working fine.

Not sure if there any simple way to fix the problem.

Regards,

Yujin
 
Back
Top