Linux: Remove WHM Disk Warning

cpanel_logo

 

There are many times I am seeing the error below when accessing to the WHM.

Sorry for the inconvenience!
The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

And even after I have cleared the disk space from the server, WHM doesn’t allow me to access to WHM interface.

To get this issue fixed, you may remove the following files and retry again,

/root/.cpanel/datastore/_bin_df_-P_-k_-l

cPanel: Accessing cPanel through a firewall with cPanel Proxy

By default, cPanel, WHM and Webmail using custom port instead of port 80. Hence, you might not able to access to the cPanel, WHM and webmail through a firewall enabled network such as company, University or public network.

To get this issue fixed with cPanel 11.x and later, you may enable cPanel Proxy which is designed by cPanel to allow you access through normal web port 80.

To enable cPanel Proxy, make sure that you have the following setting enabled in WHM-> Tweak Settings.

– Proxy subdomains
– Proxy subdomain creation
– Proxy subdomain override

To enable proxy domain on account wide,

/scripts/proxydomains –user=<username> add

where username is the cPanel username.

To enable proxy domain on a single domain,

/scripts/proxydomains –domain=<domain.com> add

where domain.com is your domain name such as mickgenie.com

Lastly, to remove the proxy domain, change the “add” to “remove”.

SSH: jailshell: fork: retry: Resource temporarily unavailable – Part 2

To continue to the article of http://www.mickgenie.com/ssh-jailshell-fork-retry-resource-temporarily-unavailable/, I have found out another way to get this issue fixed.

To fix this issue,

1. Log into the WHM.
2. Suspend the account that having these error.
3. Unsuspend the account.

The issue should fixed automatically.

cPanel exim: The server has reached its limit for processing requests from your host

If you get the error like,

451-The server has reached its limit for processing requests from your host.n451 Please try again later.

You may easily fix it by changing your exim configuration.

First of all, log into the WHM and look for Exim configuration Editor. Then look for Advance Editor.

Then you should find something like,

smtp_accept_max = 100

Change it to higher value like 200 and save it.

In case the setting is hide and not able to change from WHM, you may change it from SSH with path as below,

/etc/exim.conf

cPanel Daily Process Log empty

Some times, you will found out your cPanel Daily Process Log appear empty and you have no idea what is happening as there do not have any error log from the WHM.

For this case, you may easily fix it by restarting the crond services. Log into the SSH, run the following command.
service crond restart

Check again if the Daily Process Log showing there or checking the crond status.
service crond status

If the above suggestion not working, you may run the following command from SSH.
/scripts/checkperlmodules –full –force