Oops: Deleted /var/named

daniel danstemporaryaccount at yahoo.ca
Tue Mar 28 22:36:22 UTC 2006


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!


More information about the freebsd-questions mailing list