Wednesday, January 21, 2009

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

No comments: