Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

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

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution