Web Hosting Talk







View Full Version : Strange problem: WHM DNS


ResellerPlanet
12-28-2004, 02:08 PM
Hello,

I'm working on a new WHM server setup, and I noticed the following strange problem: It seems like WHM thinks "dns clustering" is enabled, but nobody enabled it. I don't see any zone files in the list when I click "Edit DNS Zone Files". When I click "Configure Cluster" in order to disable it, the page just won't load... It seems like none of the pages located in the CGI folder of WHM load... I checked if perl is installed and it's located in /usr/bin/perl like it should. I tried to update cPanel/WHM but that didn't solve anything.

Does anyone knows what I can do? I don't need DNS clustering :(

Best Regards,
ResellerPlanet

Haze
12-28-2004, 03:34 PM
Is this a CentOS box ? Try running /scripts/updatenow;/scripts/upcp --force . I've noticed at times perl doesn't get installed properly and requires a few manual hits of the enter button when running the above. That might fix you up.

ResellerPlanet
12-28-2004, 06:51 PM
Yeah it's running CentOS 3.3. I did what you said but it didn't solve anything...
Any idea?

ResellerPlanet
12-28-2004, 07:21 PM
I ran that script via SSH and got errors spawned about files that could not be found by Perl. I've therefore installed the following modules which solved the problem:

Tie::IxHash
Tie::IxHash::Easy

Thank you.

Coolraul
01-15-2005, 09:19 PM
I have this problem on a centos box as well but even after trying the above suggestions I can't get the dns cluster manager page to load fully.

It's frustrating the heck out of me. Any other suggestions?

ResellerPlanet
01-16-2005, 07:49 AM
Try to run the cgi script of the dns cluster page via SSH, see what errors it gives...

Coolraul
01-16-2005, 02:09 PM
Ok thanks.

Coolraul
01-16-2005, 08:30 PM
Blah I am not very bright I was sure I had done this. I tried everything to resolve this before but this post from cpanel.net finally helped. When I read the below it occurred that i may not have removed the master cluster server from the config before I migrated from it. A look in:

/usr/local/cpanel/logs/error_log yielded the answer, it was indeed still looking to the master cluster server and was never going to find it since it is now offline. So I followed the steps below (note that I didn't delete the files but just moved it as I always do.

http://forums.cpanel.net/showthread.php?t=26501&highlight=cluster

Just in case anyone else is having problems with this I thought I would post my solution.

I had a server in the cluster that I had taken offline.

1. Put the server back online and then delete it from the cluster even if it isn't active.
or
2. Go to /var/cpanel/cluster/root/config and delete the two files for the IP address of the server that is no longer online.

Hope this helps someone else find the solution easier.