Disabling Apache in direct admin

majglow

Verified User
Joined
Feb 2, 2005
Messages
8
Location
Oregon
Is there anyway to disable apache in direct admin such that the process will never start?

I've been having a very strange problem with apache. I'm at apache 2.2.3 (I tried 2.2.4 but the same happens) and every few hours the process hangs at 100% CPU.

I can also make this happen by simply trying to stop the process (/usr/local/etc/rc.d/httpd stop).

I'm running FreeBSD 6.2. I was running 5.4 on the box but I updated everything (OS, ports, DA, recompiled everything, etc...).

I really doubt I'll be able to find out what's wrong. So, I decided to just ditch apache for nginx (I'm only running it as a front end to a ruby on rails application. I don't want to ditch Direct Admin completely because I hate managing email.

I've already ditched mysql for postgres. Is there any way to make sure that apache won't start and DA stops monitoring it?
 
Yes, you can disable it.

Code:
# chkconfig httpd off
# perl -pi -e 's/httpd=ON/httpd=OFF/' /usr/local/directadmin/data/admin/services.status
# /usr/local/etc/rc.d/httpd stop
 
Back
Top