Ntscmgr and SAPROUTER

I am trying to get ntscmgr to add my saprouter as a service but when I do it fails to start. 
On the command line if I issue the command
saprouter.exe -r u2013K "p: CN=SAPROUE, OU=0000862443, OU=SAProuter, O=SAP, C=DE"
The saprouter starts without a problem and my oss connections work.
When I try to add it as a service using the command;
ntscmgr install saprouter -b d:\usr\sap\saprouter\saprouter.exe -p "service -r -R D:\usr\sap\saprouter\saprouttab -G D:\usr\sap\saprouter.log -K "p: CN=SAPROUTE, OU=0000862443, OU=SAProuter, O=SAP, C=DE""
It shows up in the services but when I try to start it, it dies. 
I've also tried it without the logging directory like this:
ntscmgr install saprouter -b d:\usr\sap\saprouter\saprouter.exe -p "service -r -R D:\usr\sap\saprouter\saprouttab -K "p: CN=SAPROUTE, OU=0000862443, OU=SAProuter, O=SAP, C=DE""
Any ideas why I cant get this service working right?
Lee

Yes.  That was a big part of the problem.
I actually had Two problemsu2026 the first was that the ntscmgr command couldnu2019t handle the double u201C as per oss note 525751 I changed it to ^ and then edited the registry to change them back to u201C.   Like you stated.
Also,  the saprouter service by default was running under local system account.  I needed to change that to run undr the id I created the certificates were registered with.   Once I did that and restarted the service it worked properly.  running the saprouter under the local id was no good.
Thanks,
Lee

Similar Messages

  • SAP GUI 7.20 - sapmsg.ini and saproute.ini location

    I have installed SAP GUI 7.20 and I moved the saplogon.ini to a folder different from C:\WINDWOS, but message server and SAProuter are still pointing to C:\WINDOWS\SAPMSG.INI and C:\WINDWOS\SAPROUTE.INI.
    I don't like these files on WINDOWS, How can I move them to another location and SAP GUI still can read them?
    Many Thanks in advance,
    Fernando.

    Hello Fernando,
    please see note 38119.
    Regards,
    Martin

  • Difference between the way of login with ip address and SAProuter when checkin original file

    Hi, experts
    We found out:
    ① Login with ip address, check in a file with file name less than 22 Chinese character, OK.
    ② Login with ip address, check in a file with file name more than 22 Chinese character, error message 26253 appeares: Error while checking in and storing: &
    ③ Login with SAProuter, check in a file with file name more than 22 Chinese character, OK.
    What casues error in condition ②? The only difference between ② and ③ is the way of logining to SAP system.
    Best Regards
    Yemi

    Hi Yemi,
    based on your description I would kindly ask you to check the application log transaction SLG1 after getting the error message with your userID. Here normally further background information is listed that might help to get a hint what is going wrong.
    Best regards,
    Christoph

  • Business Objects Enterprise and Data Services and SAPRouter

    Hi,
    I am relatively new to Business Objects so I am not entirely sure how this works. My question is can Business Objects Enterprise and Data Services be configured in SAPRouter for SAP to dial in and access the systems.
    Regards
    Naureen

    Hi,
    I am new to PI Upgradtion Project.
    We are planning to upgrade PI 7.11 to PI 7.3.
    Can you please help me what are the steps we have to fallow to upgdrade PI and what are the changes/Issues will happen when upgradtion in PI.
    Share me your ideasssssssssssssssssss.......
    Thanks,
    Mallam

  • Can I register webdispatcher and saprouter in SLD?

    We've fronted all our systems (abap or java or both) with a webdispatcher.
    Is there any way to (preferrably automatic) register these webdispatchers in SLD.
    Our developers are starting to use SLD as a data source for connection info,
    but all our systems are firewall protected.  Same question but regarding saprouter.
    I would also need some way to tell applications using SLD for connection info to employ these filtering tools rather than direct connections.
    Ken

    This one needs some explaination!
    I normally code:
    rdisp/mshost = sap_backend_host
    ms/http_port = 81##
    This is replaced by
    wdisp/system_0 = HOST=sap_backend_host, PORT=81##, SID=SAP_BACKEND_SID, NR=<sap backend instance name, eg SCS##>
    Excerpt from dev_webdisp_watchdog trace file:
    [Thr 47319736972384] *** WARNING => Both wdisp/system_0 and rdisp/mshost,ms/http(s)_port specified. Ignore rdisp/mshost, ms/http(s)_port. [icrxx_mt.c   1245]
    [Thr 47319736972384] *** WARNING => IcmParseSubParam: unknown subparam "HOST" for parameter: HOST=sap_backend_host, PORT=81##, SID=AAA, NR=SCS## [icxxpara_mt. 429]
    [Thr 47319736972384] *** WARNING => IcmParseSubParam: unknown subparam "PORT" for parameter: HOST=sap_backend_host, PORT=81##, SID=AAA, NR=SCS## [icxxpara_mt. 429]
    [Thr 47319736972384] *** ERROR => no host/port set in wdisp/system_0 [icrxx_mt.c   1312]
    Apparently Web Dispatcher didn't like my interpretation of the documentation.  And it didn't barf where I thought it would (NR suggests NumbeR, so maybe ## but the doc says msg server instance NAME)
    Note: I didn't actually code ##, rather I inserted msg server instance number.
    If one gets this form of defining the backend web dispatched system working, does startsapsrv then call the backend requesting it register in SLD?  I don't see any SLD connection info.
    Ken

  • SAPRouter on Windows Server 2008 R2 /  Service definition

    Hi,
    I installed SAPRouter on a Windows Server 2008 R2 and i have troubles registering saprouter as a service...
    The installation directory is: C:\usr\sap\saprouter. There are these files:
    niping.exe
    sapcar.exe
    ntscmgr.exesaprouter.exe
    I am able to start the router from the command line.
    trc file: "dev_rout", trc level: 1, release: "710"
    Tue Feb 08 13:38:43 2011
    SAP Network Interface Router, Version 39.3 (SP4)
    command line arg 0:     saprouter
    command line arg 1:     -r
    command line arg 2:     -R
    command line arg 3:     c:\Windows\System32\saprouttab.txt
    main: pid = 1748, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
    reading routtab: 'c:\Windows\System32\saprouttab.txt'
    When i try to register (with Domain admin user) the service, the system means that:
    C:\usr\sap\saprouter>ntscmgr install SAProuter -b C:\usr\sap\saprouter\saprouter
    .exe -p "service -r -R C:\Windows\System32\saprouttab.txt"
    CreateService SUCCESS
    After that i am editing the service and entering a different user "sapadm" with local user rights. When i want to start the service terminates with Error 2 The system cannot find the file specified
    when i check the the service' properties, the path to executable is empty...
    Can anyone help me?
    Thanks,
    Martin

    Hi,
    If you don't want to run the service then just stop the service from services file.
    For successful service creation, you need to follow all steps from the note which i suggested you earlier.
    Thanks
    Sunny

  • Not able to start Saprouter from services.msc

    Hi,
    We have installed a saprouter into Windows 2003 Server. It is running fine. When we start the system then we need to manually start the saprouter by a batch file, so i am trying to register a service so that we need not to start the router manually.
    i have read the note 525751 and install a new service by this command
    ntscmgr install saprouter -b c:\saprouter\saprouter.exe -p "service -r -W 60000 -R c:\saprouter\saprouttab -K "p:CN=SAPROUTER, OU=0000835750, OU=SAProuter, O=SAP, C=DE""
    Service successfully created. I have followed the note and done everything as per the note, but when i try to start the service i am getting this error  couldnot start saprouter service on local computer, error 1067 process terminated unexpectedly
    When i checked the event log i found this message.
    RROR       Unable to load the GSS-API DLL
                 named "sncgss32.dll"
    TIME        Tue Oct 06 16:30:17 2009
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     5
    RC          -17
    MODULE      sncxxdl.c
    LINE        342
    DETAIL      SncPDLInit
    SYSTEM CALL LoadLibrary
    COUNTER     1
    I have checked some thread on related to issue but not able to solve the problem. Could you please assist what's wrong.
    Regards,
    Subhash

    >
    Tomas Gustafsson wrote:
    > I'm sorry to put a silly question here, but this message is a little bit hard to get the grip on:
    > Do you use the same user for both the command prompt and the service?
    Yes I understand it's frustrating now., and Yes i am using the same user srvsolmgr to run from Services.msc and from command prompt also.
    > Also
    > Can you please post the command which runs successfulll (from the command prompt)
    > and the complete command for the saprouter-service.
    C:\>cd saprouter
    C:\saprouter>saprouter -r -G log.txt -R C:\saprouter\saprouttab -S 3299 -K "p:CN
    =SAPROUTER, OU=0000835750, OU=SAProuter, O=SAP, C=DE"
    trcfile  dev_rout
    logfile  log.txt
    Connection test OK
    u Oct 08 16:03:56 2009
    SAP Network Interface Router, Version 37.11
    command line arg 0:     saprouter
    command line arg 1:     -r
    command line arg 2:     -G
    command line arg 3:     log.txt
    command line arg 4:     -R
    command line arg 5:     C:\saprouter\saprouttab
    command line arg 6:     -S
    command line arg 7:     3299
    command line arg 8:     -K
    command line arg 9:     p:CN=SAPROUTER, OU=0000835750, 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: "C:\saprouter\sapcrypto.dll".
      File "C:\saprouter\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 = 2776, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a SAProuter)
    reading routtab: C:\saprouter\saprouttab
    Regards,
    Subhash

  • The SAProuter service failed to start due to the following error:

    I installed the SAP router 710 on windows server 2003 NON_SAP SYSTEM. I installed it successfully using the command:
    >ntscmgr install SAProuter -b c:\saprouter\saprouter.exe -p "service -r"
    But when trying to start the service I am facing this error:
    "SAP router service failed to start due to the following error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem".
    I removed and reinstalled it, but again when trying to start the service facing the same error.
    Plz help me in resolving this issue and also let me know using which user I need to start the SAPRouter Service(Local System Account or any other account) . Do the needful as the matter is urgent
    Thanks in advance
    Ali

    Hi Anil,
    The version that I am using to install is SAP Router 710 on windows 2003 x64, I have to installed the SAP router on non SAP System.
    now when I am trying to start the service, it is giving an error as mentioned above.
    Plz help
    Regards
    Ali
    Edited by: Mirza Munnawar Ali Baig on Jun 2, 2008 3:48 PM

  • Saprouter under windows

    Hello
    As you ABAP people are very open minded I decided to ask you this(as I need a solution asap)
    I installed saprouter:
    I created directory "C:\saprouter" and copied there files from an running saprouter(it is not the newes version but proven).
    I issued command "C:\saprouter\ntscmgr install SAPRouter u2013b c:\saprouter\saprouter.exe u2013p u201Cservice u2013ru201D" successfully.
    I also let to service to run under currrent user "sadmin" and to be "automatic". Under HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Eventlog->Application, I created the key saprouter and define the following values under it:
    EventMessageFile (REG_SZ): c:\saprouter\saprouter.exe
    TypesSupported (REG_DWORD): 0x00000007(7)
    When trying to start service I get popup screen saying:
    u201CCould not start the SAProuter service on Local Computer. Error 1053 : The service did not respond to the start or control request in a timely fashion.u201D
    I am using windows 2003 R2 server on virtual machine.
    I created a new server as well .
    When starting service there I get popup message
    : "Could not start the SAPRouter service on Local Computer. Error 2: The system cannot find the file specified"
    It would be great if someone has solution even for this
    What could be the reason?

    HI Jan Bo,
    I am also facing the same issue please letus know how you solved the issue.
    Thanks in advance.
    Thanks,
    Chaitanya

  • Define a Service for SAProuter

    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.

    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.

  • SAProuter does not start, Windows Server 2008 64

    I cannot get SAProuter to start on a Windows Server 2008 64-bit server.  I used the following version of SAProuter:
    SAPROUTER 7.10 - Windows Server on x64 64bit
    - I was able to add the service correctly using the following command:
    ntscmgr install saprouter -b <drive>:\usr\sap\saprouter\saprouter.exe -p "service -S <port> -r"
    - I configured the service to logon as the <system number>adm account.
    When I try to start the service I receive the following error:
    The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.
    When I check the Application event log I see the following error:
    Activation context generation failed for "f:\usr\sap\saprouter\saprouter.exe". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053" could not be found. Please use sxstrace.exe for detailed diagnosis.
    What is the issue?
    Edited by: Jeff Kinard on Jul 14, 2010 1:21 AM

    Hi,
    Wrong forum I reckon!
    Anyway probably you need to check out SAP Note 1375494, most likely that you need to apply the the MS patch mentioned in the note & the attached PDF
    Regards
    Chris

  • SNC connection between two SAProuter

    Hi Guys,
    Please give me the procedure to establish the SNC connectivity between two SAProuter.
    Thanks and Regards,
    Atul

    Hi Atul,
    have tried the SDN Search Function with "snc AND saprouter"? It gave me this Links:
    SNC User Guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/snc user guide.pdf
    Configure Secure Network Communication SNC:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/configure secure network communication snc.pdf
    Regards
    Gregor

  • Backup and restore on solution manager in Windows

    Dear Team,
    I have one windows 2003 server in this 3 Harddisk Drive C , D , & E . In this solution manager and saprouter is installed.
    Now I want to move all these installation and data in other system.So that these same think Proper run in other system.l
    How I take the backup of old system and Restore in other new system.
    Because in this BRTOOLS not running.
    Whats is the process of take the backup and restore of solution manager in windows environment.
    pooja

    Hi,
    Solution Manager is dual stack system (ABAP+JAVA). Please refer this useful system Copy guide [How to System Copy ABAP and JAVA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f055cbd0-97f1-2a10-c09a-907b811de000?quicklink=index&overridelayout=true] to get more detailed information.
    You can use Database Independent or Database Specific method to perform such System Copy.
    You can refer this useful document [Homogeneous-System-Copy-using-OnlineandOffline-ORACLE Backup|http://www.basisconsultant.com/component/remository/Sytem-Copy-Guides/Homogeneous-System-Copy-using-OnlineandOffline-Backup/] to get step by step details. In Database specific method you will have to create JAVA export also in ABAP+JAVA stacks system.
    Regards,
    Bhavik G. Shroff

  • Saprouter installation

    hi
    Can SAProuter be installed on WindowsXP operating systemm
    please let me know.
    REgards
    Prasanna.B.S

    Hi! Manoj,
    Follow the steps :
    1) Create a folder saprouter in c:\usr\sap\saprouter
    2) copy niping.exe and saprouter.exe from kernel or sap marketplace
    3) Create a folder saprouttab. Create a text file in notepad without any ext .
    File name saprouttab.
    Contant looks like :
    P * 194.117.106.129 3299
    P 194.117.106.129 10.20.2.157 3389
    P 194.117.106.129 10.20.2.143 3389
    P 194.117.106.129 10.20.2.115 3389
    P 194.117.106.129 10.20.8.8   3389
    P 194.117.106.129 10.20.2.143 *
    P 194.117.106.129 10.20.2.157 *
    P 194.117.106.129 10.20.2.115 *
    P 194.117.106.129 10.20.8.8   *
    D * * *
    4)  Install the saprouter as servece and start it.
    For more details pl. consult Saprouter installation guide.
    regards,
    Pratip

  • SAPROUTER - how to check if SAP is logging in ?

    Hi,
    after i have created a message and opened connection for SAP in Marketplace, while waiting for their reply on the solution, is there any log i can check to verify that they have connected or are connecting to my system via saprouter ?
    i know a way to check is to check the logon status of the ID we provided to them, other than this what else can we check ?
    comment and advice will be highly appreciated.
    thanks.
    regards,
    kent

    karan & ashutosh's answers are the approach of checking the logon status in application or at OS level which i already know, anyway thanks for your suggestion.
    vamshi, well, logbook is a good place to check the status of the logon which i didn't make use of last time. i just did and found that it isn't that accurate also. because today SAP had problem logging in to my system via telnet 5250 connection, just now i checked the log, the status it shows "Log on" but actually they didn't manage to logon. later when i restart my saprouter and asked them to retry to logon, they manage to logon, and the logbook status also shows "Log on". one thing good about this logbook is it does show me the name of the SAP support who logged on.
    sergo, yup this is the way, it shows the time when it connects and when it disconnects, it shows the IP from SAP and the IP of my server that they are accessing. i had activated the log from below link, now only know how to make use of it.
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/992ed3446d11d189700000e8322d00/frameset.htm
    well, with the log from both the Logbook (marketplace) and saprouter i can tell WHEN and WHO logins to my system via saprouter.
    thanks all.
    regards,
    Kent

Maybe you are looking for