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

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

cPanel domain Bandwidth Limit Exceeded

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

queueprocd failed @ xxx. A restart was attempted

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

phpMyAdmin: Cannot start session without errors

January 8, 2010    |   Posted by admin   |    Category: cPanel Management

Error:

Cannot start session without errors, please check for errors in your PHP and/or webserver log file, and configure your PHP installation correct.

You receive the error message “Cannot start session without errors” while accessing phpMyAdmin in cPanel. phpMyAdmin will not work if any of the following settings are incorrect on a cPanel server.

1. The owner and group of /var/cpanel/userhomes/cpanelphpmyadmin directory should be cpanelphpmyadmin recursively as by default phpMyAdmin sessions are written under /var/cpanel/userhomes/cpanelphpmyadmin/sessions/ directory.

chown cpanelphpmyadmin /var/cpanel/userhomes/cpanelphpmyadmin -R
chgrp cpanelphpmyadmin /var/cpanel/userhomes/cpanelphpmyadmin -R

The 1st step should fix the issue but if it doesn’t follow the next 2 steps:

2. Change the session.save_path parameter to /tmp in the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini i.e. edit the file

pico /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

change session.save_path as below

session.save_path = /tmp

3. The /tmp directory permissions should be 1777, not 755.

chmod 1777 /tmp

Comments Off on phpMyAdmin: Cannot start session without errors

Unable to delete an email account from cPanel

December 27, 2009    |   Posted by admin   |    Category: cPanel Management

The e-mail address postmaster@mydomain.com deleted successfully.
Sorry, you do not have access to the domain mydomain.com

The error message is displayed when you delete an email account of a domain from cPanel >> ‘Email Accounts’ that is either shifted under another users account OR usually happens when a domain is swapped from add-on domain to main domain OR vice-versa. You cannot delete an email account from cPanel, and in this case, you have to manually remove the email account entries for domain from the existing account.

The files you need to remove the entries from are

/home/user/etc/domainname.tld/passwd
/home/user/etc/domainname.tld/shadow
/home/user/.cpanel/email_accounts.yaml

The directory that need to be removed is

/home/user/mail/mydomain.com

where, ‘user’ is the one under who’s account the email address of ‘mydomain.com’ exist.

Comments Off on Unable to delete an email account from cPanel