The system encountered an unexpected error. Record the error code and go to the EMC Online Support website for all your support options. (Error Code:0x1000002)
When I execute given command directly on console it gives valid output. But when I execute through GO language gives above error. What is the problem and how can I resolve this. Kindly help me on this.
I had the same issue calling uemcli.sh from bash script from icinga monitoring. It works from shell, but not from app. Apparently icinga/nagios do not pass home dir and user in shell environment when calling scripts.
Likely you have the same problem with your environment?
I added this to export the relevant user environment from my bash script, before calling uemcli.sh.
maniemc
169 Posts
4474
1
Posted March 17th, 2017 16:00
Most likely, it is not passing the environments/arguments correctly via GO.
See if you can echo the eval statement and compare the diff when running directly.