cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with SAPXPG after upgrade to kernel 721

Former Member
0 Kudos

Hi everyone

I just applied SPS 12 + Kernel 721 to SAP 7.31 instance. Since then, DB13 jobs are failing with the following error:

SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS

Job cancelled after system exception ERROR_MESSAGE

The same issue happened on 2 other instances afeter the upgrade. Did anoyone had a similar issue before?

Here's our architecture:

* SAP running on AIX with DB + app server

* No gateway installed, but I configured SAPXPG_DBDEST_HOSTNAME. This RFC used to work fine before the kernel upgrade (not sure if related or not)

* RFC test give the following error:

Logon Connection Error

Error Details Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=2

Error Details ERROR: timeout during allocate

Error Details LOCATION: SAP-Gateway on host app_hostname / sapgwxx

Error Details DETAIL: no connect of TP sapxpg from host db_hostname after 20 sec

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 1960

Error Details MODULE: gwr3cpic.c

Error Details LINE: 2164

Error Details RETURN CODE: 242

Error Details SUBRC: 0

Error Details RELEASE: 721

Error Details TIME: Tue Aug  5 11:54:16 2014

Error Details VERSION: 2

dev_rfc

=========

**** Trace file opened at 20140805 115416 EDT, by disp+work

**** Versions SAP-REL 721,0,300 RFC-VER U 3 1498751 MT-SL

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

Timeout during connection setup. Please check partner availability

ABAP Programm: RSRFCPIN (Transaction: SM59)

User: USER (Client: NNN)

Destination: SAPXPG_DBDEST_DBHOST (Handle: 2, DtConId: 53DD532F2B422090E10080000A441E26, DtConCnt: 0, ConvId: ,)

EPP RootContextId: 53DFCD839FB72120E10080000A441E26, ConnectionId: 00000000000000000000000000000000, ConnectionCnt: 0

EPP TransactionId: 53DD532C2B422090E10080000A441E26

Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1730

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

Timeout during connection setup. Please check partner availability

DEST =SAPXPG_DBDEST_DBHOST

HOST =xxx.xxx.xxx.xxx

PROG =sapxpg

dev_wxx
========
M Tue Aug  5 11:54:16 2014
M
M  *****************************************************************************
M  *
M  *  LOCATION    SAP-Gateway on host app_hostname / sapgwxx
M  *  ERROR       timeout during allocate
M  *
M  *  TIME        Tue Aug  5 11:54:16 2014
M  *  RELEASE     721
M  *  COMPONENT   SAP-Gateway
M  *  VERSION     2
M  *  RC          242
M  *  MODULE      gwr3cpic.c
M  *  LINE        2164
M  *  DETAIL      no connect of TP sapxpg from host db_hostname after 20 sec
M  *  COUNTER     1960
M  *
M  *****************************************************************************
M
A  RFC 1714  CONVID 89470994
A   * CMRC=27 DATA=0 STATUS=0 SAPRC=242 ThSAPOCMINIT
A  RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)
A  RFC> User: USER (Client: NNN)
A  RFC> Destination: SAPXPG_DBDEST_DBHOST (handle: 2, DtConId: 53DD532F2B422090E10080000A441E26, DtConCnt: 0, ConvId: ,)
A  *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242
Timeout during connection setup. Please check partner availability
[abrfcio.c    9199]
A  {root-id=53DFCD839FB72120E10080000A441E26}_{conn-id=00000000000000000000000000000000}_0

A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1730
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=27 thRc=242
Timeout during connection setup. Please check partner availability
DEST =SAPXPG_DBDEST_DBHOST
HOST =xxx.xxx.xxx.xxx
PROG =sapxpg
[abrfcio.c    9199]
A  {root-id=53DFCD839FB72120E10080000A441E26}_{conn-id=00000000000000000000000000000000}_0

A  TH VERBOSE LEVEL FULL
A  ** RABAX: end RX_GET_MESSAGE

Accepted Solutions (1)

Accepted Solutions (1)

divyanshu_srivastava3
Active Contributor

This message was moderated.

divyanshu_srivastava3
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

Divyanshu

Thank for your reply. I went through these messages before and non of them helped. I am ussing ssh in our environment and it is configured properly for <sdi>adm to login without password. Also, as I mentioned, it was working fine just before the upgrade. In fact, the instances that are not upgraded yet are also working fine.

As per .rhosts, I cannot use that in our environment.


divyanshu_srivastava3
Active Contributor
0 Kudos

Can you go to your kernel directory and search for this file sapxpg.

Compare this with your old kernel. And if not working, replace this in new kernel with old one.

Also set, gw/acl_mode = 0 in instance profile.

Share dev_cp and dev_rfc logs.

divyanshu_srivastava3
Active Contributor
0 Kudos
Former Member
0 Kudos

Yep, gateway ACL is set to 0.

I also went through the following oss notes, but still did not help:

980266

446172

583759

1914589

Thanks

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Nader,

Please share job failure logs.

Also, did you check the kernel as asked and permissions for the new files ?

Replace old sapxpg for the meanwhile from old kernel so that we can find the actual cause of this issue.

Divyanshu

Former Member
0 Kudos

Here's the log

Job started

Step 001 started (program RSDBAJOB, variant &0000000000090, user ID BASIS)

Execute logical command BRCONNECT On host axddasappia

Parameters: -jid CHECK20140805105434 -u / -c -f check

SXPG_STEP_XPG_START: is_local_host: rc = 403

SXPG_STEP_XPG_START: host = axddasappia

SXPG_STEP_XPG_START: is_local_r3_host: rc = 802

SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN: rc = 1003

SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003

SXPG_COMMAND_EXECUTE(LONG)

<timestamp> = 20140805105503

COMMANDNAME = BRCONNECT

ADDITIONAL_PARAMETERS = -jid CHECK20140805105434 -u / -c -f check

LONG_PARAMS

OPERATINGSYSTEM = ANYOS

TARGETSYSTEM = axddasappia

DESTINATION

SY-SUBRC = 1003

SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS

Job cancelled after system exception ERROR_MESSAGE

I checked the permission and they are fine.

I replaced sapxpg with the old one and it works now. Thanks for the assistance.

divyanshu_srivastava3
Active Contributor
0 Kudos

Good that is working with old.

Please upload dev_rd, cp and rfc logs for new sapxpg.

Sriram2009
Active Contributor
0 Kudos

Hi

Have you check the SAP note 1713986 - Installation of kernel 721 (EXT) for Oralce DB?

BR

SS

Former Member
0 Kudos

Yes, I did check this OSS note. As I mentioned, the issue is resolved after I reverted sapxpg to an older one.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Nader,

If you think the issue is resolved you can mark helpful and correct answers, and close this thread.

Otherwise, lets check more in this. Please share those logs requested on my last post.

So that we can get a another start point to troubleshoot this issue

Divyanshu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,


I just applied SPS 12 + Kernel 721 to SAP 7.31 instance

What was your old kernel release, 720 or 721?

Regards,

Nick Loy

Former Member
0 Kudos

Old kernel 720

Sriram2009
Active Contributor
0 Kudos

Hi

If possible do the full restart and then check the backup

BR

SS