cancel
Showing results for 
Search instead for 
Did you mean: 

SNC processing failed: SncSetMyNameU

Former Member
0 Kudos

I configured the snc conecction for SAP to connect to my server but the saprouter doesnu00B4t start, the log in the file dev_rout says

-


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

-


Mon Jul 31 13:58:02 2006

SAP Network Interface Router, Version 38.0

command line arg 0: G:\usr\sap\saprouter\saprouter.exe

command line arg 1: -r

command line arg 2: -S

command line arg 3: sapdp99

command line arg 4: -W

command line arg 5: 60000

command line arg 6: -R

command line arg 7: G:\usr\sap\saprouter\saprouttab

command line arg 8: -K

command line arg 9: CN=ramsapg01, OU=0000681331, OU=SAProuter, O=SAP, C=DE

command line arg 10: -G

command line arg 11: saprouter.log

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: "G:\usr\sap\saprouter\sapcrypto.dll".

File "G:\usr\sap\saprouter\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

      • ERROR => SncPSetNewName()==SNCERR_BAD_NT_PREFIX [sncxxall.c 2200]

SncPImportPrName() parsing error

name="CN=ramsapg01, OU=0000681331, OU=SAProuter, O=SAP, C=DE"

<<- SncSetMyName()==SNCERR_BAD_NT_PREFIX

in: myname = "CN=ramsapg01, OU=0000681331, OU=SAProuter, O=SAP, C=DE"

      • ERROR => NiSncInit: SncSetMyNameU failed (rc=-35;'CN=ramsapg01, OU=0000681331, OU=SAProuter, O=SAP, C=DE') [nisnc.c 663]

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

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

*

  • ERROR SNC processing failed:

  • SncSetMyNameU

*

  • TIME Mon Jul 31 13:58:02 2006

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -17

  • MODULE nisnc.c

  • LINE 661

  • DETAIL NiSncInit: sncrc=-35

  • COUNTER 3

*

Accepted Solutions (0)

Answers (9)

Answers (9)

former_member485744
Discoverer
0 Kudos

Hi,

Check for snc parameter "snc/identity/as".

It should be set with p/secude:CN=<SID>, O=SAP-AG, C=DE.

If it is set to any other values, correct it.

Eg:  snc/identity/as = p CN=ABC, O=XYZ, C=DE --> incorrect

snc/identity/as = p/secude:CN=ABC O=XYZ, C=DE --> corrected to bring system up

Regards

Prashasti

Former Member
0 Kudos

1. ERROR => SncPSetNewName()==SNCERR_BAD_NT_PREFIX  [sncxxall.c 2258]

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

File "/sapmnt/U7K/exe/libsapcrypto.so" dynamically loaded as GSS-API v2 library.

N    SECUDIR="/usr/sap/U7K/DVEBMGS17/sec" (from $SECUDIR)

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

N    Internal SNC-Adapter (Rev 1.1) to SAPCRYPTOLIB 5.x

N    Product Version = SAPCRYPTOLIB  5.5.5C pl38  (Oct  7 2014) MT,AESNI,NB

N  *** ERROR => SncPSetNewName()==SNCERR_BAD_NT_PREFIX  [sncxxall.c 2258]

N      SncPImportPrName() parsing error

N      name="p CN=U7K, O=SAP-AG, C=DE"

N  <<- SncInit()==SNCERR_BAD_NT_PREFIX

N           sec_avail = "false"

M  ***LOG R19=> ThSncInit, SncInitU ( SNC-000035) [thxxsnc.c    236]

M  *** ERROR => ThSncInit: SncInitU (SNCERR_BAD_NT_PREFIX) [thxxsnc.c    238]

M  in_ThErrHandle: 1

M  *** ERROR => SncInitU (step 1, th_errno 44, action 3, level 1) [thxxhead.c   11447]

########################################################################################

Solution :

We had this profile parametr wrong , there is space between P and CN

####################################################################

U7K_DVEBMGS17_ldciu7k:#snc/identity/as = p CN=U7K, O=SAP-AG, C=DE

####################################################################

Right Value : There should be a p/CN

#######################################################################

U7K_DVEBMGS17_ldciu7k:snc/identity/as = p/secude:CN=U7K, O=SAP-AG, C=DE

Regards

Rajashekar

Former Member
0 Kudos

Hi people.

Check note 1178684.

Former Member
0 Kudos

Hello guys,

I had same problem. When I looked into tracefile I saw the problem -> I was starting the SAPRouter with strange characters on the end. It was obvious copy/paste problem of my clipboard.

Just check how you executing the saprouter.

Rgds

Tom

Former Member
0 Kudos

Hey me too having the same problem..does anyone have any clue??

Regards,

Dinesh.

Former Member
0 Kudos

Dear Sharath Babu,

Have solved the issue...??

Im having the same problem....??

Warm regards,

Shah

BASIS Team

Former Member
0 Kudos

Dear All,

I am facing an Issue. I have opened a connection to SAP for DEV server as per the request of the functional Guy.

But I got a reply from SAP that they are unable to login to the system and they are getting the message "SNC processing failed: SNCprocess input."

The output in file dev_rout is as follows:

-


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

-


Tue Jun 26 21:03:03 2007

SAP Network Interface Router, Version 38.0

command line arg 0: saprouter

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=SAPSOL, OU=0000804670, 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:\saprouter\ntintel\sapcrypto.dll".

File "C:\saprouter\ntintel\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 = 3524, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

reading routtab: './saprouttab'

-


Please help

Regards

Sharath Babu M

SAP Basis Consultant

Former Member
0 Kudos

Hi,

Check whether you have downloaded the right crypotgraphic software.

i. http://service.sap.com/SWDC -->SAP CRYPTOGRAPHIC SOFTWARE

Download the Cryptographic software which suits our router system from the list of files available for download and place them in the folder "saprouter" along with the Router.exe and niping.exe in the Router system.

i. Setting of Environment Variables.

Under User Variables.

SECUDIR - <Drive>:\saprouter.

SNC_LIB - <Drive>:\saprouter\sapcrypto.dll

Under System Variables

Add the following in the Path variable at the end.

<Drive>:\saprouter\sapcrypto.dll;.;

Note : In our case the Router executables are placed in the <Drive>:\saprouter.

So the environmental variables are set accordingly.

Thanks,

Tanuj

Former Member
0 Kudos

Hi,

I have a similar problem.

The saprouter is installed under:

/usr/sap/saprouter/

And sapcryptolib:

/usr/sap/saprouter/sapcryptolib/

certificate is imported successfull.

User variables SECUDIR and SNC_LIB and LD_LIBRARY_PATH are set.

But if I start SAProuter I get following error:

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

Tue Jul  3 11:56:59 2007
SAP Network Interface Router, Version 38.10

command line arg 0:     ./saprouter
command line arg 1:     -r
command line arg 2:     -S
command line arg 3:     3299
command line arg 4:     -K
command line arg 5:     CN=uxlu0204, OU=0000859907, OU=SAProuter, O=SAP, C=DE
SncInit(): Initializing Secure Network Communication (SNC)
      Intel x86 with Linux (st,ascii,SAP_UC/size_t/void* = 8/32/32)
SncInit(): Trying environment variable SNC_LIB as a
      gssapi library name: "/usr/sap/saprouter/sapcryptolib/libsapcrypto.so".
  File "/usr/sap/saprouter/sapcryptolib/libsapcrypto.so" 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
*** ERROR => SncPSetNewName()==SNCERR_BAD_NT_PREFIX  [sncxxall.c 2200]
    SncPImportPrName() parsing error
    name="CN=uxlu0204, OU=0000859907, OU=SAProuter, O=SAP, C=DE"
<<- SncSetMyName()==SNCERR_BAD_NT_PREFIX
     in: myname = "CN=uxlu0204, OU=0000859907, OU=SAProuter, O=SAP, C=DE"
*** ERROR => NiSncInit: SncSetMyNameU failed (rc=-35;'CN=uxlu0204, OU=0000859907, OU=SAProuter, O=SAP, C=DE') [nisnc.c      663]
*** ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp   1219]

*****************************************************************************
*
*  ERROR       SNC processing failed:
*              SncSetMyNameU
*
*  TIME        Tue Jul  3 11:56:59 2007
*  RELEASE     700
*  COMPONENT   NI (network interface)
*  VERSION     38
*  RC          -17
*  MODULE      nisnc.c
*  LINE        661
*  DETAIL      NiSncInit: sncrc=-35
*  COUNTER     3
*
*****************************************************************************

What is missing?

Kind Regards

Christian

Former Member

Hi,

I have solved the problem on my own.

I have forgotten the "p:" in front of the Distinguished Name.

The right command is like that:

./saprouter -r -S 3299 -K "<b>p:</b>CN=uxlu0204, OU=0000859907, OU=SAProuter, O=SAP, C=DE"

Kind Regards

Christian

Former Member
0 Kudos

Hi,

Did you solve this issue?

I am also gettting the same error now.

Regards,

Abu Sandeep

Former Member
0 Kudos

Hi Henry Lopez,

Were you able to resolve this issue ?? I am getting the same error now. Please let me know the details of how you resolved it.

Thanks,

Shoban