Re: golden gate monitoring script
Posted by ErmanArslansOracleBlog on Nov 17, 2019; 6:43pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/golden-gate-monitoring-script-tp7831p7853.html
Your sendmail works fine and you tested it? So you can send emails from Solaris and your script runs fines?So your submit.cf and sendmail.cf files are configured properly?
This is an easy script. It finds and sets its environment variables, execute ggsci commands and lastly checks the log and decides if there is a need for an email or not.
As the logic is easy, the debugging should be easy too..
If your script runs fine, then please debug it.
Check that log file your commands populate.. Does that log contains the problematic entry after the execution?
Use print/echo commands in the critical sections (between the lines which take real actions) of your script.. Especially the suspicious ones.. Try to see if the commands in those lines are executed or not.. Try to see the path that the script follows during that exection, concantrate on them, point out the problem and fix :)
It is not an efficient method to get a comment on this kind of an issue remotely. It is more of a hands-on work.. but ofcourse, still I m trying to help you.