February 28, 2010 | Posted by
admin | Category: cPanel Management
You may receive the “Fatal! Write failure /etc/valiases/domain.tld” error message while adding a email forwarder OR a catchall email address from Email Accounts section of cPanel. The error looks like follows:
Fatal! Write Failure: /etc/valiases/domainname.tld. Ignore any
messages of success this can only result in failure!
The ‘Fatal! Write Failure’ issue occurs when the /etc/valiases/domainname.tld file is missing OR the file is having incorrect permissions. SSH to the server and create/correct the file permissions:
# cd /etc/valiases/
# touch domainname.tld
# chown username.mail domainname.tld
# chmod 644 domainname.tld
Once the valiases file is created for the domain with proper permissions, you will be able to add the email forwarder and catchall for the domain successfully.
Comments Off on Fatal! Write Failure: /etc/valiases/domain.tld
February 26, 2010 | Posted by
admin | Category: cPanel Management
The message “Bandwidth Limit Exceeded” is received on accessing a website when it exceeds the allotted bandwidth for the domain.
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the
site owner reaching his/her bandwidth limit. Please try again later.
Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7a PHP/5.2.9
Server at www.domainame.tld Port 80
To bring the website back online or un-suspend the bandwidth exceed-er, use the option
WHM >> Account Functions >> Unsuspend Bandwidth Exceeders
>> click "Proceed".
This will reset the bandwidth usage to zero for the account. To increase the bandwidth limit for the account, use the option
WHM >> Account Information >> "View Bandwidth Usage"
Comments Off on cPanel domain Bandwidth Limit Exceeded
February 23, 2010 | Posted by
admin | Category: Linux Administration
Your perl script sometimes work from the command line but shows “Internal Server Error” on accessing the script via the browser. The Apache error logs shows the error message as
"Can't do setuid (cannot exec sperl)".
The the reason for the setuid error on the perl script is the script have the setuid bit set and won’t work from the browser since they are running under the user apache. To make such perl scripts work, you need to install the perl-suidperl package.
To install the package, just execute the command
# yum install perl-suidperl
Comments Off on Perl Script: Can’t do setuid (cannot exec sperl)
February 19, 2010 | Posted by
admin | Category: Plesk Management
You may receive the “Unable to install the psa-migration-manager” error message while installing Plesk. It is down to the incomplete db4 packages which provides embedded database support for various applications.
ERROR: Unable to install the “psa-migration-manager-x.x.x-cos5.build86080930.03.x86_64 package. Packages “db4-4.3.29-9.fc6.x86_64” and “db4-4.3.29-10.el5.x86_64” cannot be installed at the same time.
Solution:
Check if db4 packages are installed. You can list the db4 packages by:
# rpm -qa | grep db4
If the db4-devel and db4-utils are not listed above, install the packages using yum
# yum install db4-utils
# yum install db4-devel
Once done, start the Plesk installation again and psa-migration-manager will be installed successfully.
Comments Off on Unable to install the psa-migration-manager: db4 error
February 14, 2010 | Posted by
admin | Category: cPanel Management
After the recent cPanel update your mailbox may be filling up with the “queueprocd service failed” emails. For example:
( queueprocd failed @ Fri Jan 1 00:00:00 2010. A restart was attempted automagically. Service Check Method: [check command] ) .
This look like a small bug with the latest cPanel version where it adds the “queueprocd” service to the cPanel monitoring service “chkservd” but does not install the service. If you try to restart the “queueprocd” service, you will realize that the service is not installed.
root@server [~]# /scripts/restartsrv queueprocd
Sorry I don't know about queueprocd
root@server [~]#
To remove or disable the service from the chkservd monitoring, either uncheck queueprocd from
WHM >> Service Manager
Or edit the file chkservd.conf
# pico /etc/chkserv.d/chkservd.conf
and remove the “queueprocd” entry. Restart the “cpanel” and the ‘chkservd’ service once you save the file.
# service cpanel restart
# /scripts/restartsrv chkservd