Sometimes the crond service fails quite often without any clue and it becomes necessary to monitor the cron service and auto-restart it. cPanel offers ‘chkservd’, a monitoring daemon that monitors the services on the server and restart...
You receive the error message “Cannot start session without errors” while accessing phpMyAdmin in cPanel. phpMyAdmin will not work if any of the following settings are incorrect on a cPanel server. 1. The owner and group of...
An email from a cPanel server with the “tailwatchd failed” warning message indicates that either the cpanel service is offline/down OR the cpanel service was restarted. The complete message looks like the following: tailwatchd failed @...
Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in...
In order to increase the memory limit for Java, perform the following steps, create a new file: nano /var/cpanel/tomcat.options Insert the following 2 lines: Xmx200M Xms100M Where Xmx is the upper limit and Xms is the lower limit. You have to...
You first have to install the devel packages for unixodbc, then add a line in rawopts file and rebuild Apache+PHP. 1. Install the UnixODBC devel packages: yum install unixODBC unixODBC-devel 2. You now need to create a file...
You may see error “Fatal! Write failure” error message while adding email forwarders OR setting a catchall email address from cPanel >> “Email Accounts” section. The error is: Fatal! Write Failure:...
When using Cloudflare, all the hits to your web server will come from a Cloudflare IP address. So in order to retrieve the actual IP address from the visitor you must install mod_cloudflare. 1. Connect to your server through SSH and log in...
In order to change the SSH port and protocol, you will have to edit sshd_config nano /etc/ssh/sshd_config Change Protocol 2,1 -> to Protocol 2Change #Port 22 -> to some other port and uncomment it Example: Protocol 2 Port 2255 Then restart ssh...
This directory contains some sample scripts that can be dropped into /etc/postwwwacct.dir. Note that you need to be root to set up this stuff, which means usually that you’ll need a dedicated server or VPS to run these scripts (a very...