Dorian Mali

Registered
Mar 20, 2016
2
0
1
World Wide
cPanel Access Level
Root Administrator
Hello there !
Before, please excuse my english, and sorry if i've posted on the bad category.
I'll try to be as comprehensible as possible.

I've an issue when i try to login on my cpanel account.

I work on centos, i've installed Cpanel with the installation guide method : Installation Guide - Documentation - cPanel Documentation

I've tried to login on my cpanel account with my root account (http://my_server_ip:2082) and i obtain this error message :
"A network error occurred during your login request. Please try again. If this condition persists, contact your network service provider."

I've tried a different browsers, IP's, machines.
I've withelisted my IP's.
Same issue when i try to login with https://my_server_ip:2083

When i try to login with a bad user:password, i obtain an error login message.

But i can login to my WHM panel with my root account.
So, i've tried to create a new account in Home -> Account Functions -> Create a New Account, but i obtain this error message :

"Account Creation Status: failed
The domain “mydomain.com” already exists in the Apache configuration. "

Anybody can help me?
Again, please excuse my language.
And thank you for your great services.

Best Regards.
 
Last edited by a moderator:

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
806
156
168
New Jersey
cPanel Access Level
DataCenter Provider
Run the following command and then try to login to see if there is any helpful errors being logged.

Code:
# tail -f /usr/local/cpanel/logs/error_log
 

SysSachin

Well-Known Member
Aug 23, 2015
604
48
28
India
cPanel Access Level
Root Administrator
Twitter
"Account Creation Status: failed
The domain “mydomain.com” already exists in the Apache configuration. "

Regarding the account creation, might be the domain added as a parked/addon domain name. First search the domain name in the cPanel userdata files
Code:
grep $domain /var/cpanel/userdata/*/*
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
"Account Creation Status: failed
The domain “mydomain.com” already exists in the Apache configuration. "
Hello :)

Keep in mind that you can not access cPanel with the "root" username. The "root" username only works for Web Host Manager. As far as the error message quoted above, it's likely you have configured your hostname with your domain name. Please update your hostname to something such as "server.mydomain.com" if that's the case:

Change Hostname - Documentation - cPanel Documentation

Thank you.
 
  • Like
Reactions: Dorian Mali

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.