The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help!!

Discussion in 'General Discussion' started by bert, Mar 17, 2002.

  1. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    All Cpanels on all servers are showing this:

    Fatal! Write Failure: /etc/valiases/domain.net. Ignore any messages of success this can only result in failure!

    when going to change anything that has to do with email. This is happening on all the servers. I have run /scripts/mailperm but that didn't do anything. I have also updated Cpanel and nothing.

    Please help!
     
  2. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Nevermind, the directory /etc/valiases did not have the right permissions. I still wonder why permissions get screwed up on their own ???
     
  3. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    Did you get the fatal error message for sub-domains?
     
  4. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Not really, the customer created a few subdomains and when he went to change the default address, he got the error. /scripts/mailperm fixes permissions for the files inside the /etc/valiases directory, but does not fix the permissions for the directory itself. It is weird though that the directory was not readable for the group. I also noticed that mailperm does not fix permissions for subdomain entries in /etc/valiases so I had to fix them manually.
     
  5. alwaysweb

    alwaysweb Well-Known Member

    Joined:
    Mar 8, 2002
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Dallas, TX
    cPanel Access Level:
    Root Administrator
    So...

    [quote:abfd2e6482][i:abfd2e6482]Originally posted by bert[/i:abfd2e6482]

    Nevermind, the directory /etc/valiases did not have the right permissions.[/quote:abfd2e6482]

    So, what's the right permissions?

    I'm troubleshooting this problem and the /etc/valiases/ directory is root.root with chmod 755... ok ?

    Ronnie
     
  6. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Hi Ronnie,

    Yes, correct. The /etc/valiases directory must be root:root and 755:

    drwxr-xr-x 2 root root 4096 Apr 1 10:57 valiases/

    The files inside, should be chowned to the user:mail :

    -rw-r--r-- 1 admin mail 21 Mar 23 14:42 pronicsolutions.net


    You can try running /scripts/fixvaliases

    Hope this helps :)
     
Loading...

Share This Page