Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

services start automatically in AIX

132 views
Skip to first unread message

Imad

unread,
Jun 13, 2009, 1:26:30 AM6/13/09
to
Hi,

I'm a newbie in AIX 5.3 and I'm working to define the services that
start automatically after a reboot.

In RedHat, we can look in /etc/rc.d/rc5.d or /etc/rc.local or /etc/
inittab by example for level 5.

But in AIX, I checked the content of /etc/rc.d/rc5.d and there are
nothing there.
I checked /etc/inittab and /etc/rc.local and I did not find the
service that I'm looking for.

Is there a way to detect the path or tool where the services are
started automatically?

Thanks,

Imad

Uli Link

unread,
Jun 13, 2009, 3:55:17 AM6/13/09
to
Imad schrieb:

man mkssys

look into /etc/rc.tcpip for an example how daemons are started the AIX way.

--
ULi

steven_nospam at Yahoo! Canada

unread,
Jun 15, 2009, 3:24:57 PM6/15/09
to

Not sure if this is exactly what you are looking for, but you can also
try:

lsitab -a
# Lists the initial processes that are to start. Usually find qdaemon
and/or lpd in there


cat /etc/inetd.conf
# Shows what services are possible to use on the server
# example: tftp and finger are usually commented out

Karthikeyan

unread,
Jun 17, 2009, 1:39:47 AM6/17/09
to

Hi Imad,

You need to add your service in inittab file
you need to follow the format.

ID;runlevel;action;command

casey b

unread,
Jun 17, 2009, 9:06:22 AM6/17/09
to
It appears Imad is looking for a service that is already defined.

(Probably to stop it for security hardening)

Steve and Uli have already given the two most common
spots to look for services starting in AIX:

/etc/rc* and /etc/inetd.conf

If you can't find the service you are looking for,
you should be more specific to the group.

Somebody here probably already knows where it is started.

Hope this helps,
Casey

0 new messages