Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > clean way to restart named?

clean way to restart named?
Thread Tools
Grizzled Veteran
Join Date: Oct 2000
Location: Vancouver
Status: Offline
Reply With Quote
May 21, 2003, 12:51 PM
 
I recently moved my DNS over to OSX from my Linux server, but I was wondering if any one knew what the best way to restart named is??

I have been using "kill -9 PID" but is there somthing like appache has with "apachectl graceful"

Thanks.
Alex Duffield
http://www.incontrolsolutions.com
Fatal error: Call to undefined function: signature() in /usr/local/www/htdocs/showthread.php on line 813
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
May 21, 2003, 02:02 PM
 
Originally posted by Alex Duffield:
I recently moved my DNS over to OSX from my Linux server, but I was wondering if any one knew what the best way to restart named is??

I have been using "kill -9 PID" but is there somthing like appache has with "apachectl graceful"

Thanks.
kill -9 is not a graceful kill. If you do a kill -1, that is a "HUP", and will tell the process to restart itself.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
May 21, 2003, 05:28 PM
 
If you are using Aaron Faby's SecureDNS chrooted implementation of BIND (available here: http://www.serverlogistics.com/downl....php#securedns) , you can use OS X's SystemStarter facility to start, stop, or restart the process:
sudo SystemStarter start BIND
sudo SystemStarter stop BIND
sudo SystemStarter restart BIND
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:57 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2