hosteurolive

Member
PartnerNOC
Jun 5, 2006
10
0
151
named Failed

hi

since the release update last night
named is down on all my servers

rndc: connect failed: connection refused

Starting named: [FAILED]
[email protected] [~]#


Jul 21 08:16:48 ns23 named[7330]: using 1 CPU
Jul 21 08:16:48 ns23 named[7330]: loading configuration: failure
Jul 21 08:16:48 ns23 named[7330]: exiting (due to fatal error)
Jul 21 08:16:48 ns23 named: named startup failed
Jul 21 08:22:54 ns23 named[7570]: starting BIND 9.2.4 -u named
Jul 21 08:22:54 ns23 named[7570]: using 1 CPU
Jul 21 08:22:54 ns23 named[7570]: loading configuration: failure
Jul 21 08:22:54 ns23 named[7570]: exiting (due to fatal error)
Jul 21 08:22:54 ns23 named: named startup failed


I dont know what the config problem is...

thx
 

Spearow

Staff Member
Mar 25, 2004
15
0
151
Sunnyvale, CA
This is due to the rpm update scripts excluding php, but not squirrelmail, which depends on php. This prevents most rpm's from ever being updated. Removing the squirrelmail rpm and running "up2date -u" should resolve this.
 

heavypredator

Well-Known Member
May 2, 2003
93
1
158
it fixed one of the servers so if your is still not fixed find out why your up2date is not updating and try to fix it
 

proton2112

Registered
Jan 2, 2004
3
0
151
I just talked to a tech at my host (servermatrix) who got me fixed up right away. Apparently there was a bad update (DOH).

He said something about changing my resolv.conf to point to a server other than myself so 'up2date -u bind-libs' could run. Then he changed resolv.conf back.
 
Last edited:

janderk

Member
Oct 9, 2003
5
0
151
I had the same problem and servermatrix fixed it for me (within minutes of filing a support ticket. Thanks guys). up2date did not work because the name server was down, on which up2date depended. Adding another outside working name server and made up2date work again. For those interested here is what their support ticket said:
We have added the following line to the top of /etc/resolv.conf:

nameserver [ip of working theplanet name server here]

That line allowed your server to use the planets DNS server to resolve the IP for up2date. We have then updated the bind-lib and bind is back up and running.

This problem is becuase of a cpanel update that failed to install bind-libs and was resolved by running:

up2date -u bind-libs

and restarting bind.

Everything appears to be up and running now.

Installing...
1:bind-libs ########################################### [100%]
[email protected] [~]# service named start
Starting named: [ OK ]
[email protected] [~]# nslookup google.com 127.0.0.1
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: google.com
Address: 64.233.167.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 72.14.207.99
Jan Derk
 
Last edited:
J

*JPO*

Guest
Hello, I have a few named's that wont start after upcp ran tonight. They were working and went down after midnight (upcp cron). Is there anybody having the same problem? If yes, did you fix it and how?

Thanks a lot!
 

Jeff-C

Well-Known Member
Mar 16, 2004
116
0
166
Just encountered this as well tonight - adding squirrelmail* to the up2date skiplist #20 and running up2date solved it for me as well and named is now started again.
 

cjscott69

Member
Mar 10, 2004
7
0
151
Running

Code:
up2date -u bind-libs
and then

Code:
service start named
did it for me. Thanks to those who posted the fix here!
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
i seem to be stuck ..can't get named to resolve any update servers. I tried messing with resolv.conf but named won't run so it can't up2date
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You need to make sure that the first nameserver entry in /etc/resolv.conf is a working DNS resolver. For example, it would be a good idea to use the DNS resolver that your datacenter provides. If you don't know what they are, you'll need to seek help from your server provider, unless it's your own hardware and OS, of course.

It's a salutary reminder that you do need to have disperate nameservers defined in resolv.vonf incase the local resolver goes down, as it is in these cases.
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
chirpy said:
You need to make sure that the first nameserver entry in /etc/resolv.conf is a working DNS resolver. For example, it would be a good idea to use the DNS resolver that your datacenter provides. If you don't know what they are, you'll need to seek help from your server provider, unless it's your own hardware and OS, of course.

It's a salutary reminder that you do need to have disperate nameservers defined in resolv.vonf incase the local resolver goes down, as it is in these cases.
actually it is a good nameserver but I may have zone transfers off without trusted setup ..thanks for the tip Chirpy!!! I can fix it now .. 5am blurr makes an old brain think much slower

fixed!!! thanks chirpy! a nice slutty resolver that will put out to anyone did the trick for me :)
 
Last edited:

adamint

Member
Nov 28, 2004
13
0
151
I was in the sameboat as Janderk, got a message on my phone saying your servers down, came on. ip was up. dns was down.

restarted it, it failed.

logged a ticket with theplanet, was open less than five minutes
and fixed with the solution Janderk posted.

luckily it didnt affect to many people, but hopefully it wont happen again!