SUMMARY:
This Technical note addresses an issue when trying to execute Enterprise Manager related scripts through Command Manager on a Linux machine in Strategy.
SYMPTOM:
When executing the “Start Monitoring” Enterprise Manager script through Command Manager on Linux, the following error occurs:

“Error Code:-2147154915 Error while adding the environment. 'Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: <IP ADDRESS>; nested exception is: java.net.NoRouteToHostException: No route to host]'”
START MONITORING SERVER “<I-Server_machine_name>” IN PORT <port_number> USING USERNAME “<username>” PASSWORD “<password>” FOR ENTERPRISE MANAGER “<em_machine>” IN PORT <em_port>;
“Error Code:-2147154915 Error while adding the environment. 'Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: <IP ADDRESS>; nested exception is: java.net.NoRouteToHostException: No route to host]'”