Fix :: file open /home/user/etc/domainname/passwd failed with error no such file or directory

Problem Statement


Getting error while creating an email account from cPanel.


Error Message


file open /home/user/etc/domainname/passwd failed with error no such file or directory


Solution


Normally this error occurs when 
/etc directory is removed. This directory contains an email account password and other configuration details for specific user. In order to fix this issue, you just need to create /etc directory.

  1. Navigate to path /home/username/
    cd /home/username/
  2. Create /etc directory
    mkdir etc

Related Articles

How to Migrate/transfer Emails from cPanel to cPanel?

You can migrate the whole cPanel account including emails using cPanel transfer tool. Click on...

How to Create Reseller Account from WHM?

WHM allows you to create reseller accounts under your cPanel Linux VPS. To create reseller...

How to redirect cPanel/Webmail to encrypted connection [SSL]?

When you want to transmit sensitive information over the Internet, you should use HTTPS instead...

How to Install ClamAV plugin from WHM?

ClamAV is a one of the most popular open source antivirus plugin available for cPanel servers....

Fix :: Unable to add domain in cPanel that points to some other server

Problem Statement Unable to add domain (which is not pointing to cPanel server.) in cPanel...

  • 0 Users Found This Useful

Was this answer helpful?