DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 17th, 2004, 12:36 PM
Real1 Real1 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 7 Real1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 m 37 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old October 17th, 2004, 02:26 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,694 Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 2nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 3 h 53 m 15 sec
Reputation Power: 1145
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

Reply With Quote
  #3  
Old October 17th, 2004, 02:32 PM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
"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?

Reply With Quote
  #4  
Old October 18th, 2004, 01:17 PM
Real1 Real1 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 7 Real1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 m 37 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Bind Starting twice


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT