cancel
Showing results for 
Search instead for 
Did you mean: 

SNC Processing Failed starting the SAProuter

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi, my error continuos.

This is the new dev_rout file:

-


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

-


Mon Sep 29 11:46:58 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\sncgss32.dll".

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

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

[sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) D:\usr\sap\saprouter\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 Mon Sep 29 11:46:58 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

Thanks a lot.

Former Member
0 Kudos

Hello Daniel,

Are you facing this issue for the first time? I am asking this because, the trace file and the procedure you are following looks like proper.

If you are facing this for the first time, then, the possible cause could be the Firewall, If you are configuring this for you company, then, please check with your network people that they are not blocking tcp/ip ports. If they are, then ask them to not to block the tcp/ip ports. If you are configuring this on your PC, then turn off the Windows Firewall in Control Panel as well as in services.msc.

Also please make sure that the saprouter folder contains the files "cred_v2"& "local.pse" which were generated during the certificate generation process. If you don't see then, copy those files to the saprouter directory and started the router.

Hope it helps,

Cheers,

Satish.

Edited by: Satish Arram on Sep 29, 2008 10:53 PM

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.