on ‎2014 Sep 09 12:03 PM
Hi experts,
I have my SAP ECC in a distributed system (CI and DB nodes are different) on Oracle 11G/ Solaris.
When I try to execute any action in db13, appear the following error:
SXPG_COMMAND_EXECUTE failed for BRTOOLS - Reason: program_start_error: For More Information, See SYS
I follow the SAP Note: 1974030 - How to configure DB13 to work with a standalone Oracle database in Unix/Linux
but I continue with the error
The RFC SAPXPG_DBDEST_HOSTDB works fine but I check in the trace of the proccess is:
LOCATION SAP-Gateway on host adonis.blumaq.local / sapgw00
ERROR timeout during allocate
TIME Tue Sep 9 12:47:24 2014
RELEASE 721
COMPONENT SAP-Gateway
VERSION 2
RC 242
MODULE gwr3cpic.c
LINE 2164
DETAIL no connect of TP sapxpg from host adonisdb after 20 sec
COUNTER 6595
Any idea?
Thanks in advance,
Regards,
Request clarification before answering.
1) Please be sure whether the executable sapxpg is located at /sapmnt/SID/exe/sapxpg or not?
2) check SAPXPG_DBDEST_HOSTDB from the application server, from which you are invoking BRTOOLS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you are sure that RFC is working but program is not executed, the problem seems to be with path only.check following points.
1.Check /usr/sap/<SID>/SYS/exe/run is in path or not ?( in DB host).To check, type set at prompt.
2.If it is in path, then check if you can run sapxpg from anywhere or not?. Simply type sapxpg at prompt.
3.If you can execute sapxpg in DB host simply by typing sapxpg at prompt, modify the RFC in application server(CI or App server) .As shown below
Target host is DB host name.
4) Also check .rhosts file in DB host for the entry <hostname of app server> <SIDADM>.
5) Also check maximum connection for gateway in app server.
Hi,
Thanks for your help.
All points yes, except the point 3)
If I want to work the RFC, I have to put the complete path: /sapmnt/BLP/exe/sapxpg or /usr/sap/BLP/SYS/exe/run/sapxpg
I can execite sapxpg with all users in every location, but, the rsh only work with the complete path too:
rsh <database host> -l <sid>adm /sapmnt/BLP/exe/sapxpg
works fine
rsh <database host> -l <sid>adm sapxpg
does not work
Any idea?
Thanks in advance,
Regards,
Hello Victor,
you have already configured the path to sapxpg in the destination, it should be enough. If rsh is working on OS level, but not from SAP system, then it should be checked, if gateway starts rsh. You should activate RFC trace for the destination, activate trace level 2 for gateway, reproduce the error in DB13 and check the traces. You can try to set also the explicit path /usr/sap/BLP/SYS/exe/run/sapxpg to sapxpg in the destination and check if it makes any difference.
Regards,
Alwina
The trace is the same.
GwIRemoteShell: start programm sapxpg on host adonisdb (/bin/rsh)
GwStartProgram: started /bin/rsh, pid=7497
[ 0]: /bin/rsh
[ 1]: adonisdb
[ 2]: sapxpg
[ 3]: adonis.blumaq.local
[ 4]: sapgw00
[ 5]: 66122614
[ 6]: GWHOST=adonis.blumaq.local
[ 7]: GWSERV=sapgw00
[ 8]: CONVID=66122614
[ 9]: pf=/usr/sap/BLP/SYS/profile/BLP_DVEBMGS00_adonis
[10]: CPIC_TRACE=2
[11]: IDX=2
[12]: DT_ROOT_ID=00000000000000000000000000000000
[13]: DT_CONNECTION_ID=540F3DA5EE5F5392E1000000C0A8018E
[14]: DT_CREATOR_ID=
[15]: SNC_MODE=0
*** trace switched off ***
bash: sapxpg: command not found
bash: sapxpg: command not found
Can not find sapxpg if I not put the complete PATH... or the same, can not find sapxpg because it have not the variable PATH
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.