DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th August 2009
Antimidget Antimidget is offline
Real Name: Glenn Tocher
New User
 
Join Date: Aug 2009
Location: Otago, New Zealand
Posts: 2
Default Named not starting on NetBSD boot

in my rc.conf file i have the following lines
Code:
[...]
named_enable="YES"
named_program="/etc/rc.d/named"
named_flags="-c /etc/namedb/named.conf -u named -t /var/chroot/named"
[...]
i've tried all the paths i can find for 'named_program'

can anyone see what i've got wrong or even some tips to check

Cheers
Reply With Quote
  #2   (View Single Post)  
Old 27th August 2009
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

You should put, rather than "named_enable",
Code:
named=YES
in /etc/rc.conf (no quotes needed).

I would remove the reference to "named_program", I'm not sure that it's relevant.

You can set named_flags how you want, but to run it chrooted take a look at the comments in /etc/defaults/rc.conf,
Code:
# To run the named(8) DNS server as an unprivileged user under a
# chroot(2) cage, uncomment the following after migrating the contents
# of /etc/namedb to /var/chroot/named/etc/namedb
#
#named_chrootdir="/var/chroot/named"
The last uncommented line should of course be placed in /etc/rc.conf .
Reply With Quote
  #3   (View Single Post)  
Old 27th August 2009
Antimidget Antimidget is offline
Real Name: Glenn Tocher
New User
 
Join Date: Aug 2009
Location: Otago, New Zealand
Posts: 2
Default Thanks

Thank you so much, all working now
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
startx not starting correctly - XOrg 7.4_2 Mantazz FreeBSD Ports and Packages 1 8th July 2009 04:17 PM
NetBSD pre-release 5 doesn`t boot welkin NetBSD Installation and Upgrading 4 6th January 2009 10:13 PM
Daemon Process not starting on boot map7 FreeBSD General 4 11th September 2008 04:24 PM
Samba NOT STARTING pcfxer FreeBSD General 11 13th May 2008 09:29 AM


All times are GMT. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick