From owner-freebsd-questions Thu Jan 9 7:42:32 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2524437B4B3 for ; Thu, 9 Jan 2003 07:42:30 -0800 (PST) Received: from mcesr.etat.lu (dynamic4.etat.lu [194.154.200.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D3843F5F for ; Thu, 9 Jan 2003 07:42:28 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from [158.64.52.131] (account ) by mcesr.etat.lu (CommuniGate Pro WebUser 3.5.9) with HTTP id 702711 for ; Thu, 09 Jan 2003 16:33:03 +0100 From: "Wiroth Didier" Subject: jail startup problems To: freebsd-questions@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Thu, 09 Jan 2003 16:33:03 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 root@djabba.cedies.etat.lu:/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 root@djabba.cedies.etat.lu:/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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message