If you solve this, your are the King of Unix

Hello

I am facing a strange problem with Apache. My associates and I worked on it for days without any success. More than this, we hired tech. for very reputable companies and no one was able to realy solve the problem.

If you can find this, you are a King. You could beat more than 40 years total unix experience.

The problem:
-----------------


Sometimes, when a reseller deletes an account, the httpd.conf is not updated but apache is restarted and it fails.

Actual example:

the user tchad was deleted by some reseller (I don't know which reseller) but the line:

/usr/local/directadmin/data/users/tchad/httpd.conf

Was not deleted from /etc/httpd/conf/httpd.conf so apache crashes. And if we try to restart it, it displays this error:


httpd: could not open document config file /usr/local/directadmin/data/users/tchad/httpd.conf
[FAILED]




So, I need to go to httpd.conf, manually comment out the line:

/usr/local/directadmin/data/users/tchad/httpd.conf

Then restart apache.

I even chmoded 777 httpd.conf but the problem is still the same. From time to time, apache crashes and as fast as someone notice it, the line is commented out and apache restarted...

[root@server conf]# ls -l httpd.conf
-rwxrwxrwx 1 root root 56112 Sep 18 19:40 httpd.conf

Thank you for your helpIf you solve this, your are the King of Unix

 

 

 

 

Top