on 12-03-2013 10:11 PM
Hi folks,
I´m having this error on installing saprouter as services.
I´m running it on a windows 2008 R2 Server and according with the note 618053 I should use the sc instead of ntscmgr but with sc it can´t see the install.
The command i´m using is:
# ntscmgr install SAProuter -b D:\usr\sap\saprouter\saprouter.exe –p “service -r -R D:\usr\sap\saprouter\saprouttab -W 60000 -K ^p:CN=saprouter,OU=000XXXXXXX,OU=SAProuter,O=SAP,C=DE^"
Even when I start the saprouter alone it gives me this error:
Please check the screenshot for more details.
Best regards,
Nelson Chamba.
When you are opening CMD, make sure you're right-clicking and selecting "run as administrator", even if you are currently logged on as an admin. That will get rid of your "access denied" error in creating the service.
The "wildcard error" can be ignored, but make sure the format of your saprouttab is correct and post your dev_route log (block any confidential info).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavlovic,
Here is the output of dev_rout
---------------------------------------------------
trc file: "dev_rout", trc level: 1, release: "720"
---------------------------------------------------
Mon Dec 09 03:30:57 2013
SAP Network Interface Router, Version 40.4
command line arg 0: saprouter.exe
command line arg 1: -r
main: pid = 3368, 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 9240]
*** ERROR => SNC field without SNC active, skip line 7 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 8 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 13 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 18 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 23 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 27 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 33 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 34 [nirout.cpp 9240]
*** ERROR => SNC field without SNC active, skip line 35 [nirout.cpp 9240]
Best regards,
Nelson Chamba\
Hi Nelson,
Looks from your screenshot like you're running the SAP Router service with "Local Sys Account". You have to run SAP Router with the same user that you used to configure the SNC.
Durin the step when you're importing the cert that was generated by SAP:
1. sapgenpse seclogin –p local.pse
You can use “-O” if you want to change the user that you configure with. SAP router has to run under that user.
I can only say one line please read the link and try to configure the router
http://service.sap.com/saprouter-sncdoc
If you think that you have done all then past the command output.
sapgenpse seclogin –l
sapgenpse get_my_name -v -n Issuer
and saproutertab.
Thanks
Rishi Abrol
Hi Nelson,
Your regedit entry has an extra space after the first quote. Not sure if that will fix your problem, but try getting rid of it.
Ie.
-p " service
should be:
-p "service
Also, make sure you remove P * * * from your saprouttab after you're done testing, as well as P * 194.39.131.34 3299 (that will allow anyone to bounce through you to OSS.
Thanks,
Damjan Pavlovic
Hi Nelson,
My mistake, I just checked my own, your regedit entry should say the following:
D:\usr\sap\saprouter\saprouter.exe service -r -W 30000 -G D:\usr\sap\saprouter\routerlog.txt -R D:\usr\sap\saprouter\saprouttab -K "p:CN=saprouter, OU=0001040564, OU=SAProuter, O=SAP, C=DE"
Copy/paste that.
Hi,
First thing which user is trying to run the command is it slmadm?
saprouter.exe -r -S 3299 -G con1.log -K "p:CN=saprouter,OU=0001040564,OU=SAProuter,O=SAP,C=DE"
as per the note you should register the service with these setting as it think below which are bold are missing.
\usr\sap\saprouter\saprouter.exe service -r -W 60000 -R d:\usr\sap\saprouter\saprouttab -K "p:CN=XXXXX, OU=0000111111, OU=SAProuter, O=SAP, C=DE""
Have you ran the below command..
sapgenpse seclogin -p <path>\<psefile> -O <SNC_admin>
Thanks
Rishi abrol
Hi Pavlovic,
It´s working was just change the string (copy & past). Now I understand the problem I was comparing the lines and for my case was
D:\usr\sap\saprouter\saprouter.exe
–p "service
-r
-R D:\usr\sap\saprouter\saprouttab
-W 60000
-K "p:CN=saprouter,OU=0001040564,OU=SAProuter,O=SAP, C=DE""
And the right one is:
D:\usr\sap\saprouter\saprouter.exe service
-r
-W 30000
-G D:\usr\sap\saprouter\routerlog.txt
-R D:\usr\sap\saprouter\saprouttab
-K "p:CN=saprouter, OU=0001040564, OU=SAProuter, O=SAP, C=DE"
Thank you all
Best regards,
Nelson Chamba\
C:\usr\sap\saprouter>sc.exe create SAPRouter binPath= "C:\usr\sap\saprouter\saprouter service -r -S 3299 -W 60000 -R C:\usr\sap\saprouter\saprouttab -K ^p:<Your respective Distinguished name>^" [SC] CreateService SUCCESS
Regedit:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\saprouter string ImagePath
From: C:\usr\sap\saprouter\saprouter service -r -S 3299 -W 60000 -R C:\usr\sap\saprouter\saprouttab -K ^p:<your respective distinguished name>^”
To:C:\usr\sap\saprouter\saprouter service -r -S 3299 -W 60000 -R C:\usr\sap\saprouter\saprouttab -K "p:<your respective distinguished name>"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nelson,
In windows platforms sometimes ' can be a problem in CMD.
So please create the service as below and then change the record in REGEDIT. I'm writing step by step.
sc.exe create SAPRouter binPath= "d:\usr\sap\saprouter\saprouter.exe service -r -W 60000 -R d:\usr\sap\saprouter\saprouttab -K ^p:CN=XXXXX, OU=0000111111, OU=SAProuter, O=SAP, C=DE^" start= auto obj= "XXXX\saprouter"
After creating the service, find the key from Regedit-> HKEY_LOCAL_MACHINE -> SYSTEM - >CurrentControlSet - >Services -> Saprouter -> Imagepath
and change signs ^ to “.
After save, try to start service.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just restart the windows server and then try again as you mention the same SAP note 618053
Regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Kindly refer the link |http://www.erpgenie.com/sapgenie /docs/SAP%20SNC%20CONFIGURATION.pdf]
Regards
Sriram
Hi Sriram,
still
D:\usr\sap\saprouter> ^p:CN=saprouter,OU=000XXXXXXX,OU=SAProuter,O=SAP,C=DE^"
The system cannot find the drive specified.
D:\usr\sap\saprouter>
D:\usr\sap\saprouter>ntscmgr.exe install SAProuter -b "D:\usr\sap\saprouter\sapr
outer.exe -p service -r -R D:\usr\sap\saprouter\saprouttab -W 60000 -K
failure: OpenSCManager, NT ErrorMessage: Access is denied.
failure: CreateService (0x06)
D:\usr\sap\saprouter> ^p:CN=saprouter,OU=000XXXXXXX,OU=SAProuter,O=SAP,C=DE^"
The system cannot find the drive specified.
D:\usr\sap\saprouter>
regards,
Nelson\
Hi Nelson
You can follow the steps in SAP Note as already mention by Benjamin
525751 - Installation of the SNC SAPRouter as NT Service
Regards
Ram
Hi,
Have you configured the router first . we can register the service later. You have not configured the router and you are trying to start the service.
Please follow the below link and configure the router.
http://service.sap.com/saprouter-sncdoc
1628296 - SAProuter installation process
Thanks
Rishi abrol
This is an SO issue.
You must run this command under administrator credentials.
Log on system as an administrator and run the prompt as administrator.
Then execute the following
sc create SAProuter -b "D:\usr\sap\saprouter\saprouter.exe -p "service -r -s 3299 -R D:\usr\sap\saprouter\saprouttab -W 60000 -K p:^xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx^"
substitute the xxxxxx by the distinguish name of your saprouter.
After that, go to the registry of your windows and ajust the shortcut on the service.
Hi Murador,
great, the problem was really the user, i runned as administrator and it installed the service but now it´s not running as services it give me this error here, what could be the problem?
This was the command I used:
ntscmgr install SAProuter -b "D:\usr\sap\saprouter\saprouter.exe -p service -r -R D:\usr\sap\saprouter\saprouttab -W 60000 -K ^p:CN=saprouter,OU=0001031150,OU=SAProuter,O=SAP,C=DE^”
And I changed the ^ with the " on the regedit, please can you help troubleshoot what´s wrong here?
Check the screenshot for more details.
Best regards,
Nelson Chamba\
Hi nelson,
You should install the SNC saprouter as NT service using the recommended SAP note 525751.
In case you are still getting issues then you can raise an OSS message in the component XX-SER-NET-HTL.
It could be your Saprouter started from service is not configured correctly. Are you able to start your Saprouter manually using command ?
Please stop the saprouter process with command ' saprouter -s ' and restart it using the following options. Please type in one line and keep a space after the comma.
saprouter -r -V 2 -K "p:CN=INBL5S07, OU=0001254733, OU=SAProuter, O=SAP, C=DE"
Try to test the RFC connection to SAPOSS via transaction SM59 -> R/3 Connections /ABAP -> Connections -> SAPOSS -> Test Connection
(see also SAP note 33135) and send us the following information in the message, in order for us to troubleshoot the connection problem:
-> Output of the command 'sapgenpse'
-> Output of the command 'sapgenpse get_my_name -n all'
-> Output of the command 'sapgenpse seclogin -l'
-> Output of the commands
INBL5S07# niping -c -O -S 3299 -H 194.39.131.34
INBL5S07# niping -c -H /H/INBL5S07/H/194.39.131.34/H/194.39.131.34
-> File of dev_rout (after the test access to SAPOSS)
-> File of saprouttab
-> Technical settings in transaction OSS1(Parameter ->Technical Settings)
Regards,
Himanshu
Hello
Try this string and see whether it works.
ntscmgr install SAPRouter -b D:\usr\sap\saprouter\saprouter.exe -p "service -r -W 60000 -R D:\usr\sap\saprouter\saprouttab -K ^p:CN=saprouter, OU=000XXXXXXX, OU=SAProuter, O=SAP,C=DE^"
Refer to this SAP note
525751 - Installation of the SNC SAPRouter as NT Service
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
According with the note it still not going
D:\usr\sap\saprouter>sc create SAPRouter -b "D:\usr\sap\saprouter\saprouter.exe
service -r -W 60000 -R D:\usr\sap\saprouter\saprouttab -K ^p:CN=saprouter,OU=000
XXXXXXX,OU=SAProuter,O=SAP,C=DE^" start= auto obj= "NT AUTHORITY\LocalService"
[SC] OpenSCManager FAILED 5:
Access is denied.
D:\usr\sap\saprouter>
regards
nelson\
Hi
In this link follow the step number 9
Regards
Ram
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.