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.

Suddenly I get this error Fatal! Write Failure: /etc/valiases/sub.mydomain.com

Discussion in 'General Discussion' started by Morley, Dec 23, 2008.

  1. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    I'm using WHM 11.23.2 cPanel 11.23.6-S27698
    CENTOS Enterprise 4.7 i686 on standard - WHM X v3.1.0 - STABLE

    When looking at the Cpanel interface email functions for one particular domain, mydomain.com only, I get this error message:
    Fatal! Write Failure: /etc/valiases/main.hostname.com. Ignore any messages of success this can only result in failure!

    This message doesn't appear under any of the other domain's Cpanel email functions.

    I had changed the hostname months ago from main.mydomain.com to the above main.hostname.com and the recent UPCP update made dns changes so I'm wondering if that had anything to do with it.

    I searched though the forums but couldn't find anything that fit.

    Any ideas?

    Thanks
     
  2. txspaderz

    txspaderz Active Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Run this:

    root@server [~]# /scripts/fixvaliases
     
  3. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    I forgot to mention that I tried that. The file for the host main.hostname.com does not exist.

    Thanks
     
  4. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Let me ask this question another way.

    Is your hostname suppose to be in in /etc/valiases ?

    If so, then I have no idea why mine disappeared from there and should I recreate i.e. touch my.hostname.com? Of what should this consist? A fail statement?

    If not, what is this error?

    Thanks
     
    #4 Morley, Dec 26, 2008
    Last edited: Dec 26, 2008
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    I'd just recreate it and see if that fixes the problem you're having (and post here and let us all know for future reference!).

    It should consist of a single line, check other domains on your server for the correct entry, something like:

    Code:
    *: :fail: No Such User Here
     
  6. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    I did this, but then root stopped getting my logging emails so I added root as an email to it. This seemed to solve the problem but then (I don't know when), the alias /etc/valiases/my.hostname.com disappeared and the error is back. Some update removed it.

    Frustrating. No one has ever seen this before?
     
  7. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Bump. Still no solution. :-\
     
Loading...

Share This Page