Skip to Content
avatar image
Former Member

SAP Router Service is not starting

Hi All,

I have installed the SAP Router using snc . When i try to start the saprouter i get the following error

I have pasted the trace file dev_rout below

SncInit(): Initializing Secure Network Communication (SNC)

PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)

SncInit(): Trying builtin default as a

gssapi library name: "sncgss32.dll".

  • ERROR => DlLoadLib: LoadLibrary(sncgss32.dll) Error 126 [dlnt.c 237]

Error 126 = "The specified module could not be found."

  • ERROR => SncPDLInit(): DlLoadLib("sncgss32.dll")=DLENOACCESS

[sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss32.dll not loaded

[sncxxdl.0604]<<- SncInit()==SNCERR_INIT

sec_avail = "false"

  • ERROR => NiSncInit: SncInit failed (rc=-1) [nisnc.c 647]

  • ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp 1219]

*

  • ERROR SNC processing failed:

  • SncInit

*

  • TIME Thu Jun 25 16:02:21 2009

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -17

  • MODULE nisnc.c

  • LINE 646

  • DETAIL NiSncInit: sncrc=-1

  • COUNTER 3

*

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

<<- ERROR: SncDone()==SNCERR_INIT_FIRST

I have followed the procedure as mentioned in http://service.sap.com/saprouter-sncadd

and http://service.sap.com/saprouter-sncdoc.

I do not see the file sncgss32.dll in my environment variables

The other point is im unable to ping the Router at SAP with this IP 194.39.131.34 . I suspect

it is an issue with PORT 3299 as it is not opened on the machine where SAPROUTER is installed.

Any inputs would be appreciated .

Regards,

Ershad Ahmed

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

11 Answers

  • avatar image
    Former Member
    Jun 25, 2009 at 11:53 AM

    Hi,

    Can you please check whether the following environment variables are set. If not set them accordingly.

    Add Variable <SNC_LIB> with Value <Drive>:\saprouter\sapcrypto.dll

    Add Variable <SECUDIR> with value <Drive>:\saprouter

    Log off and log in to the OS.

    Then check whether the SAPRouter service is starting or not.

    Thanks,

    Subhajit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2009 at 12:10 PM

    Hi Subhajit

    Thanks for the reply

    The environment variables are set correctly

    I have kept all the exectables under \usr\sap

    SECUDIR = C:\usr\sap

    SNC_LIB = C:\usr\sap\sapcrypto.dlll

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2009 at 12:38 PM

    Hi,

    Can you please rename sapcrypto.dll to sncgss32.dll and place it in the saprouter folder.

    As already mentioned, please set SNC_LIB = path of the DLL.

    Log off and log in again to the OS and restart SAPRouter. It should work.

    Thanks,

    Subhajit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2009 at 01:01 PM

    I have tried that already . Did not work .

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 26, 2009 at 07:16 AM

    Hi All,

    Today i deleted the SAPROUTER service which was installed.

    To start the SAPROUTER i used the command line option

    Example

    saprouter -r -K "p:CN=example, OU=0000123456, OU=SAProuter, O=SAP, C=DE"

    (I replaced this with our distinguished name CN=example, OU=0000123456, OU=SAProuter, O=SAP, C=DE)

    I checked the dev_rout trace file and found that there are no errors . Please find the trace file

    -


    trc file: "dev_rout", trc level: 1, release: "700"

    -


    Fri Jun 26 12:28:44 2009

    SAP Network Interface Router, Version 38.10

    command line arg 0: saprouter

    command line arg 1: -r

    command line arg 2: -K

    command line arg 3: p:CN=example, OU=0000123456, OU=SAProuter, O=SAP, C=DE"

    SncInit(): Initializing Secure Network Communication (SNC)

    PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/32/32)

    SncInit(): Trying environment variable SNC_LIB as a

    gssapi library name: "C:\usr\sap\sapcrypto.dll".

    File "C:\usr\sap\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

    The internal Adapter for the loaded GSS-API mechanism identifies as:

    Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2

    main: pid = 2764, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

    reading routtab: './saprouttab'

    So i logged into our Solution Manager system and went to SM59 and tested the connection and RFC connection is not working . Port 3299 is still not opened on our SAPROUTER . Will RFC connection work fine after the Port 3299 is opened???

    Any pointers would be helpful

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 26, 2009 at 10:43 AM

    Hi All,

    I Installed the SAPROUTER Service and i was able to start it sucessfully 😊

    when i check the status i get the following information

    C:\usr\sap>saprouter -l

    Fri Jun 26 16:10:15 2009

    SAP Network Interface Router, Version 38.10

    peer SAProuter with NI version 38 ...

    send info-request to running SAProuter ...

    SAP Network Interface Router running on port 3299 (PID = 440)

    Started on: Fri Jun 26 15:41:01 2009

    ID CLIENT | PARTNER service

    -


    +----


    1 localhost | (no partner)

    Total no. of clients: 1

    Working directory : C:\usr\sap

    Routtab : C:\usr\sap\saprouttab

    However i still have an issue when i check the connection from SM59 it is failing . Not sure what needs to be done now . Can anyone provide some inputs now.

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 26, 2009 at 10:47 AM

    From my router machine im not able to telnet to SAPROUTER it comes back with an error saying could not open connection on the host on 3299 : Connect failed .

    Can someone help me ?

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 27, 2009 at 04:54 PM

    Hi,

    check that

    1)3299 port is not blocked by other applicaton ,u can check that by netstat -a command and aslo check that port in services file which exist in

    C:\WINDOWS\system32\drivers\etc.

    2)check you have correct entry in saprouttab file. like below

    P * * *

    it will allow access to all ips

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2009 at 12:13 PM

    Hi All,

    We worked with our network team and were able to open the ports 3299 bidirectionally. Now i can do telnet to router

    which is located at SAP side and i can telnet to Router which is located at our end. in SM59 when i go to test the connection

    it comes back with error saying

    ERROR: SNC procesing failed: SncSessionInitator:AK

    when i check the Destination SAPOSS in SM59 i can see SNC option however it is disabled. Do we need to do something

    at the SAP level to fix this issue??

    Any inputs would be of great help .

    Regards,

    Ershad Ahmed

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2009 at 12:48 PM
    Add comment
    10|10000 characters needed characters exceeded