Page 1 of 1

The system encountered an error while modifying the email accounts password file

Posted: Mon Nov 14, 2016 2:19 pm
by jeniffer
I am getting the below error while trying to create a new email account in my cPanel. I tried cPanel update but issue is still there :(

The system encountered an error while modifying the email accounts password file: (XID 2vvq8y) The system failed to lock the file “/home/martin/etc/domain.com/passwd” because of an error: No such file or directory at /usr/local/cpanel/Cpanel/API/Email.pm line 1006.

Re: The system encountered an error while modifying the email accounts password file

Posted: Mon Nov 14, 2016 2:24 pm
by Martin
Hello,

The permission of etc directory under your cPanel account might be wrong. Please do the below steps if etc directory is missing in your cPanel account.

First go to the home directory of the user /home/martin and run the below commands.

cd /home/martin
mkdir etc
chmod 750 etc
chown martin.mail etc

Try creating the email account after doing the above steps.

=============================
Martin
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree