Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 10:49 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.