LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices



Reply
 
Search this Thread
Old 03-31-2009, 08:37 PM   #1
acerlinux
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Q: how to start a service when system start


As topic, assume we have a service called "blahservice"

and we can start it by:

startsrc -s blahservice

what is the best practice to run such command when system start?

- directly use mkitab to add it into /etc/inittab

or

- drop startup scripts in /etc/rc.d/rcX.d

I know they are all possible ways, but I am really keen to know which is the AIX native way and why, pros and cons will be appreciated.

Thanks in advance.

[edit] I am targeting for AIX 5.2, 5.3 and 6.1 [/edit]

Last edited by acerlinux; 03-31-2009 at 08:38 PM.
 
Old 03-31-2009, 10:38 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 539

Rep: Reputation: 39
or use smitty...
 
Old 04-10-2009, 06:45 AM   #3
fuzzyone
LQ Newbie
 
Registered: Mar 2009
Location: Minsk, Belarus
Posts: 3

Rep: Reputation: 0
rc is the preffered way - as the of AIX services started from there... but as for me personally i don't see the big difference
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set a service to start any time the system reboot phongly2000 Linux - Newbie 3 01-16-2009 12:48 PM
why my ntop can't start using service ntop start command cmx08 Linux - Software 5 10-21-2008 11:52 PM
System logger & Kernel logger service start twice? quanta Fedora 0 12-07-2007 07:09 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
How do I start samba as a system service? tlawlessrr Linux - Software 2 07-14-2004 01:51 PM


All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration