06-19-2014 04:50 AM
I have copied postonline script from /opt/VRTSvcs/bin/trigger/ directory and added the commands in the section (put your code). hatrigger is initaited by vcs but it is failed to execute the script.
hatrigger:Failed to execute /opt/VRTSvcs/bin/triggers/postonline w1es6008 mdmsg
Please guid me.
Solved! Go to Solution.
06-19-2014 05:40 AM
Run postonline from the command line to see if you get an error message - you need to pass arguments as specified in trigger script which are system and service group which I guess is "w1es6008 mdmsg" in your case so just run "/opt/VRTSvcs/bin/triggers/postonline w1es6008 mdmsg"
If you don't get any errors, then add lines of code at intervals to print out a messgae to the screen so you can work out where your code is going wrong.
Mike
06-19-2014 05:40 AM
Run postonline from the command line to see if you get an error message - you need to pass arguments as specified in trigger script which are system and service group which I guess is "w1es6008 mdmsg" in your case so just run "/opt/VRTSvcs/bin/triggers/postonline w1es6008 mdmsg"
If you don't get any errors, then add lines of code at intervals to print out a messgae to the screen so you can work out where your code is going wrong.
Mike
06-19-2014 06:15 AM
Hi Mike,
Thanks, I have mistakently un commented the line in postonline script.. Now I can able to execute it...
Vel