cancel
Showing results for 
Search instead for 
Did you mean: 

sxpg_command_execute failed for BRTOOLS- Reason: program_start_error

Former Member
0 Kudos

Hi experts,

1. In db14, under BRBACKUP, when click on 'detail log', we are facing below error:

sxpg_command_execute failed for BRTOOLS- Reason: program_start_error: for more information, see SYS

2. When we checked RFC connection SAPXPG_DBDEST_< DB HOST>, It's showing connection failed with below error:

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: timeout during allocate

Error Details LOCATION: SAP-Gateway on host <host name> / sapgw<instance no>

Error Details DETAIL: no connect of TP sapxpg from host <DB HOST> after 20 sec

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 114124

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1973

Error Details RETURN CODE: 242

Error Details SUBRC: 0

Error Details RELEASE: 701

3. We have maintained profile parameter SAPDBHOST under default.pfl in RZ10

4. we are using BRTOOLS 7.00

Please help !!!!!!!!!!!!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Team,

1.we have configured RFC connection succesfully. Please find details:

SAPXPG_DBDEST_<physical db host name>

Previous:  Activation Type-> start on explicit type

Correction: Activation Type-> start on application server

Previous:  Gateway host: <physical db host name>(as per sap note 980266,under 'solution' tab point 2)

Correction: Gateway host: <host name of productionserver>

SAPXPG_DBDEST_<virtual db host name>

Previous:  Activation Type-> start on explicit type

Correction: Activation Type-> start on application server

Previous:  Gateway host: <physical db host name> (as per sap note 980266,under 'solution' tab point 2)

Correction: Gateway host:  <host name of production server>

2.Update BRTOOLS

3.Change permission as per SAP NOTE 113747(point 4& 5)

Answers (1)

Answers (1)

Former Member
0 Kudos

Goto sm59 --> TCP/IP Connections --> Check the RFC SAPXPG_DBDEST_<HOSTNAME> . It must be failing. Check the hostname and put the correct hostname. And check again.

Former Member
0 Kudos

Goto sm59 --> TCP/IP Connections --> Check the RFC SAPXPG_DBDEST_<HOSTNAME> . It must be failing. Check the hostname and put the correct hostname. And check again.

Hi,

Thanks for prompt reply.

You mean hostname or db host name

Former Member
0 Kudos

Goto sm59 --> TCP/IP Connections --> Check the RFC SAPXPG_DBDEST_<HOSTNAME> . It must be failing. Check the hostname and put the correct hostname. And check again.

hi,

Excerpts from dev_cp:

Trace file of control program (trace level 3)

< Function: BtcTrcInit> Function: main SAPXPG 700

2012-03-09--23-25-25 : Before BtcXpgDetach

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

2012-03-09--23-25-25 : Before RfcAccept

2012-03-09--23-25-25 : RfcAccept returned OK

security check switched OFF

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

2012-03-09--23-25-25 : Before first call of RFCDispatch

> Function: BtcXpgStartXpgLong

2012-03-09--23-25-25 : Beginning of BtcXpgStartXpgLong

> Function: BtcXpgStartXpgImportLong > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgStartXpgImportLong

BtcXpgStartXpgLong: special_trace_flag = <6>

> Function: BtcXpgStartXpgInt > Function: BtcXpgItTransfer Content of source log table:

Line Text

<No StdOut/StdErr output reported>

Target log table is not identical to source

ItGetLine terminated with NULL

< Function: BtcXpgItTransfer > Function: BtcTrcReset < Function: BtcTrcReset Call mode: VIA RFC

Input arguments of BtcXpgStartXpg:

External program: scp

tracecntl = : 6

Display of Parameter string switched off !!

Contents of control flags:

StdIn control flag: redirect StdIn

StdOut control flag: store StdOut output in memory

StdErr control flag: store StdErr output in memory

Trace control flag: unknown contents

Termination control flag: control program will wait for termination

> Function: BtcXpgCheck > Function: BtcXpgArgv

parameter number 1:

parameter number 2:

parameter number 3:

parameter number 4:

Total number of arguments scanned: 4

Argument argv[0]: scp

< Function: BtcXpgArgv < Function: BtcXpgCheck > Function: BtcXpgSigInst set signal handler for SIGCHLD to SIG_DFL

old signal handler for SIGCHLD: SIG_DFL

< Function: BtcXpgSigInst > Function: BtcXpgStart Process id: 32129

Parent process id: 28446

< Function: BtcXpgStart Start status of external program: external program successfully started

Id of external process: 0000032130

StdOut/StdErr collected in memory

> Function: <No StdOut/StdErr output reported>

< Function: BtcXpgStartXpgInt > Function: BtcXpgStartXpgExport > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam < Function: BtcXpgStartXpgExport

2012-03-09--23-25-25 : End of BtcXpgStartXpgLong

< Function: BtcXpgStartXpgLong

2012-03-09--23-25-25 : After first call of RFCDispatch

Wait for RFC call SAPXPG_END_XPG

Excerpts from dev_xpg

Trace file of external program (trace level 3)

< Function: BtcTrcInit> Function: BtcXpgStart External program: scp

Process id: 32130

Parent process id: 32129

Rearrange StdErr to be collected in memory

Rearrange StdOut to be collected in memory