cancel
Showing results for 
Search instead for 
Did you mean: 

Fail SXPG_COMMAND_EXECUTE para BRCONNECT - program_start_error

Former Member
0 Kudos

Hi,

I have a issue with jobs in DBA Planning.

In all task i get the error

Ha fallado SXPG_COMMAND_EXECUTE para BRCONNECT - Causa: program_start_error: ViewSYSLOG

DEV_RD

R3ALLC: wait for connect

GwListInsert: insert elem 36 into conn_search_list (at begin)

GwListInsert: 1 elems in conn_search_list

GwICheckSecInfo: check tp=sapxpg, user=ADMIN , host=*, addr=10.4.33.64

GwICheckSecInfo: check entry tp=, lu=

GwICheckSecInfo: entry found, finish search, access=PERMIT

GwISendConnReq: CONV: >78811344<

NiHsLGetHostName: found address 10.4.33.64 in cache

NiIGetHostName: addr 10.4.33.64 = hostname 'pbmdeaqbds01'

GwISendConnReq: LU: >pbmdeaqbds01<

GwIRemoteShell: start programm sapxpg on host pbmdeaqbds01 (/usr/bin/ssh)

PRNG is not seeded

GwStartProgram: started /usr/bin/ssh, pid=1101996

: /usr/bin/ssh

: pbmdeaqbds01

: sapxpg

: pbmdeaqcib01

: sapgw01

: 78811344

: GWHOST=pbmdeaqcib01

: GWSERV=sapgw01

: CONVID=78811344

: pf=/usr/sap/BQ1/SYS/profile/BQ1_DVEBMGS01_pbmdeaqcib01

: CPIC_TRACE=2

: IDX=36

: SNC_MODE=0

GwReadReqIndex: (process_id: -1)

GwReadReqIndex: no filled request-index-block

child (pid=1101996) exited with exit code 255

DEV_Wx

Mon Apr 25 14:42:47 2011

*****************************************************************************

*

  • LOCATION SAP-Gateway on host pbmdeaqcib01 / sapgw01

  • ERROR timeout during allocate

*

  • TIME Mon Apr 25 14:42:47 2011

  • RELEASE 701

M * COMPONENT SAP-Gateway

M * VERSION 2

M * RC 242

M * MODULE gwr3cpic.c

M * LINE 2066

M * DETAIL no connect of TP sapxpg from host pbmdeaqbds01 after 20 sec

M * COUNTER 1520

M *

M *****************************************************************************

M

A RFC 1485 CONVID 74789811

A * CMRC=27 DATA=0 STATUS=0 SAPRC=242 ThSAPOCMINIT

A RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)

A RFC> User: ADMIN (Client: 300)

A RFC> Destination: SAPXPG_DBDEST_PBMDEAQBDS01 (handle: 2, , )

A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242

Timeout al intentar establecer una comunicación (¿ interlocutor ok ?)

A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242

Timeout al intentar establecer una comunicación (¿ interlocutor ok ?)

DEST =SAPXPG_DBDEST_PBMDEAQBDS01

HOST =pbmdeaqbds01

PROG =sapxpg

A TH VERBOSE LEVEL FULL

A ** RABAX: end RX_GET_MESSAGE

C

Dev_rfc

======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242

Timeout al intentar establecer una comunicación (¿ interlocutor ok ?)

ABAP Programm: RSRFCPIN (Transaction: SM59)

User: ADMIN (Client: 300)

Destination: SAPXPG_DBDEST_PBMDEAQBDS01 (handle: 2, , )

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242

Timeout al intentar establecer una comunicación (¿ interlocutor ok ?)

DEST =SAPXPG_DBDEST_PBMDEAQBDS01

HOST =10.4.33.64

PROG =sapxpg

The Database is in other host. The installation is distributed.

Any suggestion?

Many Thanks

William Neira

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Hola William,

Please post the error/contents of dev_cp and dev_xpg

Regards

Juan

Former Member
0 Kudos

Hi Juan

dev_xpg

Name: dev_xpg

Trace file of external program (trace level 3)

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

Process id: 553162

Parent process id: 663780

Rearrange StdErr to be collected in memory

Rearrange StdOut to be collected in memory

dev_cp

Directory: /usr/sap/BQ1/DVEBMGS01/work

Name: dev_cp

-


Trace file of control program (trace level 3)

< Function: BtcTrcInit> Function: main SAPXPG 720

2011-04-26--14-13-15 : Before BtcXpgDetach

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

2011-04-26--14-13-15 : Before RfcAccept

2011-04-26--14-13-15 : 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

2011-04-26--14-13-15 : Before first call of RFCDispatch

Security: rfcexec_logon_check

rfcexec_logon_check: logon_user = ADMIN

sapxpg_logon_check: rfc_attr.user = ADMIN

rfcexec_logon_check: client = 300

2011-04-26--14-13-15 : After first call of RFCDispatch

2011-04-26--14-13-15 : Before call of RfcClose (sequencing error)

2011-04-26--14-13-15 : After call of RfcClose (sequencing error)

< Function: main

2011-04-26--14-13-15 : End of SAPXPG: main

Many thanks

William Neira

JPReyes
Active Contributor
0 Kudos

Doesn't seem to be a problem with SAPXPG, I think your gateway is not populated properly in your RFC SAPXPG_DBDEST_PBMDEAQBDS01.

Can you double check that.

Regarads

Juan

Former Member
0 Kudos

Hi William,

Does the RFC connection work fine for this? That should be the first point of checking. Also check the work process trace for the same. Please post if you see any error in that as well.

Former Member
0 Kudos

Hi Juan

I explain in detail my issue.

I have a Database Server for two Aplication server QA, one is BI and other is ERP.

Three servers:

BI QAS:

ERP QAS:

Database Server: PBMDEAQBDS01

The RFC in ERP work fine, in BI don't work, and both is set equal.

In RFC the gateway is default in both systems. My question is, why RFC work in ERP and don't work in BI?

Regards

William Neira

JPReyes
Active Contributor
0 Kudos

As the error is a timeout it could be anything from problems in the host/services file to network/firewall issues.

Read and do the checks in SAP Note 581509 - Reasons for "timeout during allocate"

Regards

Juan

Former Member
0 Kudos

Hello William

So is this a MCOD?

I hope if the BI system is able to connect to the database on that host it may not be a host connectivity or network.

Kindly go to SMGW on BI system check on logged on clients in errored status.

Delete them and then restart gateway on BI once.

Try connection test then.

Regards

Vivek

Answers (2)

Answers (2)

Former Member
0 Kudos

Do you have a standalone gateway on DB?

Former Member
0 Kudos

yes, I have standalone gateway.

I try set background server but the customer don't accept that jobs be executed in DB server.

Many thanks for your help

Regards}

William Neira

Former Member
0 Kudos

Hi William,

I assume that you are sure about "SAPXPG_DBDEST_PBMDEAQBDS01" configuration on SM59.

You can dedicate DB13 jobs to the database server by the "DB13 --> Go to --> Backend Configuration --> Background Server" path. By doing so, all the DB13 jobs will be executed on the database server, but the other background jobs will not be affected from this configuration.

Best regards,

Orkun Gedik

Senior SAP Netweaver and Development Consultant

SAP Technical Architect