Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 17:36:18 -0500
From:      daniel <danstemporaryaccount@yahoo.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: Oops: Deleted /var/named
Message-ID:  <200603281736.18480.danstemporaryaccount@yahoo.ca>
In-Reply-To: <20060328165431.GX42429@dan.emsphone.com>
References:  <200603281142.53947.danstemporaryaccount@yahoo.ca> <20060328165431.GX42429@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603281736.18480.danstemporaryaccount>