cancel
Showing results for 
Search instead for 
Did you mean: 

SAP instance and oracle on same host

Former Member
0 Kudos

Hi all

I install SAP ERP 6.0 Central Instance and DB Oracle 11.2 on same host.

SID  and DBSID names are the same.

When i try strating backup i have SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: program_start_error

In sm59 when i execute Connection test SAPXPG_DBDEST_A01

Logon    Cancel

Error Details    timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur

Error Details    ERROR: timeout during allocate

Error Details    LOCATION: SAP-Gateway on host srv1.A01.domain.com / sapgw00

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

Error Details    COMPONENT: SAP-Gateway

Error Details    COUNTER: 10

Error Details    MODULE: gwr3cpic.c

Error Details    LINE: 6166

Error Details    RETURN CODE: 242

Error Details    SUBRC: 0

Error Details    RELEASE: 720

Error Details    TIME: Tue Jan 01 20:31:12 2013

Error Details    VERSION: 2

SAPXPG_DBDEST_SRV1:

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 srv1.A01.domain.com / sapgw00

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

Error Details    COMPONENT: SAP-Gateway

Error Details    COUNTER: 12

Error Details    MODULE: gwr3cpic.c

Error Details    LINE: 1981

Error Details    RETURN CODE: 242

Error Details    SUBRC: 0

Error Details    RELEASE: 720

Error Details    TIME: Tue Jan 01 20:35:41 2013

Error Details    VERSION: 2

I need install and configure SAP gateway or I can fix the error without install and configure SAP gateway?

Accepted Solutions (0)

Answers (3)

Answers (3)

Reagan
Advisor
Advisor
0 Kudos

Hello

Check this discussion and also the SAP notes mentioned there.

http://scn.sap.com/thread/3323179

Good Luck

RB

Former Member
0 Kudos

thanks for help

former_member206552
Active Contributor
0 Kudos

hi

Goto SM59 and check RFC

SAPXPG_DBDEST_<DBHOSTNAME>

  

is working or not.

Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13

best regards

marius

Former Member
0 Kudos

SM59 connection test not working.

I am posted log:

when i execute Connection test SAPXPG_DBDEST_A01

Logon    Cancel

Error Details    timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur

Error Details    ERROR: timeout during allocate

Error Details    LOCATION: SAP-Gateway on host srv1.A01.domain.com / sapgw00

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

Error Details    COMPONENT: SAP-Gateway

Error Details    COUNTER: 10

Error Details    MODULE: gwr3cpic.c

Error Details    LINE: 6166

Error Details    RETURN CODE: 242

Error Details    SUBRC: 0

Error Details    RELEASE: 720

Error Details    TIME: Tue Jan 01 20:31:12 2013

Error Details    VERSION: 2

SAPXPG_DBDEST_SRV1:

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 srv1.A01.domain.com / sapgw00

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

Error Details    COMPONENT: SAP-Gateway

Error Details    COUNTER: 12

Error Details    MODULE: gwr3cpic.c

Error Details    LINE: 1981

Error Details    RETURN CODE: 242

Error Details    SUBRC: 0

Error Details    RELEASE: 720

Error Details    TIME: Tue Jan 01 20:35:41 2013

Error Details    VERSION: 2

Former Member
0 Kudos

maybe problem with what SID and DBSID are the same?

former_member206552
Active Contributor
0 Kudos

did you have a look at

Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13

what operating system are you using ?

do you have an entry in the /etc/services

sapmsSID        36##/tcp      # SAP System Message Server Port

Former Member
0 Kudos

OS: Windows 2008 R2

in services i have this entries

Yes i read this note

I try solutions from this note:

Add SAPDBHOST value in profile

Add gw/acl_mode "0" in profile

but its not help me(((

Former Member
0 Kudos

Job log:

Job started

Step 001 started (program RSDBAJOB, variant &0000000000006, user ID ADM)

Execute logical command BRBACKUP On host srv1

Parameters:-u / -jid ALLOG20130101182925 -c force -t online -m all -p inita01.sap -a -c force -p inita01.sap -c

ds

External communication error at program start (see system log)

SAPXPG_START_XPG_LONG: sy-subrc ne 0

destination = %_TCPIP_%1

number of retries =  1

SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.006

SXPG_COMMAND_EXECUTE(LONG)

<timestamp> = 20130101183009

COMMANDNAME = BRBACKUP

ADDITIONAL_PARAMETERS =

-u / -jid ALLOG20130101182925 -c force -t online -

m all -p inita01.sap -a -c force -p inita01.sap -c

ds

LONG_PARAMS

OPERATINGSYSTEM = ANYOS

TARGETSYSTEM = srv1

DESTINATION

SY-SUBRC =  902

SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: x_error

Job cancelled after system exception ERROR_MESSAGE

former_member188883
Active Contributor
0 Kudos

Hi,

Could you check this SAP Note 583759 - R/3 error when you start jobs from DB13

Regards,

Deepak Kori

former_member206552
Active Contributor
0 Kudos

running brtools from command line works ?

also check that SAPSERVICE(SID) is part of the administrator group

Former Member
0 Kudos

I perform online backup through brtools from command line without errors.

Yes user SAPServiceA01 Member Of:

ORA_A01_DBA

ORA_A01_OPER

Backup Operators

SAP_LocalAdmin

SAP_A01_GlobalAdmin

SAP_A01_LocalAdmin

Users

former_member206552
Active Contributor
0 Kudos

hi

please check dev_cp and dev_xpg and post errors in here

best regards

marius

Former Member
0 Kudos

dev_cp :

Trace file of control program (trace level 3)

< Function: BtcTrcInit> Function: main  SAPXPG 720

2013-01-02  14-17-16 : Before RfcAccept

2013-01-02  14-17-37 : RfcAccept returned RFC_HANDLE_NULL

  > Function: BtcXpgRfcFailure    > Function: BtcXpgPanic      Output of external command not writt

    < Function: BtcXpgLog

  < Function: BtcXpgPanic< Function: BtcXpgRfcFailure

I dont show in ST11 dev_xpg trace log . Maybe need activating this trace? Sorry i dont know how activating dev_xpg trace ((

former_member206552
Active Contributor
0 Kudos

it should be under

/usr/sap/SID/DVEBMGS##/work

former_member188883
Active Contributor
0 Kudos

Hi ,

Could you apply latest SAP kernel for 720 release . Download latest sapxpg files as well.

Regards,

Deepak Kori

Former Member
0 Kudos

i dont have dev_xpg file in /usr/sap/SID/DVEBMGS##/work

When i start C:\Users\a01adm>brconnect -u / -c -f check

i have :

BR0801I BRCONNECT 7.20 (17)

BR0805I Start of BRCONNECT processing: cekfwxli.chk 2013-01-02 14.04.18

BR0484I BRCONNECT log file: D:\oracle\A01\sapcheck\cekfwxli.chk

BR0477I Oracle pfile D:\oracle\A01\11203\database\initSA01.ora created from spfil

e D:\oracle\A01\11203\database\spfileA01.ora

BR0280I BRCONNECT time stamp: 2013-01-02 14.04.19

BR0813I Schema owners found in database A01: APPQOSSYS, DBSNMP, DIP, OPS$SRV1\

A01ADM, OPS$SRV1\SAPSERVICEA01, ORACLE_OCM, OUTLN, SAPSR3*, SYS, SYSTEM

BR0280I BRCONNECT time stamp: 2013-01-02 14.04.19

BR0301E SQL error -1466 at location BrRsnspaceRead-2, SQL statement:

'OPEN curs_101 CURSOR FOR stmt_13'

'SELECT NAMESPACE, NSPACEGEN FROM "SAPSR3".RSNSPACE WHERE ACTIVE = 'X' ORDER BY

NAMESPACE'

ORA-01466: unable to read data - table definition has changed

BR0806I End of BRCONNECT processing: cekfwxli.chk 2013-01-02 14.04.19

BR0280I BRCONNECT time stamp: 2013-01-02 14.04.19

BR0804I BRCONNECT terminated with errors

Former Member
0 Kudos

Ok try to apply patch hope its help me

former_member188883
Active Contributor
0 Kudos

Hi,

Is this host name correct srv1.A01.domain.com .

If not, try to correct this and check.

As DB+CI are on same host no Gateway is required.

Regards,

Deepak Kori


Former Member
0 Kudos

yes hostname srv1

SAP instance SID: A01

DBSID: A01