Autostartup Management Agents (10.2.0.5) using gcstartup
Posted by John Paul van Helvoort on March 30, 2009
When installing the new Enterprise Manager Grid Control (Agents) version 10.2.0.5. You might find yourself searching why agents automatically start on ever reboot. First you take out the oracle script under /etc/init.d or its symbolic links under rc?.d. But still it will startup automatically. Some research shows that the script “gcstartup” is called upon startup while running in runlevel 3 and 5. This script was already there in previous releases but never used automatically by refering to it from the runlevel rc3.d or rc5.d.
In 10.2.0.5 this is corrected by creating softlinks to the gcstartup script upon installing the agent while running root.sh.
If you take out these (symbolic) softlinks you are again in control of when and how the agents startup.
Background information on it
BUG 7414737
ROOT.SH SHOULD SOFTLINK RC3.D AND RC5.D FILES FOR AUTOSTART
Many other bugs are solved, here is the link.
Eter Pani said
Thank you very much.
I just want to add my bit of experience.
/etc/init.d/gcstartup calls for agents /install/unix/scripts/agentstup
in my case in the last script there was en error because the
sudo script was not in /usr/local/bin as it was defined but in /usr/bin
After fixing this path everything works absolutely fine.
John Paul van Helvoort said
Hi Eter,
Thanks for sharing your experience.
Regards,
John
Niradj said
I was having problems with the autostartup of my repository database, because the SID was being parsed incorrectly by the script, thanks to this article I was easily able to trace the error and fix it. Thank you!