Skip to Content
avatar image
Former Member

SNC Processing Failed starting the SAProuter

Dear Experts,

i have finished the configuration of SAProuter, while running the router i am getting the error "SNC Processing Failed." here may dev_rout file is

The command that i'm using is:

D:\usr\sap\saprouter>saprouter.exe -r -S 3299 -K "p:CN=SSAP00001PBBI, OU=0000893

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

-


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

-


* ERROR SNC processing failed:

* sncInit

* TIME Thu Sep 25 10:40:38 2008

* RELEASE 700

* COMPONENT NI <network interface>

* VERSION 38

* RC -17

* MODULE nisnc.c

* LINE 646

* DETAIL NiSncInit: sncrc=-1

* counter 3

What is the error here?

Thanks a lot

Edited by: Daniel Humberto Ramirez on Sep 25, 2008 6:31 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 29, 2008 at 08:38 AM

    Hello Daniel,

    As far as SAPRouter concern, please make sure that you have maintained the entries in hosts file at OS level. For example, if you are using Windows OS, then the path for this file is C:\WINDOWS\system32\drivers\etc\hosts.

    Hope it helps.

    Cheers,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, i've the ip registered on the host file, however, the problem is not resolved and the same error continuos.

      Can you please help me with other possible solution?

      Thanks a lot.

  • avatar image
    Former Member
    Sep 29, 2008 at 03:08 PM

    Hi Daniel,

    Looks like there is a problem with your SAP router's configuration with SNC, perhaps a problem with the certificate ? On the system running the SAP router do a 'sapgenpse get_my_name -n validity' - which should show the validity attribute of the certificate.

    Check http://service.sap.com/saprouter-sncdoc for further information.

    Could you also copy and paste the content of the dev_rout so that I can analyze it to assist you?

    Cheers,

    Satish

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, this is the dev_rout file,

      Thanks a lot!!!.

      -


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

      -


      Mon Sep 29 09:01:29 2008

      SAP Network Interface Router, Version 38.10

      command line arg 0: saprouter.exe

      command line arg 1: -r

      command line arg 2: -S

      command line arg 3: 3299

      command line arg 4: -K

      command line arg 5: p:CN=SSAP00001PBBI, OU=0000893577, OU=SAProuter, O=SAP, C=DE

      SncInit(): Initializing Secure Network Communication (SNC)

      PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)

      SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "D:\usr\sap\saprouter\ntintel\sapcrypto.dll".

      Mon Sep 29 09:01:30 2008

      • ERROR => DlLoadLib: LoadLibrary(D:\usr\sap\saprouter\ntintel\sapcrypto.dll) Error 193 [dlnt.c 237]

      • ERROR => SncPDLInit(): DlLoadLib("D:\usr\sap\saprouter\ntintel\sapcrypto.dll")=DLENOACCESS

      [sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) D:\usr\sap\saprouter\ntintel\sapcrypto.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 Mon Sep 29 09:01:30 2008

      • 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

  • avatar image
    Former Member
    Sep 29, 2008 at 04:43 PM

    Hello Daniel,

    Try to rename the sapcrypto.dll to sncgss32.dll and place it in the saprouter folder. In environment variable set the SNC_LIB=path of the DLL.

    Logoff and logon at OS level and start the SAPRouter.

    Hope it helps.

    Cheers,

    Satish.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Satish,

      I'm trying to do this connection for first time, however, I check with the network people of my company and i they told me that they are not blocking the tcp/ip ports. The files "cred_v2"& "local.pse" were created when i made the process of the configuration of the SAProuter and are on the saprouter directory.

      Do you know of another possible cause of my problem and the solution?

      Thanks again.