This happens with the configure script for apache cannot find the “openssl” (or “ssleay”) binaries in any of /usr/bin/openssl /usr/sbin/openssl /usr/apps/openssl The usual location for “openssl” is /usr/bin/openssl On a debian system, run apt-get install openssl
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… Continue reading DirectAdmin : Apache stops responding but is running
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… Continue reading DirectAdmin : Updating Apache to the latest version
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.… Continue reading Crontab basics
Click on the “Show/Edit Reserved IPs” link under “IP Functions”. Check the box of the ip you want to reserve and add a short comment to the Reason section. This ip will no longer be used to setup accounts via WHM/Cpanel.
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… Continue reading DirectAdmin : Downgrade from apache 2 back to apache 1.3
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… Continue reading How do I upgrade Apache on my Cpanel box?
I have an ip address attacking my server or taking up all my httpd connections so none of my sites work. In order to correct this you will want to use the netstat -n command to see the ip addresses connected to your server. Once you have the ip address you want to block you… Continue reading How to block ip addresses with iptables
Log into WHM and click on “Service Manager” under the Service Configuration grouping. Put a checkmark next to “exim on another port” (the default is port 26) then click “Save”.
This means that the cgi script did not execute properly. There are several causes that can generate this error so a few things would need to be checked. 1) check the /var/log/httpd/suexec_log. It contains any errors that would be as a result of not having correct permissions on the file. The file needs to be… Continue reading cgi files generate Internal Server Error