Cant access WHM - resolver setup error

beekeeper

Active Member
Apr 28, 2003
44
0
156
Melbourne, Australia
Since a recent automatic update we have been unable to access the WHM interface.

The WHM homepage is redirecting to a page advising that resolver.conf is setup incorrectly. Whether we enter values or not this script just goes around in loops and so we cant access the main WHM area.

We have shell access and restarting httpd has not helped.

A httpd configtest returned the following:

PHP Warning: Unknown(): imap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: Unknown(): ldap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Syntax OK


Any help would be appreciated?

cPanel.net Support Ticket Number:
 

casey

Well-Known Member
Jan 17, 2003
2,291
0
191
Originally posted by beekeeper
Since a recent automatic update we have been unable to access the WHM interface.

The WHM homepage is redirecting to a page advising that resolver.conf is setup incorrectly. Whether we enter values or not this script just goes around in loops and so we cant access the main WHM area.

We have shell access and restarting httpd has not helped.

A httpd configtest returned the following:

PHP Warning: Unknown(): imap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: Unknown(): ldap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Syntax OK


Any help would be appreciated?

cPanel.net Support Ticket Number:
Those errors are php warnings that have nothing to do with WHM. What do you have in /etc/resolv.conf?

cPanel.net Support Ticket Number:
 

beekeeper

Active Member
Apr 28, 2003
44
0
156
Melbourne, Australia
Re: Re: Cant access WHM - resolver setup error

What do you have in /etc/resolv.conf?
domain mydomain.com
search mydomain.com
nameserver 127.0.0.1
nameserver 216.12.200.xxx
nameserver 216.12.200.xxx

cPanel.net Support Ticket Number:
 

casey

Well-Known Member
Jan 17, 2003
2,291
0
191
Re: Re: Re: Cant access WHM - resolver setup error

Originally posted by beekeeper
domain mydomain.com
search mydomain.com
nameserver 127.0.0.1
nameserver 216.12.200.xxx
nameserver 216.12.200.xxx

cPanel.net Support Ticket Number:
Hmm. That's the correct setup. You don't actually need the localhost entry, but it won't hurt anything.

Try
/scripts/updatenow
/scripts/reswhostmgr

If that doesn't help, the only thing I can think of is a graceful reboot. That fixed a WHM problem I had one time...

cPanel.net Support Ticket Number:
 

beekeeper

Active Member
Apr 28, 2003
44
0
156
Melbourne, Australia
Re: Re: Re: Re: Cant access WHM - resolver setup error

Try
/scripts/updatenow
/scripts/reswhostmgr

If that doesn't help, the only thing I can think of is a graceful reboot. That fixed a WHM problem I had one time...
Thanx for the suggestions but these 3 have not fixed the problem.

cPanel.net Support Ticket Number:
 

Final-Solution

Well-Known Member
Jul 14, 2002
92
0
156
I had this same problem . . I put in my nameservers and clicked continue but it just kept giving me the same message that i need to enter my nameservers :/

so i tried /scripts/updatenow & /scripts/reswhostmgr and now WHM wont even load :/ i get a 'cannot find server' error, but cpanel works just peachy . .


any ideas? my server has some kernel issues so it has to be rebooted by a tech unless i wanna drive an hour away and do it, so a reboot is the last chance, is there any other way to restart WHM?

Thanks

cPanel.net Support Ticket Number:
 

B12Org

Well-Known Member
Jul 15, 2003
691
1
168
Seattle Washington
cPanel Access Level
Root Administrator
Ok, try this. Since you are getting php errors, recompile apache and select option 5 when it asks (its script /scripts/easyapache), then do the /scripts/upcp, and it should resync whm/cpanel with the useraccounts and data, and pair it with apache. That should help.

cPanel.net Support Ticket Number:
 

Website Rob

Well-Known Member
Mar 23, 2002
1,504
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Re: Re: Re: Cant access WHM - resolver setup error

Originally posted by beekeeper
domain mydomain.com
search mydomain.com
nameserver 127.0.0.1
nameserver 216.12.200.xxx
nameserver 216.12.200.xxx

cPanel.net Support Ticket Number:
Try changing to:

nameserver 127.0.0.1
nameserver 216.12.200.xxx << this would be the Hostname IP address.

You also might want to verify your licencse is good:

http://layer1.cpanel.net/verify/

Enter the Hostname IP address.

cPanel.net Support Ticket Number: