Apache Down - HTTPD file problem

VitalMetrix

Verified User
Joined
Feb 5, 2004
Messages
9
I am getting the following error message:

Executing /etc/rc.d/init.d/httpd start ..

Starting httpd: fopen: No such file or directory
httpd: could not open document config file /usr/local/directadmin/data/users/vitalmet/httpd.conf

All my domains are down at this point, please Help!!

Regards,
J
 
Well, you probably have an invalid username (vitalmet in you case). For the moment you can edit the /etc/httpd/conf/httpd.conf file and remove the Include line at the end of the file:
Include /usr/local/directadmin/data/users/vitalmet/httpd.conf

Use the command service httpd start to start the Apache.

After that the Apache should start normaly, but you might have to remove the user manualy. To do that follow the instructions from here: http://www.directadmin.com/forum/showthread.php?s=&postid=11548

Good luck.
 
Last edited:
Does the file actually exist:

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

?

Chris
 
Awesome, that did the trick. After removing the reference to the invalid user in the httpd.conf file, Apache started normally and everything seems to be working great.

Thanks a ton!
 
Back
Top