cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error 801 when executing external command on

RajeevP
Product and Topic Expert
Product and Topic Expert
0 Likes
5,345

Hello,

I have installed CCMS agents and CCMS ping in my system yesterday. And activated the CPH BGD jobs for SL reporting purpse. Now I am getting an error "Error 801 when executing external command on" under class LC 2. I am not able to find any relevant note or help for this error. Any idea why this happens? How can I solve this? The details as follows:

EXTERNAL COMMAND: rc = Error 801

SXPG_COMMAND_EXECUTE(LONG):

<timestamp>: 20100310144206

COMMANDNAME: PING

ADDITIONAL_PARAMETERS: s-sapcae

LONG_PARAMS:

OPERATINGSYSTEM: AIX

TARGETSYSTEM: sapasmc1

DESTINATION:

SY-SUBRC: 801

Regards,

Rajeev

View Entire Topic
JPReyes
Active Contributor
0 Likes

check dev_cp and dev_xpg for errors and post them here

Regards

Juan

RajeevP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I checked that. There is no error mentioned in both the logs.. This error is coming in SM21 every 5 min. Dont know how to proceed. Please suggest.

Rajeev

JPReyes
Active Contributor
0 Likes

COMMANDNAME: PING

ADDITIONAL_PARAMETERS: s-sapcae

Seems like a ping command cannot be executed or the target is wrong... can you verify?

Regards

Juan

RajeevP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I checked that ping command from SM49 and selected the target as sapasmc1. But when I execute it fails with exit code 1. To get the details, I executed it as BGD job and the error is as follows:

"External command: PING

Related parameter:

Ext. prog.: usage: ping [-dDLnqrRv] [-a address_family] [-c count] [-w timeout]

Ext. prog.: #[-f -i wait] [-I a.b.c.d] [-l preload] [-o interface]

Ext. prog.: #[-p pattern] [-s packet_size] [-S IPv6_hostname_or_address]

Ext. prog.: #[-T ttl] host [data size] [npackets]

Ext. prog.: External program terminated with exit code 1

Ext. prog.: SAPXPG started on sapasmc1_ASM_00, Process ID 659520, Process Number 20

External program was cancelled"

Any idea?

Rajeev

RajeevP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I could see that this error comes when a batch job 'CCMS_HOSTPING_BATCH_EXECUTION' gets executed. This has the frequence 5 min and this job finishes without any error!!!

Rajeev

RajeevP
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I have activated the trace level to 3 and now I get some messages in dev_cp which is as follows:

Trace file of control program (trace level 3)

< Function: BtcTrcInit> Function: main SAPXPG 720

2010-03-11 08-52-09 : Before BtcXpgDetach

> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system

2010-03-11 08-52-09 : Before RfcAccept

2010-03-11 08-52-09 : RfcAccept returned OK

Begin of check_if_security_list

security check switched OFF

End of check_if_security_list

Begin of check_trace_option

End of check_trace_option

Install RFC call SAPXPG_START_XPG

Install RFC call SAPXPG_START_XPG_LONG

Install RFC call SAPXPG_END_XPG

Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG

2010-03-11 08-52-09 : Before first call of RFCDispatch

Security: rfcexec_logon_check

rfcexec_logon_check: logon_user = TT4WNUC

sapxpg_logon_check: rfc_attr.user = TT4WNUC

rfcexec_logon_check: client = 100

2010-03-11 08-52-09 : After first call of RFCDispatch

2010-03-11 08-52-09 : Before call of RfcClose (sequencing error)

2010-03-11 08-52-09 : After call of RfcClose (sequencing error)

< Function: main

2010-03-11 08-52-09 : End of SAPXPG: main

I think the issue is with the user TT4WNUC. Could you please let me know from where I can change this user?

Rajeev

Former Member
0 Likes

Hello,

we have the same issue on our SolMan. We have debugged the program CSM_RUN_HOSTPING_AS_BATCH within the job CCMS_HOSTPING_BATCH_EXECUTION. We've found out that problem is in the external command PING defined in SM69 where is specified parameter 'Operating system' with value 'ANYOS', but the program of the job delivers the value 'Linux', which is our platform.

The 'Note 536535 - RZ20: External command as autoreaction' recommends to create a customer copy of the ext. command and 'DO NOT use ANYOS, but define the command for the different operating systems of your central CCMS'.

The original ext. command PING isn't modifiable on the system but I don't know how to amend the job to call either the customer ext. command or changed the value 'ANYOS' instead 'Linux' of the param. 'Operating system' when calling the ext. program from the job resp. program CSM_RUN_HOSTPING_AS_BATCH. We are investigating it at the moment.

Regards

Jan

Former Member
0 Likes

Hi

Has anyone managed to solve this error? I am getting the same error whether I am trying to ping AIX or Linux system (the job runs on a Linux system but must ping AIX systems)

Any assistance would be much appreciated!

Thanks

Leigh