Testing Host Credentials in EM Grid Control 11g fails with ERROR: Execution failed due to binary missing or permission issues

(Doc ID 1294136.1)

Last updated on AUGUST 25, 2017

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.

Symptoms

Trying to set Host Preferred Credentials for a 11.1.0.1 Grid Control agent in SLES10 64. Testing the Preferred Host Credentials fails.

emoms.trc file in OMS machine contains the following lines:

2011-01-21 12:49:00,334 [320::EMUI_12_49_01_/console/pref/setCredentials$targetType=host] DEBUG emSDK.comm printXml.4299 - <EMDRequest><RemoteOperationReq USERNAME="user1" PASSWORD="********" CONVERT_INPUT="TRUE" CONVERT_OUTPUT="TRUE">
<RemoteOperationCommand COMMAND="%perlbin%/perl">
<RemoteOperationArgument ARG="-"/>
<RemoteOperationArgument ARG="user1"/>
<RemoteOperationInput>(9 bytes suppressed)</RemoteOperationInput>
</RemoteOperationCommand>
</RemoteOperationReq>
</EMDRequest>

2011-01-21 12:49:00,380 [320::EMUI_12_49_01_/console/pref/setCredentials$targetType=host] DEBUG emSDK.comm printXml.4299 - <EMDResponse>

<RemoteOperationRes>
<RemoteOperationError ERRMSG="ERROR: Execution failed due to binary missing or permission issues" ERRID="65"/>
</RemoteOperationRes>
</EMDResponse>

 
Connected to the host for which you want to set the Preferred Credentials:

The Grid Control Agent file $ORACLE_HOME/sysman/log/emagent.nohup contains the following lines:

Request TS: 2011-01-21 12:49:00
Thread - 1086339392
<EMDRequest>
<RemoteOperationReq USERNAME="user1" PASSWORD="********" CONVERT_OUTPUT="TRUE" CONVERT_INPUT="TRUE">
<RemoteOperationCommand COMMAND="%perlbin%/perl">
<RemoteOperationArgument ARG="-"/>
<RemoteOperationArgument ARG="user1"/>
<RemoteOperationInput>(9 bytes suppressed)</RemoteOperationInput>
</RemoteOperationCommand>
</RemoteOperationReq>
</EMDRequest>
Response TS: 2011-01-21 12:49:00
Thread - 1086339392
<EMDResponse>
<RemoteOperationRes>
<RemoteOperationError ERRMSG="ERROR: Execution failed due to binary missing or permission issues" ERRID="65"/>
</RemoteOperationRes>
</EMDResponse>

 

If you enable the DEBUG tracing level for the Grid Control Agent (See the <Document 565414.1 > - Troubleshooting Host Credentials Issues in Grid Control Console),

The Grid Control Agent file $ORACLE_HOME/sysman/log/emagent.trc contains the following lines:
2011-01-21 12:49:00,361 Thread-1086339392 INFO Authentication: Default nmo binary has setuid permissions
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c: argv =
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c: 0: /app/oracle/oempa_11.1.0.1/agent11g/perl/bin/perl
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c: 1: -
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c: 2: user1
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c :_adjustArgsForPDP args[0] = /app/oracle/oempa_11.1.0.1/agent11g/perl/bin/perl
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c :_adjustArgsForPDP args[1] = -
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap.c :_adjustArgsForPDP args[2] = user1
2011-01-21 12:49:00,361 Thread-1086339392 DEBUG Authentication: nmejcap_Process_remote_new: nmejcap: Local process
2011-01-21 12:49:00,370 Thread-1086339392 DEBUG Authentication: nmejcap_Process_run : PROCESS_TYPE (LOCAL_RUN) RETURN_FROM_PROCESS_RUN (0)
2011-01-21 12:49:00,370 Thread-1086339392 DEBUG Authentication: nmejcap: (PDP-auth) Exiting nmejcap_Process_PDP_Authenticate.
2011-01-21 12:49:00,379 Thread-1086339392 DEBUG Authentication: nmejcap.c: ret=-10, buf=''
2011-01-21 12:49:00,379 Thread-1086339392 DEBUG Authentication: nmejcap: read error 10 from process
2011-01-21 12:49:00,379 Thread-1086339392 DEBUG Dispatcher: nmemdisp_Dispatcher_endActivity: End Activity RemoteOperationReq

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms