Announcement Announcement Module
Collapse
No announcement yet.
Create email account error: No such file or directory Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create email account error: No such file or directory

    I have faced an issue When I was setting up an email account in the cPanel email accounts.

    ==========
    File open for /home/username/etc/domain.com/passwd failed with error No such file or directory
    ==========

    Solution:

    Login via SSH
    Create etc and mail directory in your home directory ‘/home/username/“

    Code:
    cd /home/username/
    
    mkdir etc mail
    Change the ownership of etc to username.mail

    Code:
    chown username.mail etc
    Change ownership of mail to username.username

    Code:
    chown username.username mail
    Try now. e-mail account will be created successfully.

  • #2
    As you know the email accounts exists in the path ' /home/username/mail/your-domain-name/' as far as the above concerned the existing email accounts must be gone from the server as you says to recreate the mail and etc folders. What might be reason of vanishing etc and mail folders from /home/user/ ? any idea on it?

    Comment

    Working...
    X