Hey,
I have setup a jail with a dns (running in a sandox) like
written here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html

When I startup the jail I have a few error messages and
syslogd crashes! Here is the jails /var/log/messages after
a boot:

  9 16:16:30 dns named[376]: starting (/etc/named.conf).
 named 8.3.3-REL Fri Jan  3 17:19:30 CET 2003
        [EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named
Jan  9 16:16:30 dns named[376]: limit files set to fdlimit
(1024)
Jan  9 16:16:30 dns named[376]: ctl_server: bind:
/var/run/ndc: Address already in use
Jan  9 16:16:30 dns named[376]: bind(dfd=20,
[192.168.0.2].53): Address already in use
Jan  9 16:16:30 dns named[376]: deleting interface
[192.168.0.2].53
Jan  9 16:16:30 dns named[376]: not listening on any
interfaces
Jan  9 16:16:30 dns named[377]: Ready to answer queries.
Jan  9 16:16:30 dns sshd[389]: error: Bind to port 22 on
192.168.0.2 failed: Address already in use.
Jan  9 16:16:30 dns sshd[389]: fatal: Cannot bind any
address.
Jan  9 16:16:30 dns syslogd: exiting on signal 15
Jan  9 16:17:27 dns named[183]: starting (/etc/named.conf).
 named 8.3.3-REL Fri Jan  3 17:19:30 CET 2003
        [EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named
Jan  9 16:17:27 dns named[183]: limit files set to fdlimit
(1024)
Jan  9 16:17:27 dns named[184]: Ready to answer queries.

In the jails rc.conf I have added the following line:
syslogd_flags="-ss -l /etc/namedb/dev/log"

When I start syslogd manually after the jail boot it works.
So, what is the problem!

How can I prevent the other error messages! like the bind
to port error of the sshd?

Thanks
Didier

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to