How to start daemons at the system startup in AIX servers

AIX 5.3

1. Create a rc.local file in /etc/
2. Apply proper permissions
a.    chown root:sys /etc/rc.local
b.    chmod 744 /etc/rc.local
3. Add an entry in /etc/inittab so whenever the server is rebooted the script will be started.
a. mkitab -i rcnfs "rclocal:2:wait:/etc/rc.local > /dev/console 2>&1"
4. add your services to rc.local
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 15073 times since Thu, Feb 21, 2019
AIX routing - How Do I Compare ODM with the Current Routing Table?
Viewed 2151 times since Mon, Jul 29, 2019
Mirroring session (TTY) on AIX using portmir
Viewed 8694 times since Thu, Feb 21, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 3139 times since Thu, Feb 21, 2019
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 2432 times since Tue, Jul 17, 2018
AIX, System Admin Configuring dsh DSH
Viewed 3501 times since Fri, Apr 19, 2019
This document discusses a new feature implemented for JFS2 filesystems to prevent simultaneous mounting.
Viewed 2480 times since Sat, Jun 1, 2019
Useful AIX general commands
Viewed 11076 times since Wed, Apr 17, 2019
n a perfect world....rootvg would always reside on hdisk0
Viewed 1930 times since Thu, Jun 6, 2019
Mount CD/DVD & ISO image in AIX 6.1
Viewed 3512 times since Tue, Jul 17, 2018