The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
named pipes kanchan_agr Shell Programming and Scripting 5 09-12-2007 05:48 AM
Named PIPE Tamil UNIX for Dummies Questions & Answers 2 01-17-2007 03:20 AM
tee into 2 named pipes zzol UNIX for Advanced & Expert Users 9 12-12-2006 08:10 PM
IPC using named pipe sharanbr High Level Programming 2 02-16-2006 12:01 PM
how and where do i put the entries of named?? balu UNIX for Dummies Questions & Answers 2 08-20-2001 11:59 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2002
tamemi tamemi is offline
Registered User
  
 

Join Date: Feb 2002
Posts: 78
named

Dear All ,

Kindly i would like to start the named whenever the system reboot , currently i start it manually .

for more info. i have both named , one from SUN , and other one i installed it from internet , now i want the one from SUN to start automatically when rebooting .

its path is : /usr/sbin/in.named

what dir. shall i edit , to make the DNS work automatically when booting ??

thanks
  #2 (permalink)  
Old 08-07-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
It matters what version of the OS but you can search for named in /etc/rc2.d and probably find what you are looking for.

It should be S72inetsvc where named is started - you may need /etc/named.conf or /etc/named.boot (again, it matters what version came with the OS).

Since there have been some problems with named and security, you would be better off with using the one you built than using the older version that came with the OS (if you are connected to the Internet).
  #3 (permalink)  
Old 08-07-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
I know S72inetsvc is named startup script that runs at run level two but what does the number 72 means?
  #4 (permalink)  
Old 08-07-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
The startup scripts are number because of the way the OS works - it runs all files begining with S (startup) - to insure that your interface is started before something that requires connection to another server (possibly) like NIS ypbind, it also sorts the list of files by the number.

  #5 (permalink)  
Old 08-07-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
Thanks, so does this means the greater the number the higher the priority and How does the OS assign the number during installation.
  #6 (permalink)  
Old 08-07-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
The higher the number is not the higher priority. It's just so the scripts are run in an order - you can add scripts to the directory. It doesn't matter what number you give it - as long as you watch out that you aren't starting something first that needed another service. If you aren't sure, add it to /etc/rc3.d/.

You could name them S01aaaa, S01aaab, S02aaaa and they would run in this order:
S01aaaa
S01aaab
S02aaaa

Since you want to be descriptive, you set up the names to give a clue of what you are doing
S88sendmail
S73named
S92volmgt
S75cron

You would see the order if you did ls -1 S* on the rcX.d directories.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0