DirectAdmin : Apache stops responding but is running

A few things that could cause that are: Possible Causes: 1) MaxClients set to a value too low 2) If you have over about 800 sites, the ErrorLog files open too many file descriptors and apache won’t be able to log the errors and may stop responding. Solutions: 1) edit /etc/httpd/conf/httpd.conf and increase the MaxClients setting to something […]

DirectAdmin : Updating Apache to the latest version

Updating Apache to the latest version You can check the current version of apache by running httpd -v If you wish to update your 1.3 version of apache to the most recent, run the following: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl If you’re using apache 2.x, use “./build apache_2” isntead of apache_mod_ssl. This […]

Crontab basics

cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. […]

DirectAdmin : Downgrade from apache 2 back to apache 1.3

How to downgrade from apache 2 back to apache 1.3 If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file […]

How do I upgrade Apache on my Cpanel box?

There are two ways to update your Apache version on cpanel. The first is from within WHM. Underneath the “Software” section in the menubar is “Apache Update.” Click this link and then follow the on screen directions. The second option is from the command line. Run “/scripts/easyapache”, which will provide an update interface including a few more options than […]