cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Installing SAPRouter as Service with NTSCMGR

Colorado
Explorer
0 Kudos

Hi all,

I've checked several related threads, but they all seemed to be able to at least install it, which is what I am having a problem with.

1) I am running SNC for SAPRouter.

2) I can start it ok manually from command line.

I am now trying to install it as a service using NTSCMGR and the following command:

ntscmgr install SAProuter -b e:\usr\sap\saprouter\saprouter.exe -p u201Cservice -r -S 3299 -K p:CN=XXXXXX, OU=0000######, OU=SAProuter, O=SAP, C=DEu201C

Obviously XXXX and #### are my own values which work at the command line.

When I execute the command, NTSCMGR returns a standard syntax assist, as if I had entered something incorrectly. I am following the saprouter documentation, and this is also what other people have reported as having worked for them.

Can anyone see what I may be doing wrong?

Steve

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi,

You install the saprouter as windows service using the command

ntscmgr install SAProuter -b C:\usr\sap\saprouter.exe -p service

Then change the registry entry for this service to the following

<Path of SAProuter> saprouter.exe service -r -S 3299 -K "<Distinguished NAME>"

Regards,

Deepak Kori

Colorado
Explorer
0 Kudos

Deepak,

Thanks for your answer. I had used SC.EXE to install a service > changed the registry, but still wasn't able to get it exactly right.

I tried the string you listed (with one modification) and it was able to start. It gave me an error without the p: in front of the distinguished name.

The exact string that worked was as follows:

e:\usr\sap\saprouter\saprouter.exe service -r -S 3299 -K "p:CN=XXXXXX, OU=0000######, OU=SAProuter, O=SAP, C=DE"

Points awarded, thanks again.