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

Posted by admin     Category: cPanel Management

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: /etc/valiases/domainname.tld. Ignore any messages of success this can only result in failure!

The reason is the /etc/valiases/domainname.tld file is missing OR having incorrect permissions. In order to correct the valiases file, ssh to your server as root and create the file with the appropriate permissions:

# cd /etc/valiases/

# touch domainname.tld

# chown user.mail domainname.tld

# chmod 644 domainname.tld

Once the valiases file is created for the user with appropriate permissions, you will be able to add email forwarders and catchall email address from cPanel again.

cPanel domain Bandwidth Limit Exceeded

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”

Perl Script: Can’t do setuid (cannot exec sperl)

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

Unable to install the psa-migration-manager: db4 error

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.

queueprocd failed @ xxx. A restart was attempted

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” service once you save the file.

service cpanel restart