Hi,
A user of mine had an issue with somehow deleting a DNS zone rendered his cpanel useless and the domain disapeared from the account list. Today I did the same and it is truely a bug.
WHM 10.8.0 cPanel 10.8.2-R119
CentOS 4.4 i686 - WHM X v3.1.0
Step 1: Create a domain is WHM
Step 2: Delete the DNS zone for that domain in WHM
Step 3: Login to cPanel for that domain and the following errors will be displayed in the x and x2 theme.
[an error occurred while processing this directive]
Sorry, your Cpanel Config file is missing your dns info. / unlimited
Step 4: Re-add the DNS zone (WHM > DNS Functions > Add A DNS Zone)
Type in the IP address and the domain name
Step 5: Refresh cpanel for said user, same error.
Sorry, your Cpanel Config file is missing your dns info. / unlimited
Step 6: Login SSH and modify the following:
vi /var/cpanel/users/someusername
where someusername is the user
Your file will look simular to this:
IP=66.151.72.2
STARTDATE=1158111696
RS=x
OWNER=root
PLAN=undefined
MAXPARK=0
MAXADDON=0
FEATURELIST=default
XDNS1=robertsaylor.com
Now, modify the file so it looks like this:
DSN=robertsaylor.com
IP=66.151.72.2
STARTDATE=1158111696
RS=x
OWNER=root
PLAN=undefined
MAXPARK=0
MAXADDON=0
FEATURELIST=default
XDNS1=robertsaylor.com
Save the file
Now run:
/scripts/updateuserdomains
Refresh cpanel for that user
error has been fixed.
A user of mine had an issue with somehow deleting a DNS zone rendered his cpanel useless and the domain disapeared from the account list. Today I did the same and it is truely a bug.
WHM 10.8.0 cPanel 10.8.2-R119
CentOS 4.4 i686 - WHM X v3.1.0
Step 1: Create a domain is WHM
Step 2: Delete the DNS zone for that domain in WHM
Step 3: Login to cPanel for that domain and the following errors will be displayed in the x and x2 theme.
[an error occurred while processing this directive]
Sorry, your Cpanel Config file is missing your dns info. / unlimited
Step 4: Re-add the DNS zone (WHM > DNS Functions > Add A DNS Zone)
Type in the IP address and the domain name
Step 5: Refresh cpanel for said user, same error.
Sorry, your Cpanel Config file is missing your dns info. / unlimited
Step 6: Login SSH and modify the following:
vi /var/cpanel/users/someusername
where someusername is the user
Your file will look simular to this:
IP=66.151.72.2
STARTDATE=1158111696
RS=x
OWNER=root
PLAN=undefined
MAXPARK=0
MAXADDON=0
FEATURELIST=default
XDNS1=robertsaylor.com
Now, modify the file so it looks like this:
DSN=robertsaylor.com
IP=66.151.72.2
STARTDATE=1158111696
RS=x
OWNER=root
PLAN=undefined
MAXPARK=0
MAXADDON=0
FEATURELIST=default
XDNS1=robertsaylor.com
Save the file
Now run:
/scripts/updateuserdomains
Refresh cpanel for that user
error has been fixed.