how and where do i put the entries of named??

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how and where do i put the entries of named??
# 1  
Old 08-20-2001
how and where do i put the entries of named??

can anybody tell me how, wat and where do i add the entries of named, squid and samba, so that when i switch on the system it should automatically start the services. without me manually starting the services??
# 2  
Old 08-20-2001
These services usually come with a start and shutdown script located in a run level directory, which sources a variable that is set in a rc directory usually under /etc - set the relevant flag in this file to allow them to startup on boot (usually means changing flag for service from 0 to 1).

# 3  
Old 08-20-2001
In Linux you can use chkconfig .
This is a simple command-line tool for maintaining runlevel information for system services.
man chkconfig for info

If you don't have a startup script in 'init.d' for any program you can just create it by examining other startup files in 'init.d' and then make a link from 'rcx.d' (where 'x' is runlevel number) .

Another way is to just put the program path in rc.local file. But this will make program to run in all runlevel.

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

3. HP-UX

remove named pipes

Hi, Please help me on this. I am creating a named pipe in a kshell script. I am using mkfifo pipe_name command to create the pipe. I want to remove the named pipe after my work is completed. How can i do that. (8 Replies)
Discussion started by: chintapalli001
8 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. Programming

How do capability macros get named?

The following is taken from some production code: #ifdef LOCK_LOCKF #ifdef HAVE_SYS_FILE_H #include <sys/lockf.h> #endif #ifdef HAVE_SYS_FILE_H #include <sys/file.h> #endif #define LOCK(file) fseek(file, 0L, 0), lockf(file, 1, 0L) #define UNLOCK(file) fseek(file, 0L, 0),... (2 Replies)
Discussion started by: frequency8
2 Replies

6. 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

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

8. UNIX for Dummies Questions & Answers


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 :... (5 Replies)
Discussion started by: tamemi
5 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