Archive for the ‘cpanel’ Category:
Fatal! Write Failure: /etc/valiases/domain.com
This error is because of a bug in cpanel theme “x”
If you get below error when deleting forwarder in your cpanel
email@domain.com=email@hotmail.com's mail will no longer be redirected to . Fatal! Write Failure: /etc/valiases/hotmail.com. Ignore any messages of success this can only result in failure!
Solution: More »
How to increase Qmail sending limit
First verify that these setting have not already been customized, as running the commands will overwrite any changes they have made. The following command will show you whether those files exist:
ls /var/qmail/control | egrep 'timeoutremote|timeoutsmtpd|concurrencyremote'
Run following command to update limits
More »
Cpanel / WHM /FTP/E-mail are showing incorrect or zero disk usage
1. Execute following scripts on the server.
# /scripts/initquotas; /scripts/resetquotas; /scripts/fixquotas
2. If the issue is still there then check whether “usrquota” option has enabled or not for home directory(/etc/fstab). Please enable it. Also check the rw option of the home directory where user’s home directory is there. I did following things.
# cat /etc/fstab | grep home LABEL=/home /home ext3 defaults 1 2 # mount -o remount,rw, usrquota /home # cat /etc/fstab | grep home LABEL=/home /home ext3 defaults,rw,usrquota 1 2
How to open and close port in iptables ?
Few of very simple steps
1) Login using root
2) Enter following command to open port in iptables
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
3) Enter following command to close port in iptables
More »
why sites suddenly stopped working in dedicated/virtual private servers
VeriSign has made some changes recently which are applied since March 1, 2010. You can read detail by clicking here
How do I fix it?
You need to log in to your control panel and modify the affected domain name’s zone file, using the table below as an example. More »
Easy way to optimize apache,php & MySQL
There are 2 important scripts to optimize apache,php and mysql very easily. They are
MySQLTuner (Perl) and MySQL Performance Tuning Primer (shell)
They can help diagnose MySQL database performance issues, and provide recommendations on how to solve them.
More »
php 5.3 is now available in cpanel’s easyapache
Cpanel has released php 5.3 in easyapache but there are several features which are missing in php 5.3.
Like php 5.3 does not support Zend. However PHP 5.3.1 introduces namespaces, late static binding, decreased memory usage (YMMV), several new extensions, and improved MySQL support. Be sure to check your scripts for compatibility before going live with PHP 5.3.1 on a production server. Some scripts will be affected by some of the changes, so testing is extremely important.
More information can be found at
Enableing passive mode in FTP server with CSF firewall
Passive mode is always very important for ftp servers, if you are running csf firewall and cannot connect to ftp server then it means that range of passive ports is blocked in firewall. Here are simple steps
1) Add Passive Port range 30000-350000 to your Pureftp or Proftp configuration file
i) For Pure FTP
Domain has exceeded the max emails per hour (200) allowed. Message discarded.
Some times you get error from cpanel
Domain example.com has exceeded the max emails per hour (200) allowed. Message discarded.
Simple solution for it is
echo domain.com=10000 >> /var/cpanel/maxemails
The requested URL /cpanel was not found on this server
The problem is when you attempt to visit “http://example.com/cpanel” and you get the following message or similar:
The requested URL /cpanel was not found on this server.
To fix this, you can add following in /usr/local/apache/conf/httpd.conf
More »