on 03-31-2008 3:18 PM
Hi experts,
the RFC Connection Test SAP-OSS works.
I would like to create a service that maintain my saprouter.exe + its parameters.
In a MS-DOS window, i entered the following command:
E:\usr\sap\saprouter\saprouter.exe -r -S 3299 -G saprouter.log -K "<Distinguished Name>"
When creating a service, i entered the following command :
ntscmgr install SAProuter -b E:\usr\sap\saprouter\saprouter.exe -p service -r -S 3299 -G saprouter.log"
My SOLMAN (sap-sma server) communicates trough the SAProuter (saprtr) before communicating with SAP AG (sapserv2)
When closing my SAProuter session, in a client post, the SAP-OSS Test does'nt work anymore.
I would like to create a service like :
ntscmgr install SAProuter -b E:\usr\sap\saprouter\saprouter.exe -p service -r -S 3299 -G saprouter.log -K "<Distinguished Name>"" but it doesn't work because of the double quote.
even if i go to the regedit directory and editing the path to :
E:\usr\sap\saprouter\saprouter.exe -r -S 3299 -G saprouter.log -K "<Distinguished Name>"
In fact, i want the SAP-OSS Test works when closing my saprtr server with a service.
Thanks a lot.
Pascal.
I don't know if i was cleared.
but i succeded in creating a service in a MS-DOS Windows with the command :
ntscmgr install SAProuter -b E:\usr\sap\saprouter\saprouter.exe -p service -r -S 3299 -G saprouter.log -K \"p:<Distinguished Name>\""
In the Path to executable, here is the command :
E:\usr\sap\saprouter\saprouter.exe service -r -S 3299 -G saprouter.log -K "p:<Distinguished Name>"
In the Path to executable, it seems to be ok but when i want to connect to SAP-OSS here is the message :
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: SNC processing failed: SncSessionInitiatorAK
Error Details LOCATION: SAProuter 38.10 on 'saprtr'
Error Details DETAIL: NiSncIInitHdlSecurity: sncrc=-4;002A8B00
Error Details COMPONENT: NI (network interface)
Error Details COUNTER: 5
Error Details MODULE: nisnc.c
Error Details LINE: 1080
Error Details RETURN CODE: -104
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Tue Apr 01 12:39:20 2008
Error Details VERSION: 38
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kaushal malavia,
thank you very much again, the OSS Note 525751 was very helpful. The service WORKS.
But there is one part i didn't do :
To avoid the error message 'The description for Event ID (0) ...' in the NT Eventviewer you must make the following entries in the Registry. Under:
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Eventlog -> Application
enter the following key: SAPRouter
Under this, define the two following values:
EventMessageFile (REG_SZ) : <local_path>\sapevents.dll
TypesSupported (REG_DWORD) : 0x7
All required files (ntscmgr.exe, saprouter.exe, sapevents.dll) can be found in your usr\sap\<SID>\sys\exe\run directory. As an attachment to this note, you can find the corresponding DLL in file sapevents.car.
Important: These adjustments are not obligatory for running
SAProuter on Windows. They serve only to provide detailed error
messages in the event log.
When i go to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Eventlog -> Application, i cannot find a SAPRouter directory. In fact, i don't know what they mean by enter the following key: SAPRouter
It that part important or can i leave this part?
Thanks again.
Pascal.
Thank you kaushal malavia for the answer.
I have a warning in the dev_rout file, what does that mean?
Wed Apr 02 10:47:03 2008
*** WARNING => NiBufISetHS: ready could not be freed (hdl 4) [nibuf.cpp 4364]
*** WARNING => NiBufISetHS: ready could not be freed (hdl 3) [nibuf.cpp 4364]
Thanks.
Pascal.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.