Re: bind97 from /bar/log/messages....

2011-01-22 Thread Da Rock

On 01/23/11 14:00, Gary Kline wrote:

Can anybody spot what's messed up here and help me get back up?

> From earlier errors I added and then removed an "A" address label
before the "IN NS ns1.thought.org" ... That was the only thing I
could think of, and things still failed.

HEre is the apropos part of the log:

   



Sometimes you just get to the point where you just want a 
straight-forward answer to things because you've had enough :) I'm there 
now myself, so I can relate. So...


1. Are you sure named (bind9.x's executable) is not already running? 
Usually if it is already running you would incant rndc reload.


2. You need an address record for named server host- ns1.thought.org. So 
you need in your zone file (this is taking a bit of remembering now- 
been a while since I had to edit mine... :) ):



NS ns1.thought.org. ; don't forget the period at the end

A  ; OPTIONAL: this will allow users to 
just enter domain and go straight to the web server. You can also simply 
CNAME hosts with the same address.
$ORIGIN thought.org. ; saves you typing - now just type in the hosts and 
domain will be auto added (again don't forget the period)

ns1A 

That should get you out of trouble. The optional stuff makes it easier 
for your users, and for you to maintain. Don't forget to increment your 
serial :)


Now, I think you should be checking your mail server
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


{kl...@thought.org} Your email is screwed up, AGAIN! ( Re: bind97 from /bar/log/messages....)

2011-01-22 Thread Robert Bonomi

Date: Sat, 22 Jan 2011 22:42:16 -0600 (CST)
Subject: Returned mail: see transcript for details


   - The following addresses had permanent fatal errors -
   kl...@thought.org
(reason: 550 5.7.1 ... Relaying denied. Proper 
authentication required.)

   - Transcript of session follows -
... while talking to ethic.thought.org.:
>>> DATA
<<< 550 5.7.1 ... Relaying denied. Proper 
authentication required.
550 5.1.1 kl...@thought.org... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bind97 from /bar/log/messages....

2011-01-22 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Sat Jan 22 22:08:52 2011
> Date: Sat, 22 Jan 2011 20:00:47 -0800
> From: Gary Kline 
> To: FreeBSD Mailing List 
> Cc: 
> Subject: bind97 from /bar/log/messages
>
>
> Can anybody spot what's messed up here and help me get back up?
>
> >From earlier errors I added and then removed an "A" address label
> before the "IN NS ns1.thought.org" ... That was the only thing I could 
> think of, and things still failed.
>
> Here is the apropos part of the log:
>
>
> Jan 22 19:44:54 ethic named[2069]: starting BIND 9.7.2-P3 -c
> /var/named/etc/namedb/named.conf
> Jan 22 19:44:54 ethic named[2069]: built with '--localstatedir=/var'
>   '--disable-linux-caps' '--disable-symtable'
>   '--with-randomdev=/dev/random' '--with-openssl=/usr'
>   '--with-libxml2=/usr/local' '--without-idn' '--enable-threads'
>   '--prefix=/usr/local' '--mandir=/usr/local/man'
>   '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.3'
>   'build_alias=i386-portbld-freebsd7.3' 'CC=cc' 'CFLAGS=-O2
>   -fno-strict-aliasing -pipe' 'LDFLAGS=
>   -rpath=/usr/lib:/usr/local/lib' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2
>   -fno-strict-aliasing -pipe'
> Jan 22 19:44:54 ethic named[2069]: could not listen on UDP socket: address in 
> use 
> Jan 22 19:44:54 ethic named[2069]: creating IPv4 interface address in use 
> Jan 22 19:44:54 ethic named[2069]: creating IPv4 interface em0 failed; 
> interface ignored 

**PROBLEM**  _something_ is already using the port named is trying to listen
on, for an IPv4 address associated with interface em0

> Jan 22 19:44:54 ethic named[2069]: could not listen on UDP socket: address in 
> use 
> Jan 22 19:44:54 ethic named[2069]: creating IPv4 interface lo0 failed; 
> interface ignored 

**PROBLEM** _something_ is already listening on the specified port on the 
loopback (lo0) interface, as well.

> Jan 22 19:44:54 ethic named[2069]: not listening on any interfaces 

**PROBLEM** the 'something' beat this invocation of 'named' to the punch on
_all_ the interfaces it was trying to listen on for queries.  dead in the water.

> Jan 22 19:44:54 ethic named[2069]: couldn't add command channel 
> 127.0.0.1#953: address in use
> Jan 22 19:44:54 ethic named[2069]: couldn't add command channel ::1#953: 
> address in use
> Jan 22 19:44:54 ethic named[2069]: could not listen on UDP socket: address in 
> use 
> Jan 22 19:44:54 ethic named[2069]: creating IPv4 interface em0 failed; 
> interface ignored 

**PROBLEM**  _something_ is already using the 'control' port named is trying to
use, for an IPv4 address associated with interface em0

> Jan 22 19:44:54 ethic named[2069]: could not listen on UDP socket: address in 
> use 
> Jan 22 19:44:54 ethic named[2069]: creating IPv4 interface lo0 failed; 
> interface ignored 

**PROBLEM**  _something_ is already using the 'control' port named is trying to
use, for an IPv4 address associated with the loopback interface.

> Jan 22 19:44:54 ethic named[2069]: zone thought.org/IN/internal: NS
> 'ns1.thought.org' has no address records (A or )

**PROBLEM** in the config file being used.

   you have a line that declares  "IN  NS  ns1.thought.org",
   but *NO* line  "ns1.thought.org  IN  A  {IPv4 address}" 
 or   "ns1.thought.org  IN  A  {[IPv6 address]}" 
> 
> Jan 22 19:44:54 ethic named[2069]: zone thought.org/IN/internal: not loaded 
> due to errors. 

**PROBLEM**  entire zone file ignored due to errors ini it.
> Jan 22 19:44:54 ethic named[2069]: managed-keys-zone ./IN/internal: loading 
>   from master file 
> 3bed2cb3a3acf7b6a8ef408420cc682d5520e26976d354254f528c965612054f.mkeys 
>   failed: file not found 
> Jan 22 19:44:54 ethic named[2069]: managed-keys-zone ./IN/external: loading 
>   from master file 
> 3c4623849a49a53911c4a3e48d8cead8a1858960bccdea7a1b978d73ec2f06d7.mkeys 
>   failed: file not found 
> Jan 22 19:44:54 ethic named[2069]: running

Running, but doing  nothing.  

> And regarding the "managed-keys-zone" I have no clue.  i do have a file 
> named rndc.key or suchlike, but that is as close as I can come to 
> anything to do with that string.  ...So hope some of you DNS wizards 
> know.
>
> tia,
>
> gary
>
>
>
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service 
>  Unix
>Journey Toward the Dawn, E-Book: http://www.thought.org The 
>7.97a release of Jottings: http://jottings.thought.org
>
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
> unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"