cPanel – Can’t create mail accounts – No such file or directory: /home/user/etc/domain.com/passwd

Posted: March 21, 2014 in cPanel

Error:

When creating a mail account using cpanel, it is showing an error as showing below.

Error

File open for /home/user/etc/domain.com/passwd failed with error No such file or directory

Solution:

The error is because of the the wrong permssions or missing of the ‘etc’ directory in user’s document root.
You can create a new direcory in that name and given permissions as like follows to solve the issue.
Let ‘jijo’ be the cpanel user having the issue.

root@server [~]# cd /home/jijo
root@server [/home/jijo]# mkdir etc
root@server [/home/jijo]# chmod 750 etc
root@server [/home/jijo]# chown jijo.mail etc

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s