When setting up an email account in the cPanel email accounts, you may encounter the following error.
Error
File open for /home/username/etc/domain.com/passwrd failed with error No such file or directory
This error occurs when the etc folder was deleted or renamed inside your home directory of your files.
- Login into your cPanel.
- Go to the File Manager. Select the Home directory and click Go.
- Check for the following Necessary files for your server to function. The following are the files you need for your server.
- public_html
- public_ftp
- mail
- etcIf any of these are missing, you can just recreate them in the file manager. Once you have the etc and/or the mail folder created, your will be able to create email addresses again.