cancel
Showing results for 
Search instead for 
Did you mean: 

SAPRouter on Windows Server 2008 R2 / Service definition

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Have you followed all steps after creating this service from SAP note 525751 ?

Thanks

Sunny

martin_juen2
Contributor
0 Kudos

Hi,

No i didn'T. At the moment i do not want to to run the router as snc service...

Which step do you mean?

Should i open a SAP Message?

thanks,

Martin

Former Member
0 Kudos

No, don't open a SAP message. Just read this note: Note 41054 - Installation of the SAPRouter as NT Service

Kind regards,

Mark

sunny_pahuja2
Active Contributor
0 Kudos

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

martin_juen2
Contributor
0 Kudos

Thanks for your answers. I just had to edit the 'path to execute' in the registry. When finished the Router was able to start as a service.