Hi,
I am trying to start services on system reboot on AIX.
Have put the S* links under rd2.d & K* links under other rc*.d
At the moment, all scripts are getting called.
However, the services aren't coming up.
Where can i find the logs for these to check what failed.
vbe
September 2, 2009, 11:32am
2
level 0 and 1 are reserved under AIX, so put K*** and S*** in rc2.d, or change default init level to 3 and put all S in 3 and K in 2...
Yes,
The start scripts are in rc2.d
I could see they are getting called as in inittab entry i have redirected the output to a log.
The log says everythings is successfull but still the service isn't coming up.
What are the options of debugging?
Thanks
zxmaus
September 4, 2009, 3:05am
4
Hi,
are your scripts working flawless when you execute them manually? Do they really start what you need. Do they expect anything special to be up already that is maybe not started at the time they are called?
Kind regards
zxmaus
The scripts are independent and don't have any dependencies.
Manually running them works like a charm.
vbe
September 4, 2009, 4:29am
6
Do you su to a parcticular account in your script?
Nope
It can be run via any user.
vbe
September 4, 2009, 5:16am
8
You havent forgot a nohup anywhere?
The utility through which the db is started takes care of the nohup.
I can test it, as if i start the process and log off, i could see the process running on relogin.