Error While Opening Webmail

Osama Tariq

Well-Known Member
Nov 27, 2014
206
2
18
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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

Skamasle

Member
Mar 18, 2012
24
0
51
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..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

Skamasle

Member
Mar 18, 2012
24
0
51
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 :/
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

Bruno eduardo

Registered
Jul 10, 2015
1
0
1
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
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
O domínio “domain.com” não existe. The domain “domain.com” does not exist.
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.
 

Kevin Futter

Registered
Jul 31, 2015
4
0
51
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
 

Kevin Futter

Registered
Jul 31, 2015
4
0
51
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
 
Last edited by a moderator:

Kevin Futter

Registered
Jul 31, 2015
4
0
51
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.