From owner-freebsd-questions@FreeBSD.ORG Tue Mar 28 22:36:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 88DFC16A400 for ; Tue, 28 Mar 2006 22:36:22 +0000 (UTC) (envelope-from danstemporaryaccount@yahoo.ca) Received: from kenyan.nodes.net.ad-flow.com (KENYAN.NODES.NET.AD-FLOW.COM [66.117.33.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4054D44615 for ; Tue, 28 Mar 2006 22:36:22 +0000 (GMT) (envelope-from danstemporaryaccount@yahoo.ca) Received: from [66.38.196.186] (helo=dquinn.cubearmy.com) by kenyan.nodes.net.ad-flow.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.50) id 1FOMnU-000IAY-V5 for freebsd-questions@freebsd.org; Tue, 28 Mar 2006 22:36:20 +0000 From: daniel To: freebsd-questions@freebsd.org Date: Tue, 28 Mar 2006 17:36:18 -0500 User-Agent: KMail/1.9.1 References: <200603281142.53947.danstemporaryaccount@yahoo.ca> <20060328165431.GX42429@dan.emsphone.com> In-Reply-To: <20060328165431.GX42429@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603281736.18480.danstemporaryaccount@yahoo.ca> Subject: Re: Oops: Deleted /var/named X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 22:36:22 -0000 On Tuesday 28 March 2006 11:54, Dan Nelson wrote: > In the last episode (Mar 28), daniel said: > > Yes, it was dumb, but while I have a backup of all of my domain info > > and have restored it all, starting named gives me this error now: > > > > devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device > > devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device > > devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device > > > > I can only assume that it has something to do with the files in > > /var/named/dev/ that I have untarred there. I tried doing a "make > > deinstall; make install" in /usr/ports/dns/bind9 but that didn't > > create anything. What is the propper way to re-set this up? > > Remove everything in /var/named/dev and remount devfs on top of it (or > run /etc/rc.d/named restart which should do the same). I'd tried running "/etc/rc.d/named restart" a few times until I realised that I had to delete the files that were already there (from the tarball). Once I did that, a service restart did the trick. Thanks!