The UNIX and Linux Forums  


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
stop a process to start at system startup larsgk SUN Solaris 3 09-21-2006 11:31 AM
how do i auto start application upon startup? doofie UNIX for Dummies Questions & Answers 2 04-01-2004 10:20 AM
Startup Process for FreeBSD? xNYx UNIX for Dummies Questions & Answers 2 03-01-2003 09:32 PM
hpux startup process, AUTO file? yls177 HP-UX 5 11-11-2002 07:34 PM
auto startup of a program exoron UNIX for Dummies Questions & Answers 2 09-13-2001 10:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-20-2002
champion champion is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 64
auto-startup a process

hi,

i just realise that everytimes i boot up my sun solaris 8 sparc, i need to explicitly run the following comand to start up my snmp agent.

cd /etc/rc2.d
./K07dmi start
./K07snmpdx start

i just wonder that how to make it auto-startup once the machine is boot up.

please enlighten me.

thanks
  #2 (permalink)  
Old 11-20-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
To give an example of how this is supposed to work, in /etc/init.d, we have a script called nfs.server. It is hard-linked to /etc/rc2.d/K60nfs.server and to /etc/rc3.d/S15nfs.server.

The S15 entry starts it up, while the K60 entry shuts it down. I could use any of these to manually start or stop it, but it kinda standard to use "/etc/init.d/nfs.server start", rather than one of the others.

So it sounds like you are missing a S link.
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 10:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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