Re: Oops: Deleted /var/named

2006-04-01 Thread Lowell Gilbert
daniel [EMAIL PROTECTED] writes:

 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?

I don't use the port, just the base system bind; so I can't guarantee
that this applies.  

Normally (on 6.x; you didn't mention, so I assume you're running the
production release) /var/named/dev is a devfs mount installed
automatically by /etc/rc.d/named at boot time. From looking at my
rc.conf file, it looks like that method is the default if you have 
named_enable set to YES.  I'm sure there's more information in the
manual for rc.conf(5).

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-31 Thread daniel
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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-31 Thread daniel
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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-29 Thread Duane Whitty

Olivier Nicole wrote:

  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 



What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

Olivier
___

  

I have /var/named/dev/random in addition to /var/named/dev/null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 13:58:45 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




ev/null

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


there are some rc knobs to update the chroot environtment with files
which are missing.
try to activate and run named start again.

--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: Oops: Deleted /var/named]

2006-03-29 Thread Duane Whitty



 Original Message 
Subject:Re: Oops: Deleted /var/named
Date:   Wed, 29 Mar 2006 14:35:52 +0200
From:   Dimitar Vasilev [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 	[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




Yes ;-)
Also try with mtree -p /etc/BSD.var.mtree or whatever it was

Hi,
Did you mean to send this to the list?

--Duane




--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Oops: Deleted /var/named

2006-03-28 Thread daniel
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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread Peter

--- daniel [EMAIL PROTECTED] wrote:

 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?

Your problem probably has to do with missing devices.  They are not
regular files.  Try running in non-chroot environment.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread Dan Nelson
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).

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread daniel
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!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops: Deleted /var/named

2006-03-28 Thread Olivier Nicole
   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 

What I can see from my environment (4.11), you only need
/var/named/dev/null, copy it from /dev/null

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]