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

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Fix - tailwatchd service is down in WHM

One of our customers received an email from WHM that service tailwatchd is down. We have taken...

How to install memcache on WHM/cPanel server (CentOS)?

Following article will assist you to install Memcache in cPanel/WHM server. Login into your WHM....

How to Allow Remote Connection to MySQL Server in cPanel/WHM Server?

To prevent potential security risks to MySQL server, by default remote MySQL connections are...

How to Create Reseller Account in WHM?

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

How to install ConfigServer Explorer to cPanel/WHM?

Undoubtedly, WHM has been the most comprehensive control panel of all time for Linux based...