cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SAP Router installation

Former Member
0 Kudos

We are in the process of installation of SAP Router and we are stuck with this error when we try to execute the saprouter.exe command.

When we try to start the SAP Router from the services.msc tool, it says "Error/ Unable to start the Router service from Local Computer"

Please suggest a solution for this. It is important to get it started by today,

D:\usr\sap\saprouter>saprouter.exe -r -R D:\usr\sap\saprouter\saprouttab -K "p:

CN=hpsap5, OU=0000033617, OU=SAProuter, O=SAP, C=DE"

trcfile  dev_rout

*****************************************************************************

*

*  ERROR       SNC processing failed:

*              SncSetMyNameU

*

*  TIME        Thu Mar 21 14:56:29 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -17

*  MODULE      nisnc.c

*  LINE        576

*  DETAIL      NiSncInit: sncrc=-4

*  COUNTER     3

*

*****************************************************************************

D:\usr\sap\saprouter>sapgenpse get_my_name

SSO for USER "sapadmin"

  with PSE file "D:\usr\sap\saprouter\local.pse"

Subject : CN=hpsap5, OU=0000033617, OU=SAProuter, O=SAP, C=DE

Issuer  : CN=SAProuter CA, OU=SAProuter, O=SAP, C=DE

Serialno: 65:7B:30:68:BD:D7:67:6E:10:02:02:58:19

KeyInfo : RSA, 2048-bit

Validity  -  NotBefore:   Thu Mar 21 11:36:59 2013 (130321113659Z)

              NotAfter:   Fri Mar 21 11:36:59 2014 (140321113659Z)

Accepted Solutions (0)

Answers (5)

Answers (5)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

On Windows you need to register the saprouter as a service.

Here is what the installation guide says:

Installation on Windows

Prerequisites

You have the latest version of SAProuter (available from the SAP Service Marketplace

(http://service.sap.com/patches) (see Installation of the SAProuter [page 12]), and have read

the readme file.

The SAProuter version must not be under 23.

Procedure

1. Create the subdirectory saprouter in the directory <drive>:\usr\sap.

2. Download the latest version of the SAProuter from SAP Service Marketplace. Read the

README file in this package. Copy the executables saprouter.exe and

niping.exe to the directory you have just created.

If there is no SAProuter there, you can get a version (may be obsolete) from your

directory <drive>:\usr\sap\<SID>\SYS\exe\run.

3. If SAProuter has already been entered as a service with srvany.exe, remove the

definition of the service from the Registry and restart the host.

4. Define the service with the following command:

ntscmgr install SAProuter -b ...\saprouter\saprouter.exe -p

“service -r <parameter>“

Note:

The points stand for <drive>:\usr\sap

<parameter> can be replaced by other parameters with which SAProuter is to be

started. See SAProuter Options [page 51]). It is important that the parameters are

within the character string enclosed in double quotation marks.

5. Define standard service properties in Control Panel → Services, set the startup type to

“automatic” and enter a user. SAProuter should not run under the system account.

6. To avoid the error message “The description for Event ID (0)” in Windows NT event log,

you have to enter the following in the registry: Under HKEY_LOCAL_MACHINE →

SYSTEM → CurrentControlSet → Services → Event Log → Application enter the key

saprouter and define the following values for it:

EventMessageFile (REG_SZ): ....\saprouter\saprouter.exe

TypesSupported (REG_DWORD): 0x7

These adjustments are not obligatory for running SAProuter. They are only used

for providing detailed error messages in the event log.

Maintain the Route Permission Table [page 23] in the system32 Windows directory. If you

want to keep it in another directory or under a name other than saprouttab, you must

specify this with the SAProuter option -R (see Option R <routtab> [page 59]).

Check the installation guide for information.

Cheers

RB

former_member185239
Active Contributor
0 Kudos

Hi Phanindra,

Please apply the below SAP Note :

Note 1178684 - No service connection:"SNC processing failed"

With Regards

Ashutosh Chaturvedi

AtulKumarJain
Active Contributor
0 Kudos

Hi Phanindra,

Please check

http://scn.sap.com/thread/1919366

it seems issue with parameter

snc/identity/as /86/03588c3ede4839ab1c5213cf4330cb/frameset.htm

Best Regards,

Atul

Former Member
0 Kudos

Hi,

     It seems that the command line you are using is wrong.

Run the following command to Start SAP Router

# saprouter -r -S 3299 -V 3 -K "p:CN=<saprouter hostname>, OU=< Customer number >,

OU=SAProuter,O=SAP, C=DE" &

Above value of CN is nothing but Distinguished name which you check on SAP Market Place earlier

Check the log

Please check the below link on configuring SAPRouter... PLease check the settings once again.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c06c8846-c160-2d10-d18e-d9961e9c7...

Thanks and Regards,

Vimal

Former Member
0 Kudos

HI,

Please have  a check on the below note too.

Note 856809 - SncSetMyName() in Unicode-binaries ignores name parameter

Thanks and Regards,

Vimal

former_member188883
Active Contributor
0 Kudos

Hi Phanindra,

Are you starting the service with the user with which you have installed SAProuter ?

Regards,

Deepak Kori