View Full Version : httpd

03-28-2004, 07:11 PM
I am having a problem, and thought maybe someone reading this thread could shed some light on it. When I try and restart apache from within DA, it kills the process and I am unable to restart it again. Even if I use a shell to go in to the machine, I am unable to start teh httpd service, and an error is brought telling me that there is a problem in the ip.conf.

Does anyone know a way to force apache to load the httpd service even if there are errors in some of the configuration files?

Is there a known cause within DA that is triggering the problem?

I tried to reboot the machine to get httpd started again, and have now been down for an hour as I wait for a forced fschk of a 120GB hard drive. It seems that there is probably a better fix for me than what I did.

Thanks for your help.

DirectAdmin Support
03-29-2004, 11:03 AM

Make sure that you are using the boot scripts to start/restart apache (/etc/init.d/httpd or /usr/local/etc/rc.d/httpd) as there are command line options that are not included.

Else, try recompiling apache:

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.* #(unless you've made changes to them)
./build update
./build all

and failing that, just paste the errors that it's generating.


03-29-2004, 11:12 AM
What is the problem with your ip.conf file, perhaps you should fix that first. Apache and any program should fail if there is an error with the configuration file. If it does not fail when there is an error, there is the possiblilty that something is not running properly or even securely.

DirectAdmin Support
03-29-2004, 11:34 AM
What's the error?