Smarts ESM : While executing Telnet server tool, the script returns "ICS-E-ACTION_CMD_STATUS-Action 'ics-telnet.sh' failed with status '2'. What is the use of sm_xcmd ?
book
Article ID: 332001
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
Considering The SAM server is on Centos 6.6 or similar version, after executing the command dos2unix on the script.
Executing the tool from a console on Windows 7, the Xming is installed and launched successfully. But the script returns the error "ICS-E-ACTION_CMD_STATUS-Action 'ics-telnet.sh' failed with status '2'." While executing from Telnet server tool.
Environment
VMware Smart Assurance - SMARTS
Resolution
Usually there would be more to this error, for example:
ICS-E-XAPP_ERROR-Error: DISPLAY variable is set to 'xxx.xxx.xxx.xxx:0.0'.
As per the error snippet shared :
ICS-E-ACTION_CMD_STATUS-Action 'ics-telnet.sh' failed with status '2'.
As long as the display is set correctly and the x-win is working ,please try changing the following line in action/server/ics-telnet.sh :