|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Bind Starting twice
Looking for some help on why bind is starting twice.
We upgraded a cpanel server bind from 8 to 9.3 and created our rndc key edited named.conf for it and works fine. However, in the options. The paths has been changed from /etc/named.conf to /etc/namedb/named.conf When we try to start bind,its fails, but does start when it finds the correct path on the second try. Oct 17 12:10:42 provide named[234]: starting BIND 9.3.0 -u bind -c /etc/named.conf Oct 17 12:10:42 provide named[234]: none:0: open: /etc/named.conf: file not found Oct 17 12:10:42 provide named[234]: loading configuration: file not found Oct 17 12:10:42 provide named[234]: exiting (due to fatal error) -------- Oct 17 12:11:02 provide named[456]: starting BIND 9.3.0 -u bind -c /etc/namedb/named.conf Oct 17 12:11:02 provide named[456]: command channel listening on 127.0.0.1#953 So, we did try symlinking to /etc and it still tells us it fails. No matter what we do, bind is still looking for the named.config in /etc. We do have around 70 IP's on this machine and the last thing I can think of is renumbering. We have tried the flags with and without; named_flags="-u bind -c /etc/namedb/named.conf" In the rc.config This is a BSD box Any suggestions on why Bind is trying to locate named twice? Thanks for your time. |
|
#2
|
||||
|
||||
|
Couple of questions for you. What BSD are we talking about here (FreeBSD, OpenBSD, NetBSD?). Also, did you mean rc.conf instead of rc.config and have you actually looked at the contents of this file, instead of using some cpanel front-end thingy. Additionally, it may be that the other instance of bind is being started by a shell script. Normally, the location of startup scripts of user-installed software are in /usr/local/etc/rc.d for FreeBSD (which is why I asked what version of BSD you're using). Check to see if there's a second startup script out here by some chance.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#3
|
|||
|
|||
|
"When we try to start bind,its fails, but does start when it finds the correct path on the second try."
You are starting bind manual for the first time or at the boot? You are starting bind manual for the second time? If you start bind manual, what options you use to start bind? I wrote an howto for bind on freebsd, you may take a look: http://forums.devshed.com/t184379/s.html How did you start bind at boot? |
|
#4
|
|||
|
|||
|
I found the problem, just took me awhile to see it. Named was try to start up with the wrong user. Anyway, don't know what caused it to change ownership, but its fixed now.
Thanks for your time. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Bind Starting twice |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|