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

Fatal error: Call to undefined function mysqli_connect() in /home/user/public_html/includes/connection.php

Error Message Fatal error: Call to undefined function mysqli_connect() in...

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 convert addon domains to a separate cPanel account?

You may have multiple addon Domains hosted in a cPanel account. Following article will help you...

How to set the backup configuration in WHM?

You should consider taking the Backup of your cPanel data at a regular interval. cPanel provides...

How to install CloudFlare cPanel plugin in WHM?

CloudFlare plugin integrates CloudFlare services with cPanel server and allows your customers to...