Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 03-31-2009, 07:37 PM   #1
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


- 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 07:38 PM.
Old 03-31-2009, 09:38 PM   #2
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
or use smitty...
Old 04-10-2009, 05:45 AM   #3
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


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 11:48 AM
why my ntop can't start using service ntop start command cmx08 Linux - Software 5 10-21-2008 10:52 PM
System logger & Kernel logger service start twice? quanta Fedora 0 12-07-2007 06:09 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
How do I start samba as a system service? tlawlessrr Linux - Software 2 07-14-2004 12:51 PM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:18 PM.

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