4
7/30/2019 sapnote_0000525751 http://slidepdf.com/reader/full/sapnote0000525751 1/4 14.12.2012 Page 1 of 4 SAP Note 525751 - Installation of the SNC SAPRouter as NT Service  Note Language: English Version: 14 Validity: Valid Since 21.03.2003 Summary Symptom Setting up the SNC SAProuter as a Windows NT service. Other terms Reason and Prerequisites Minimum: Saprouter version 31 Solution If the Saprouter has already been entered as a service with srvany.exe, the definition of the service from the registry (path: HKLM -> System -> CurrentControlSet -> Services -> SAPRouter) should first be removed and then the machine should be rebooted. With the following command you can newly define the service from the command line: ntscmgr install saprouter -b <path>\saprouter.exe -p "service -r -W 60000 -R <path>\saprouttab -K ^p:<your_distinguished_name>^" o Replace <path> with the corresponding path to saprouter.exe and <your_distinguished_name> with the "Distinguished Name" registered for your installation from the Trust Center Service - Download Area. It is important that all parameters be in a character string delimited by ". o As of version 25 (3.0E) a route permission table file (SAPROUTTAB) must be specified for the Saprouter (see also Note 30289 or goto the following link at http://service.sap.com/saprouter-sncdoc). o Edit the string in the registry under MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ saprouter and change ^ to " under ImagePath. o Additionally you'll have to do the following steps to make SAPCRYPTOLIB credentials available to a process that runs as an NT service Run the command: sapgenpse seclogin -p <path>\<psefile> -O <SNC_admin> Note: The account of the service user should always be entered in full <domainname>\<username>

sapnote_0000525751

Embed Size (px)

Citation preview

Page 1: sapnote_0000525751

7/30/2019 sapnote_0000525751

http://slidepdf.com/reader/full/sapnote0000525751 1/4

14.12.2012 Page 1 of 4

SAP Note 525751 - Installation of the SNC SAPRouter as NTService

 Note Language: English Version: 14 Validity: Valid Since 21.03.2003

Summary

Symptom 

Setting up the SNC SAProuter as a Windows NT service.

Other terms

Reason and Prerequisites

Minimum: Saprouter version 31

Solution

If the Saprouter has already been entered as a service with srvany.exe, the

definition of the service from the registry (path: HKLM -> System ->

CurrentControlSet -> Services -> SAPRouter) should first be removed and

then the machine should be rebooted.

With the following command you can newly define the service from the

command line:

ntscmgr install saprouter -b <path>\saprouter.exe -p "service -r -W

60000 -R <path>\saprouttab -K ^p:<your_distinguished_name>^"

o Replace <path> with the corresponding path to saprouter.exe and

<your_distinguished_name> with the "Distinguished Name" registered

for your installation from the Trust Center Service - Download

Area. It is important that all parameters be in a character stringdelimited by ".

o As of version 25 (3.0E) a route permission table file (SAPROUTTAB)

must be specified for the Saprouter (see also Note 30289 or goto

the following link at http://service.sap.com/saprouter-sncdoc).

o Edit the string in the registry under

MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

saprouter

and change ^ to " under ImagePath.

o Additionally you'll have to do the following steps to make

SAPCRYPTOLIB credentials available to a process that runs as an NT

service

Run the command:

sapgenpse seclogin -p <path>\<psefile> -O <SNC_admin>

Note:

The account of the service user should always be entered in full<domainname>\<username>

Page 2: sapnote_0000525751

7/30/2019 sapnote_0000525751

http://slidepdf.com/reader/full/sapnote0000525751 2/4

14.12.2012 Page 2 of 4

SAP Note 525751 - Installation of the SNC SAPRouter as NTService

o Check if the certificate has been imported correctly

Run the command:

sapgenpse get_my_name -v -n Issuer

The name of the Issuer should be:

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

o Check if the environment variables SNC_LIB and SECUDIR has been set

under the user account SAProuter is running under

Run the command:

sapgenpse

o Check if your Distinguished Name and the validity date is correct

Run the command:

sapgenpse get_my_name

Proceed as follows after the installation to maintain the general

attributes of the service:

o Go to 'Control Panel -> Services: SAPRouter -> Button: Startup',

set the startup type to 'Automatic' and enter the user <SNC_admin>.

The SAPRouter should NOT run under the system account.

o 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) canbe 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.

SAPRouter on a firewall computer:

----------------------------------------

The NTSCMGR utility creates the SAPRouter Service with predefineddependencies from NT Workstation Service and NT Server Service. If the

SAPRouter is to be installed on a firewall and if the Server Service is to

Page 3: sapnote_0000525751

7/30/2019 sapnote_0000525751

http://slidepdf.com/reader/full/sapnote0000525751 3/4

14.12.2012 Page 3 of 4

SAP Note 525751 - Installation of the SNC SAPRouter as NTService

be stopped, the dependencies of the SAPRouter need to be adjusted. To do

so, open the registry editor (REGEDT32.EXE) and switch to the following

subkey:

HKLM\System\CurrentControlSet\Services\SAPRouter

Double-click the parameter DependOnService on the right hand side of the

window and delete the entry 'LanmanServer' from the displayed list. Exit

the registry editor and restart SAPRouter Service.

Header Data

Release Status: Released for Customer

Released on: 21.03.2003 08:08:50

Master Language: English

Priority: Recommendations/additional info

Category: Installation informationPrimary Component: XX-SER-NET-RCSC Remote Connection / Service

Connection

The Note is release-independent

Related Notes

Number Short Text

618053 Download Location for NTSCMGR.EXE

482466 Installation: SNC protected Internet customer connection

455033 SAPCRYPTOLIB versions, bugs and fixes

397175 SAP Cryptographic Software - Export control

137342 Schedule - connection to SAP extranet, OSS and SAPNet

41054 Installation of the SAPRouter as NT Service30289 SAProuter documentation

24177 OSS1: Message S1452: Connection to Message Server

19466 Downloading SAP kernel patches

 Attachments

Page 4: sapnote_0000525751

7/30/2019 sapnote_0000525751

http://slidepdf.com/reader/full/sapnote0000525751 4/4