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.

Error While Opening Webmail

Discussion in 'E-mail Discussions' started by Osama Tariq, Feb 15, 2015.

  1. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    187
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am getting below error while accessing webmail.

    Code:
    Internal Server Error
    500
    
    The domain “[Removed]” does not exist.
    at /usr/local/cpanel/Cpanel/Exception.pm line 127.
        Cpanel::Exception::new("Cpanel::Exception::DomainDoesNotExist", "The domain \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} does not exist.", ARRAY(0x44c6b80)) called at /usr/local/cpanel/Cpanel/Exception.pm line 57
        Cpanel::Exception::create("DomainDoesNotExist", "The domain \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} does not exist.", ARRAY(0x44c6b80)) called at /usr/local/cpanel/Cpanel/AcctUtils/Lookup.pm line 26
        Cpanel::AcctUtils::Lookup::get_system_user("info\@[Removed]") called at cpsrvd.pl line 4387
        cpanel::cpsrvd::handle_auth_transfer() called at cpsrvd.pl line 1405
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 1074
        cpanel::cpsrvd::script() called at cpsrvd.pl line 432
    
    
     
    #1 Osama Tariq, Feb 15, 2015
    Last edited by a moderator: Jul 10, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please let us know the output from:

    Code:
    grep $domain /etc/userdomains
    Also, do you receive any error messages when running the "/scripts/updateuserdomains" command?

    Thank you.
     
  3. Skamasle

    Skamasle Member

    Joined:
    Mar 18, 2012
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Same issue here, I see this on 5 server this month,

    Some times /scripts/mailperm fix the problem sometimes not.

    No error when runing: /scripts/updateuserdomains

    If try access from cpanel to webmail get that error, if go directly 2096 port the password dont working, in some cases can access to webmail selector, if clic on horde, roundcube cant access, so, sendme to roundcube, but roundcube ask for password but dont accept it.

    If backup account, terminate account and restore account solve the problem but not is the way to solve this..
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. Skamasle

    Skamasle Member

    Joined:
    Mar 18, 2012
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for reply,

    This time the problem was solved when runing both comands: /scripts/mailperm and /scripts/updateuserdomains

    But in my case is common problem on 11.48 :/
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a support ticket if this continues to happen so we can determine if an internal case is necessary. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. Bruno eduardo

    Bruno eduardo Registered

    Joined:
    Jul 10, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    anapolis
    cPanel Access Level:
    Reseller Owner
    Code:
    [B]Internal Server Error[/B][/SIZE]
    500
    
    O domínio “domain.com” não existe.
    The domain “domain.com” does not exist.
    at /usr/local/cpanel/Cpanel/Exception.pm line 151.
    Cpanel::Exception::new("Cpanel::Exception::DomainDoesNotExist", "The domain \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} does not exist.", ARRAY(0x388e228)) called at /usr/local/cpanel/Cpanel/Exception.pm line 57
    Cpanel::Exception::create("DomainDoesNotExist", "The domain \x{e2}\x{80}\x{9c}[_1]\x{e2}\x{80}\x{9d} does not exist.", ARRAY(0x388e228)) called at /usr/local/cpanel/Cpanel/AcctUtils/Lookup.pm line 26
    Cpanel::AcctUtils::Lookup::get_system_user("suporte\@domain.com") called at cpsrvd.pl line 4329
    cpanel::cpsrvd::handle_auth_transfer("") called at cpsrvd.pl line 1407
    cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 1073
    cpanel::cpsrvd::script() called at cpsrvd.pl line 437
    
    
    cpsrvd/11.50.0.23 Server at domain.com
     
    #7 Bruno eduardo, Jul 10, 2015
    Last edited by a moderator: Jul 10, 2015
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please let us know the output from:

    Code:
    grep $domain /etc/userdomains
    Also, do you receive any error messages when running the "/scripts/updateuserdomains" command?

    Thank you.
     
  9. Kevin Futter

    Kevin Futter Registered

    Joined:
    Jul 31, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I'm having this problem too, which started happening suddenly a few days ago. I'm on a GoDaddy VPS, and they're proving to be all that willing to help. When I try to run updateuserdomains, I get a series of "permission denied" errors:

    Code:
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/nocgiusers: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/userplans: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/userbwlimits: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/dbowners: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/trueuserdomains: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/email_send_limits: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/userdomains: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] Unable to read /etc/demouids: Permission denied
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] 1warn [updateuserdomains] The system failed to open the file “/var/cpanel/users/<removed>” for reading because of an error: Permission denied
    And a bit further on:

    Code:
    [2015-07-29 04:39:44 -0700] warn [updateuserdomains] user <removed>: missing DNS= line in /var/cpanel/users/<removed>
    I'm not a Linux guru, so I don't feel comfortable poking around in these config files via SSH. Does WHM give me any access to them? Any advice about how to fix this?

    Kev
     
  10. Kevin Futter

    Kevin Futter Registered

    Joined:
    Jul 31, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Further to my previous post, it seems our domain had become incorrectly configured in /etc/userdomains, so I've fixed that now, and run both updateuserdomains and mailperm. Both seemed to work as far as I can tell; I've checked /var/cpanel/users, and the username file exists and now seems correct. But I still have the same issue with mail not working, generating a 500 internal server error, which opens with "The domain “example.com” does not exist."

    At this stage I'm just dazed and confused!

    Kev
     
    #10 Kevin Futter, Jul 31, 2015
    Last edited by a moderator: Jul 31, 2015
  11. Kevin Futter

    Kevin Futter Registered

    Joined:
    Jul 31, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
  12. Kevin Futter

    Kevin Futter Registered

    Joined:
    Jul 31, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    In the end I was able to get this sorted, as I discovered that the hostname of our VPS had been altered for some reason. Also, all the email users had been removed from /var/cpanel/users/ - again, no idea why or by whom, but I'm assuming this is fallout from our shared-hosting account being deactivated. Once I reset the hostname, reinstated the mail users, and re-ran all the scripts, things seemed to return to normal.

    Kev
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page