Fatal! Write Failure: /etc/valiases/domain.com

August 16th, 2010 No Comments   Posted in Centos, Qmail, cpanel

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

August 15th, 2010 No Comments   Posted in Centos, Dabian, Directadmin, Qmail, cpanel

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

June 26th, 2010 No Comments   Posted in cpanel

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

More »

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

February 2nd, 2010 No Comments   Posted in Centos, cpanel

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

More »

Enableing passive mode in FTP server with CSF firewall

January 11th, 2010 No Comments   Posted in Centos, Firewalls, cpanel

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

More »

Domain has exceeded the max emails per hour (200) allowed. Message discarded.

December 20th, 2009 No Comments   Posted in System Administration, Web hosting, cpanel

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

More »

The requested URL /cpanel was not found on this server

December 18th, 2009 No Comments   Posted in cpanel

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 »


Tags: , , , ,