PDA

View Full Version : Apache Down - HTTPD file problem



VitalMetrix
02-06-2004, 02:00 PM
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

MagnuM
02-06-2004, 03:00 PM
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.

ProWebUK
02-06-2004, 03:02 PM
Does the file actually exist:

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

?

Chris

VitalMetrix
02-06-2004, 03:25 PM
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!