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.

cannot write to etc/valiases and cannot login to webmail

Discussion in 'E-mail Discussions' started by clrockwell, Aug 14, 2008.

  1. clrockwell

    clrockwell Member

    Joined:
    Jul 20, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Somehow my license got deactivated during unscheduled maintenance by my host.

    I know get the Fatal error failure message because cpanel cannot write to /etc/valiases (error appears when attempting to create a new email account). I ran /scripts/fixvaliases/ and then the error is gone, but I am unable to login to webmail.

    What happens is: 1. visit domain.com/webmail, enter in email address and password. 2. Taken to cpanel webmail page where I am given options to select Horde or Squirrelmail (above the options, it says - logged in as me@domain.com) 3. select s - mail or horde and get a username password incorrect.

    The logs show for imap, pop3 and spamd that prior to the outage they were all setting the uid to clrock (the owner), but after cpanel was reactivated, the uid is being set to root, and then it falls back to nobody. I think that if I know how to change the default uid this could all go away.

    Also, this happens for all users, my host suggested I contact cPanel because they could not figure it out.

    Thanks for any guidance
     
  2. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    18
    are you able to login to port 110 or your host with the same username and password ?

    ## telnet domain.com 110
    Trying xx.xx.xx.xx...
    Connected to domain.com (xx.xx.xx.xx).
    Escape character is '^]'.
    +OK Hello there.
    user user@domain.com
    +OK Password required.
    pass password
    +OK logged in.


    check as above and see whether you can login.
     
  3. clrockwell

    clrockwell Member

    Joined:
    Jul 20, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    MaestriaNick,

    Thanks for the reply. I got it worked out though. After the licensing issue my hostname defaulted to the domain name rather than what it was previously set at.

    Turns out the system was looking for 'user' rather than 'user@domain.com'.

    Thanks again.
     
Loading...

Share This Page