on 06-07-2010 11:57 AM
Hi All,
i am doing saprouter instalation on windows . where solution manager is instaled.
i almost completed every step.by running command sapgenpse get_my_name -v -n Issuer i able to see imported certificate correctly
But when i run command to start router
saprouter -r -S 3299 -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"
it showing
trcfile dev_rout
no logging active
And dev_rout shows
-
trc file: "dev_rout", trc level: 1, release: "700"
-
Mon Jun 07 16:01:39 2010
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -S
command line arg 3: 3299
command line arg 4: -K
command line arg 5: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".
File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
main: pid = 496, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'
Can some one plese help me where i am going wrong
thanks
Shashi
Hi Shashi,
--------------------------------------------------------------------------------
trc file: "dev_rout", trc level: 1, release: "700"
--------------------------------------------------------------------------------
Mon Jun 07 16:01:39 2010
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -S
command line arg 3: 3299
command line arg 4: -K
command line arg 5: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".
File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
main: pid = 496, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'
There are no error in dev_rout, you saproute has been started succesfully.
one more thing you are calling the command of saprouter in foreground.
If you are using any unix/linux/solaris flavour then calling command using &
If you are using windows then create new services to calling command as service in windows.
To check saproute is working properly or not, make neccesary changes in OSS1 tcode and and try to call RFC SAPOSS.
Test connection of this RFC should be succeful.
Thanks
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
Thanks for your reply
i am instaling on windows.i tried & but showing same out put.
If you are using windows then create new services to calling command as service in windows.
How to do this one
i already entered
sapdp99 3299/tcp
sapgw99 3399/tcp
sapmsO01 3601/tcp
in the services files
i tried through oss1 but connection not sucess.
Can you please tell me what necessary steps should i take
thanks
Shashi
Hi,
Pls follow below procedure for creating service in windows
Creating the Service in services.msc for SAPROUTER
1. Create the service in service.msc with the following command
ntscmgr install saprouter -b <drive>\saprouter.exe -p "service -r -W 60000 -R <drive>\saprouttab -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE""
2. Find the saprouter service in regedit with find command.
3. Edit the service and include the following line.
After searching for saprouter check the imagepath and change the value as below.
Press F3 to search next
<drive>\saprouter.exe service -r -W 60000 -R <drive>\saprouttab -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"
4. change the name of logon user to <SIDADM>
5. Start the service.
Thanks
Anil
Hi Anil,
very thanks for the information.
I have done every thing said by you. i created saprouter service file. And i login through sidadm and started saprouter service.
Now from command promt i can see info of router i can stop. but after stoping it is not starting.
E:\usr\sap\saprouter>saprouter -L
Wed Jun 09 09:48:27 2010
SAP Network Interface Router, Version 38.10
peer SAProuter with NI version 38 ...
send info-request to running SAProuter ...
SAP Network Interface Router running on port 3299 (PID = 5412)
Started on: Wed Jun 09 09:48:02 2010
ID CLIENT | PARTNER service
-
+----
1 solman | (no partner)
Total no. of clients: 1
Working directory : E:\usr\sap\saprouter
Routtab : E:\usr\sap\saprouter\saprouttab
E:\usr\sap\saprouter>saprouter -s
Wed Jun 09 09:49:45 2010
SAP Network Interface Router, Version 38.10
peer SAProuter with NI version 38 ...
send stop-request to running SAProuter ...
request successfully completed.
E:\usr\sap\saprouter>saprouter -r
trcfile dev_rout
no logging active
ERROR => invalid lines in './saprouttab', see 'dev_rout' [nirout.cpp 8006]
dev_rout shows
-
trc file: "dev_rout", trc level: 1, release: "700"
-
Wed Jun 09 09:50:45 2010
SAP Network Interface Router, Version 38.10
command line arg 0: E:\usr\sap\saprouter\saprouter.exe
command line arg 1: -r
command line arg 2: -W
command line arg 3: 60000
command line arg 4: -R
command line arg 5: E:\usr\sap\saprouter\saprouttab
command line arg 6: -K
command line arg 7: p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "E:\usr\sap\saprouter\ntintel\sapcrypto.dll".
File "E:\usr\sap\saprouter\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
main: pid = 5720, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: 'E:\usr\sap\saprouter\saprouttab'
pls help me regarding this issue
Thanks
Shashi
Hi Sashi,
Now from command promt i can see info of router i can stop. but after stoping it is not starting. E:\usr\sap\saprouter>saprouter -L
once you create the services for saprouter , then you dont have to work through command prompt.
Anytime when you have stop or start sap router then do the following process.
1. goto run and type SERVICES.MSC
2. then search for service name as SAPROUTER.
3. Right click on service and start and stop which is required.
Thanks
Anil
Hi,
Could you please check window event logs and also paste here ?
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sunny,
in windows event logs i noticed these type of errors
Faulting application qbfeqg.exe, version 5.1.2600.0, faulting module qbfeqg.exe, version 5.1.2600.0, fault address 0x00004019.
Failed extract of third-party root list from auto update cab at: <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab> with error: The data is invalid.
is these related to router
regards
Shashi
Hi sunny,
i try to start router again and checked event logs but no logs are there related to router.
And dev_rout trace file shows as below
-
trc file: "dev_rout", trc level: 1, release: "700"
-
Mon Jun 07 18:12:54 2010
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter
command line arg 1: -r
main: pid = 328, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'
ERROR => SNC field without SNC active, skip line 2 [nirout.cpp 7775]
Regards
Shashi
So you have installed the SAP cryptographic library? Have you also signed the certificate?
Please check if you have followed the steps in this document: http://www.erpgenie.com/sapgenie/docs/SAP%20SNC%20CONFIGURATION.pdf
Kind regards,
Mark
Edited by: M. Dijsselbloem on Jun 7, 2010 3:36 PM
Hi Shash,
I had faced similar problem when I had tried to start the sap router with the command you specified.
But when i run command to start router
saprouter -r -S 3299 -K "p:CN=sapsm,OU=0000742381,OU=SAProuter,O=SAP,C=DE"
it showing
trcfile dev_rout
no logging active
I also used to get similar output when I used to fire saprouter start command with above syntax. I would suggest you to give & at the end of the command and try.
If it didnt worked, then check your services file and see if it has necessart entries for your saprouter gateway.
Thanks and Regards,
Kedar
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.