LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2003, 09:58 AM   #1
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Rep: Reputation: 15
bind error


hi there,

i upgrade the bind with:
make PORT_REPLACES_BASE_BIND9=yes all install


but when i type

ndc start (or named)
it gave me:
ndc: error: name server has not started (yet?)

i whent to see the log file and look like this:

Apr 15 14:10:32 samaell named[10451]: starting BIND 9.2.2
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: listening on IPv6 interfaces failed
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: creating IPv4 interface xl0 failed; interface ignored
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: creating IPv4 interface lo0 failed; interface ignored
Apr 15 14:10:32 samaell named[10451]: not listening on any interfaces
Apr 15 14:10:32 samaell named[10451]: /etc/namedb/rndc.key:6: unknown option 'options'
Apr 15 14:10:32 samaell named[10451]: couldn't add command channel 127.0.0.1#953: failure
Apr 15 14:10:32 samaell named[10451]: /etc/namedb/rndc.key:6: unknown option 'options'
Apr 15 14:10:32 samaell named[10451]: couldn't add command channel ::1#953: failure
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:18: ignoring out-of-zone data (localhost)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:21: ignoring out-of-zone data (localhost)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:23: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int)
Apr 15 14:10:32 samaell named[10451]: localhost:23: file does not end with newline
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:18: ignoring out-of-zone data (localhost)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:19: ignoring out-of-zone data (1.0.0.127.in-addr.arpa)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:21: ignoring out-of-zone data (localhost)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:23: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int)
Apr 15 14:10:32 samaell named[10451]: localhost:23: file does not end with newline
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:19: ignoring out-of-zone data (1.0.0.127.in-addr.arpa)
Apr 15 14:10:32 samaell named[10451]: dns_master_load: localhost:23: ignoring out-of-zone data (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int)
Apr 15 14:10:32 samaell named[10451]: localhost:23: file does not end with newline


What is append....

Please help me
 
Old 04-15-2003, 10:02 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Please don't double post....

http://www.linuxquestions.org/questi...threadid=55131

Jamie...
 
Old 04-15-2003, 10:03 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
It sounds to me like you already have named running. After you did the upgrade to you check the contents of /etc/named.conf to check that it hasn't been over written?

What version of Bind did you upgrade from? The config files may not be exactly the same.

cheers

Jamie...
 
Old 04-15-2003, 10:08 AM   #4
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Original Poster
Rep: Reputation: 15
1 sorry about the double post

2

I've upgrade from 8.3.3 to 9.2.2
I check the /etc/namd.conf but it looks like the same before the upgrade

What can i do now??
 
Old 04-15-2003, 10:15 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Did you check about named already running? The following bit of you error message
Code:
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: listening on IPv6 interfaces failed
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: creating IPv4 interface xl0 failed; interface ignored
Apr 15 14:10:32 samaell named[10451]: could not listen on UDP socket: address in use
Apr 15 14:10:32 samaell named[10451]: creating IPv4 interface lo0 failed; interface ignored
Apr 15 14:10:32 samaell named[10451]: not listening on any interfaces
suggests that you already have named running on your system and are attempting to start it again.

cheers

Jamie...
 
Old 04-15-2003, 10:22 AM   #6
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Original Poster
Rep: Reputation: 15
thanks for the your time.....

i try to restart the system without the
named_enable="yes"

and i dont have the dns,
but when i type de ndc start (only 1 time) it append again...

but the dns is now up...

It seems that he make named double??!!!

The problem is that i dont have any mesanger say that the dns is up


Help.............me
Thanks
 
Old 04-15-2003, 10:24 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
So its started working now?? Are you sure your new version of Bind came with NCD and that you're not starting the old version?

cheers

Jamie...
 
Old 04-15-2003, 10:27 AM   #8
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Original Poster
Rep: Reputation: 15
Bind came with NCD ???
sorry i dont know what is it!!

i think iam starting the new version because this new have suport to ipv6 anwsers, and the old didnt have...
 
Old 04-15-2003, 10:29 AM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Sorry hcd should have read 'ndc' doh...

Jamie...
 
Old 04-15-2003, 10:35 AM   #10
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Original Poster
Rep: Reputation: 15
Soooo
Can i do anything??
is there a way to "kill" the old bind (if it still there)???
 
Old 04-15-2003, 10:41 AM   #11
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by tandre
Can i do anything??
It sounds like the new named isn't binding to the IPV4 interfaces for some reason, and that the IPV6 stuff is causing lots of errors

Quote:
Originally posted by tandre
is there a way to "kill" the old bind (if it still there)???
killall named, rm -rf /somePath/oldNamedBinary would do it, but it sounds like the new one is running. Post a copy of your named.conf and your zone files so we can have a look.

cheers

Jamie...
 
Old 04-15-2003, 10:48 AM   #12
tandre
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Fedora Core 3
Posts: 61

Original Poster
Rep: Reputation: 15
the named.conf looks like this:

options {
directory "/etc/namedb";
forwarders {
193.137.232.2;
// 2001:690:1fff:200:0000:0000:0000:2;

};
allow-query{any;};
listen-on-v6{any;};
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
//query-source address * port 53;

/*
* If running in a sandbox, you may have to specify a different
* location for the dumpfile.
*/
// dump-file "s/named_dump.db";
};

zone "localhost" {
type master;
file "localhost";
#check-names fail;
allow-update{none;};
allow-transfer{any;};
allow-query{any;};
};

zone "." {
type hint;
file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost";
allow-query{any;};
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
type master;
file "localhost";
#check-names fail;
allow-update{none;};
allow-transfer{any;};
allow-query{any;};
};

zone "d.3.2.0.9.6.0.1.0.0.2.IP6.INT" {
type master;
file "localhost-v6.ipg";
#check-names fail;
allow-update{none;};
allow-transfer{any;};
allow-query{any;};
also-notify{};
};
zone "ipv6.ipg.pt" {
type master;
file "ipv6.ipg.pt";
#check-names fail;
allow-update{none;};
allow-transfer{any;};
allow-query{any;};
also-notify{};
};

do u need the zone files
 
Old 04-15-2003, 07:15 PM   #13
EvilTwinSkippy
Member
 
Registered: Mar 2003
Location: Philadelphia, PA
Distribution: RedHat, Gentoo
Posts: 51

Rep: Reputation: 15
Ditch the IPv6 entry

Unless you are on a research network somewhere, you are not using IPv6.

Disable it. I can't guarentee that this will fix anything, but it will cut down on the background noise enough to see what is actually broken.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND Error Kenji Miyamoto Slackware 1 05-22-2005 07:37 AM
bind 9.2.3 error mcalizo Linux - General 1 10-11-2004 06:39 AM
Bind Error sakkie Linux - Networking 1 10-12-2003 10:28 AM
bind error tandre *BSD 1 04-15-2003 10:01 AM
Bind 9.2.1 error Saleen_GT_S281 Linux - Networking 4 11-15-2002 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration