cancel
Showing results for 
Search instead for 
Did you mean: 

SXPG_COMMAND_EXECUTE failed for BRTOOLS - Reason: program_start_error:

0 Kudos

Hi,

Our Production server is in High Availability on Unix ( DB node active & CI Node active).

When I am executing the initialize tape or triggering the backup from DB13 in our production we are getting the below error.

SXPG_COMMAND_EXECUTE failed for BRTOOLS - Reason: program_start_error:

Even in DB12 when I click on the detailed log of any backup log, it is giving the same error.

In System log we got the below error.

Error 1003 when executing external command brtools on

(in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg:)

Error 1003 when executing external command brtools on

(in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg:)

RFC SAPXPG_DBDEST_<HOSTNAME> connection test giving the 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 ProdApp / sapgw00

Error Details DETAIL: no connect of TP sapxpg from host PROD-DB-SRV

after 20 sec

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 869

Error Details MODULE: gwr3cpic.c

Error Details LINE: 2007

Error Details RETURN CODE: 242

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Tue Mar 30 09:07:51 2010

Error Details VERSION: 2

I have created .rhosts and .rshosts files in both DB & CI nodes under path /home/trpadm as below

CI Node

-


ProdApp:trpadm 27> cat .rhosts

PROD-DB-SRV

PROD-APP-SRV

ProdApp:trpadm 28> cat .rshosts

PROD-DB-SRV trpadm

PROD-APP-SRV trpadm

  • trpadm

-


DB Node

-


ProdDB:trpadm 2> cat .rhosts

PROD-DB-SRV

PROD-APP-SRV

ProdDB:trpadm 3> cat .rshosts

PROD-DB-SRV trpadm

PROD-APP-SRV trpadm

  • trpadm

But below command is giving error

-


ProdApp:trpadm 24> rsh PROD-DB-SRV -l trpadm sapxpg

rshd: 0826-813 Permission is denied.

rsh is happening in both the nodes.

In CI node when iam doing rsh to DB node it is connecting. Pleas find the below logs

-


ProdApp:trpadm 17> rsh PROD-DB-SRV

trpadm's Password:

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

*

*

*

*

  • Welcome to AIX Version

6.1! *

*

*

*

*

  • Please see the README file in /usr/lpp/bos for information pertinent

to *

  • this release of the AIX Operating

System. *

*

*

*

*

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

Last login: Wed Mar 31 11:36:53 IST 2010 on /dev/pts/1 from

Prod_App_boot_1

ProdDB:trpadm 1>

-


In DB node when iam doing rsh to CI node it is connecting. Pleas find the below logs

-


ProdDB:trpadm 1> rsh PROD-APP-SRV

trpadm's Password:

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

*

*

*

*

  • Welcome to AIX Version

6.1! *

*

*

*

*

  • Please see the README file in /usr/lpp/bos for information pertinent

to *

  • this release of the AIX Operating

System. *

*

*

*

*

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

Last unsuccessful login: Tue Mar 23 16:05:26 IST 2010 on ftp

from ::ffff:10.0.1.39

Last login: Wed Mar 31 11:36:30 IST 2010 on /dev/pts/1 from

Prod_DB_boot_1

ProdApp:trpadm 1>

-


the below entries are already maintained in /etc/services file on both the nodes.

sapgw30 3330/tcp

sapdp30 3230/tcp

Please look into this and suggest us.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Have you checked the file (SAP Kernel) permissions?

Go through SAP Note Number 113747

Permissions for DBA tools BR*Tools and SAPDBA

And update this message with result

Regards,

Nick Loy

0 Kudos

Hi Nick,

please go through my previous posting.

problem is with the rsh, that is why RFC's are giving error.

when i am doing rsh from one node to another it is asking for password, which should not happen.

rsh <hostname>

<sidadm>'s password:

Regards,

Raj

Former Member
0 Kudos

Hi,

Could you go through the following SAP Notes :-

-


SAP Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13 -- > Point No. 8

SAP Note 10403 - Starting external programs

-


cheers !

PRADi

Former Member
0 Kudos

hai,

Plz do the following:

Go to the db13 -> goto -> backend configuration

And change background server to the database server

this will help u sure........... i had faced the same and i resolved it today

regards ,

praveen

0 Kudos

Hi,

I have cross checked every thing, it is ok.

Praveen,

As per your suggest, i have changed the background server in DB13. It didnot help us.

Problem is RFC are giving errors.

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> / sapgw00

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

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 4853

Error Details MODULE: gwr3cpic.c

Error Details LINE: 2007

Error Details RETURN CODE: 242

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Mon Apr 5 09:18:49 2010

Error Details VERSION: 2

When i am doing rsh from one node to another node it is asking for password, but it should not ask.

and also the below error for sapxpg

rsh <hostname> -l <sid>adm sapxpg

rshd: 0826-813 Permission is denied.

i have created .rhosts in both the nodes and maintained the values for hostname with <sid>adm user correctly.

Please look into this and suggest.

Regards,

Raj

0 Kudos

Hi Praveen,

In DB13 i went to Goto-->Backend configuration

there only app server option is there. I am not able to find Db server entry in Background server.

Only one entry is there. even I am not able to add a new entry there.

Regards,

Raj

former_member204746
Active Contributor
0 Kudos

for your error, please search SAP notes, SAP SDN, help.sap.com and even Google with keyword:

SXPG_COMMAND_EXECUTE DB13

Former Member
0 Kudos

the problem is your application server can't rsh 'correctly' to the db server. Once this is solve everything will work fine. Which Unix you are using?

0 Kudos

Yes, you are right.

When i am doing rsh <hostname> from one server to another, it is asking for password, which should not happen.

That is why RFC's are failing.

Permissions i changed and checked all the possiblities, still the same problem is appearing.

We are using AIX OS.

Former Member
0 Kudos

Hi Raj,

You may have to install a standalone gateway server . I had the same issue .

My Env: SAP ECC 6.0 ,oracle 10.2.0.4 iOS win2003 n MSCS environment.

SAP has recommanded to follow note Note 657999 - Installing a Standalone Gateway in an MSCS Environment

-Joel

Former Member
0 Kudos

Hi All,

On the DB host where you have installed the Gateway, the gateway runs with a profile file as follows:

cat " /usr/sap/PDR/<SID>/profile/<SID>_G<sysnum>_<dbhost>"

SAPSYSTEMNAME = PDR

SAPSYSTEM = 00

INSTANCE_NAME = G00

DIR_CT_RUN = $(DIR_EXE_ROOT)/run

DIR_EXECUTABLE = $(DIR_CT_RUN)

Autostart = 1

In this file check what is the value of the SAPSYSTEM parameter.

For example if this is "10" then in CI SAP, in the RFC destination, the value of the field "Gateway Service" should be "sapgw10"

I came across the same problem, searched for similar problems here, so after solving my problem posting it here.

-Indraraj

0 Kudos

Hi Raj,

The below change resolved the issue.

ProdApp:trpadm 27> cat .rhosts

+

PROD-DB-SRV <sidadm>

PROD-APP-SRV <sidadm>

anindya_bose
Active Contributor
0 Kudos

Hello Raj

In the faling RFC which gateway service is maintained ? sapgw30 or sapgw00? .Did you maintain hostname of your DB in target host? Is sapxpg set to run on "Explicit Host" ?

If everything is fine, can you please tell us if there was a kernel upgrade recently?

Regards

Anindya

former_member204746
Active Contributor
0 Kudos

maybe you should close your previous message if it is fixed:

as for your error, please search SAP notes, SAP SDN, help.sap.com and even Google with keyword:

SXPG_COMMAND_EXECUTE DB13

Good luck.