Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers named
# 1  
Old 08-07-2002

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 ??

# 2  
Old 08-07-2002
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  
Old 08-07-2002
I know S72inetsvc is named startup script that runs at run level two but what does the number 72 means?
# 4  
Old 08-07-2002
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  
Old 08-07-2002
Thanks, so does this means the greater the number the higher the priority and How does the OS assign the number during installation.
# 6  
Old 08-07-2002
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:

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

You would see the order if you did ls -1 S* on the rcX.d directories.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Bind named query

Hello! I have a DNS server running named on a RHEL 6.2 for very small development servers/clients network. I see the below logs on /var/named/data/ error (network unreachable) resolving 'D.ROOT-SERVERS.NET/AAAA/IN': error (network unreachable) resolving... (2 Replies)
Discussion started by: admin_xor
2 Replies

2. Shell Programming and Scripting

Named pipe performance

Hi, I am getting data into a Named pipe. Does Named pipe have any size restriction; I know it does not have any storage and it just passes on the data to the next process. I want to know, if there will be a difference in the Named pipe performance if the data input is more. (I am using DB2... (1 Reply)
Discussion started by: sudvishw
1 Replies

3. UNIX for Dummies Questions & Answers

Named Pipes

hi, i am working on a script for oracle export, m using a parameter file... i want to compress the dump file that is generated.. in my script following is the code i have written. i am not able to generata .gz file mknod /tmp/exp_tesd1_pipe p gzip -cNf... (4 Replies)
Discussion started by: saharookiedba
4 Replies

4. Shell Programming and Scripting

named pipes

How to have a conversation between 2 processes using named pipes? (5 Replies)
Discussion started by: kanchan_agr
5 Replies

5. UNIX for Dummies Questions & Answers

Named PIPE

Gurus, I've a File Transaction Server, which communicates with other servers and performs some processing.It uses many Named PIPE's. By mistake i copied a named PIPE into a text file. I heard that PIPE files shouldn't be copied.Isn't it? Since it's a production box, i'm afraid on... (2 Replies)
Discussion started by: Tamil
2 Replies

6. UNIX for Advanced & Expert Users

tee into 2 named pipes

The following code does not work (zsh, Solaris), but works without the first line (files instead of pipes) :confused: mkfifo p1 p2 echo "Hello" | tee p1 > p2 & paste p1 p2 I would high appreciate any help to fix it. (9 Replies)
Discussion started by: zzol
9 Replies

7. Shell Programming and Scripting

Making a Named Daemon

I have a PHP CLI script that runs as a daemon. I have a cron job that checks every 5 minutes if that script is running. PHP slowly builds up memory and then eventually dies. I want to write a Bourne script wrapper around it to prevent this. However, I can't get my monitor script to search properly... (4 Replies)
Discussion started by: edua
4 Replies

8. UNIX for Advanced & Expert Users

named and nslookup

Guys , Am using Linux - Red Hat 6.1 . My DNS and nslookup command was working fine and ppl. can resolve through this server . but i changed something in /etc/named.conf , that stopped the DNS . The named proccess is working , but nslookup command is not , i get this error message : ... (3 Replies)
Discussion started by: tamemi
3 Replies

9. Shell Programming and Scripting

named pipes

Hi I am having trouble with a script to export individual schemas to tape from an oracle database. Basicaly I need to export each shema through a pipe with compression and store each shema name in a file with the relevant tape marker. (4 Replies)
Discussion started by: truma1
4 Replies
Login or Register to Ask a Question