cancel
Showing results for 
Search instead for 
Did you mean: 

DB13 SXPG_COMMAND_EXECUTE failed for backup reason

snehal_patel
Participant
0 Kudos

Dear Gurus,

I am facing error during DB13 since passed few days during backup and update statistics .SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS

cancelled after system exception ERROR_MESSAGE..

Please do need full.

Thanks,

Regards,

Snehal Patel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Do you have Standalone gateway on your server ?

You can try Go to the db13 -> goto -> backend configuration

And change background or application server to the database server (where DB physically resides)

If you Database is on another host then SAPXPG_DBDEST_<dbhost> or <virtual_dbhost> (a TCP/IP connection) will play an important role for executing SAPXPG command.

1) Install a Gateway instance on the DB server

2) Mention the Gateway hostname and service ( sapgwxx) in the RFC destination SAPXPG_DBDEST_<DBHOST> using SM59.

Also check the permission of the SAPXPG file.

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

snehal_patel
Participant
0 Kudos

Dear Sir,

Thanks for your reply, We have MSCS environment.

Former Member
0 Kudos

Hello Snehal,

yes, above procedure applies for MSCS also. Please try to apply it and let us know.

Regards,

Arjun

Answers (3)

Answers (3)

Former Member
0 Kudos

Also please try to restart the gateway, it worked for me and I am able to run DB20 Stats for the table. I initially got the error while running on a RAC environment, now able to run status.

Cheers

Pavan

Former Member
0 Kudos

Hello snehal,

Check which user is being used while running BRTOOLS.

This user needs to have DIR_LIBRARY=/usr/sap/KRP/SYS/exe/run environment variable.

Along with the user needs to have execution access to BRTOOLS. Sometimes the user will not access to run at OS level.

Please verify this and post your findings.

Thanks & Regards,

Ananda Swaroop

snehal_patel
Participant
0 Kudos

Dear Friends,

Thanks for your reply, I had change the db13 -> goto -> backend configuration

And change background or application server to the database server (where DB physically resides).

Now Update statistics runs perfectly and during backup it gives error "0005 Error during processing"

BR0278E Command output of 'D: && cd D:\oracle\PRD\102\database && S:\usr\sap\PRD\SYS\exe\uc\NTAMD64\brtools.exe -f copyfile E:\Offline_PRD_230112\PRD initPRD.ora spfilePRD.ora':

Access is denied.

0 file(s) copied.

Please do needful.

Regards,

Snehal Patel

former_member185031
Active Contributor
0 Kudos

These notes can help you.

Note 682287 - DB6: Error 'SXPG_COMMAND_EXECUTE failed' in DB13 jobs

Note 583759 - R/3 error when you start jobs from DB13

Regards,

Subhash