Web Hosting Talk







View Full Version : Error reloading bind on localhost


The MassMissile
06-12-2004, 05:43 PM
Hello, I always got this message when creating a new account or adding A entry in WHM:

Bind reloading on localhost using rndc
Error reloading bind on localhost: rndc: connect failed: connection refused

What does the above message means? Is it affecting anything? Is the Bind has an error?

Thanks.

Steven
06-12-2004, 06:15 PM
have you tried

/scripts/fixnamed
/scripts/fixndc

what about

tail -f /var/log/messages

any error messages from named?

is this box fedora or rhe?

rpm -q bind

anything that says

bind-chroot?

if so

rpm -e bind-chroot

and try to restart bind.

thank you

The MassMissile
06-12-2004, 06:27 PM
Hi, its Redhat 9

So if its Redhat 9, what do I have to do step by step to fix it?

But could you explain what does the error message means and... This is a newly setup box...just ordered it,... so,..why is the error here :s

Steven
06-12-2004, 06:31 PM
Originally posted by The MassMissile
But could you explain what does the error message means and... This is a newly setup box...just ordered it,... so,..why is the error here :s


Its very common to receive that error on a brand new box.


/scripts/fixnamed
/scripts/fixndc


run those two @ ssh.

go4ram01
01-06-2005, 03:40 PM
root@server [~]# /scripts/fixnamed
root@server [~]# /scripts/fixndc
Fixndc using rh9/rhes3/fedora support
Found key in named.conf ..
Found controls in named.conf ..
named.conf has already been fixed!
root@server [~]# /etc/rc.d/init.d/named restart
Stopping named: rndc: connect failed: connection refused
[ OK ]
Starting named: [ OK ]
root@server [~]#

Sheps
01-06-2005, 04:19 PM
Try restarting it again. If you still get connection refused. Edit the /etc/named.conf and rndc.* files, removing the information about the keys, and running the scripts again... Make backups before you do though.

go4ram01
01-06-2005, 04:48 PM
Actually this is a new box and the technician set up CPanel with lot of hurry and did lot of mistakes. CPanel was not working for 5 -6 times and I raised 5-6 support tickets. So I feel this is the problem with CPanel configuration.

Any how

if I run

root@server [~]# /scripts/updatenow
Sync Source: http://httpupdate.cpanel.net/STABLE/scripts
Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.72.164.151
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync.lock
...Done
Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.152
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE/scripts/.cpanelsync.bz2
...Done

================

http://httpupdate.cpanel.net ===> 69.72.164.152

Sice the script is trying to get the file from 69.72.164.151 it is getting 404 - file not found error.


Any idea to rectify this problem.

go4ram01
01-06-2005, 04:51 PM
/etc/named.conf KEYS are OK.

I checked.

go4ram01
01-06-2005, 07:58 PM
Some how I rectified the problem.