These are some services I would normally turn off on web servers.
NOTE: usage may vary.

  1. gpm — mouse
  2. mdmonitor — monitor raid devices
  3. netfs — nfs, samba etc…
  4. autofs — automount, nfs, cd etc…
  5. kudzu — detect new hardware
  6. restorecond — monitor selinux file context
  7. mcstrans — mandatory access control selinux translation

There may be more, but if you’ve cleaned up your rpm packages, it would probably not exist.

How to compile unix odbc on a cPanel server? On a cPanel server, the /scripts/easyapache script almost provides all the modules that are required to host the websites but the modules such as odbc has to be installed manually. You first have to install the devel packages for unixodbc, then add a line in rawopts file and rebuild Apache+PHP. That is it.
Read the rest of this entry

You may reach the maximum number of clients that are allowed to connect to your Apache web server and Apache stops responding. In this case, you have to increase the MaxClients and ServerLimit variable to a higher value.

The changes has to be placed in the Apache configuration file located at /usr/local/apache/conf/httpd.conf but in case of Apache 2.x version or higher, you may not be able to save the changes directly and a restart of Apache service will reset the values of the two directives.
Read the rest of this entry

You may come across the following error while restarting Apache:

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Read the rest of this entry

EasyApache Custom Modules

Custom Apache and PHP modules add features to the EasyApache system, and are accessible from both the command line and graphical WHM interfaces. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache.

Read the rest of this entry