cancel
Showing results for 
Search instead for 
Did you mean: 

SNC processing failed: SncSetMyNameU

Former Member
0 Kudos
8,169

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

*

View Entire Topic
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

ahmedzidan
Explorer
0 Kudos
Thanks a lot im using IDES EHP8 and it never worked for me until i changed the parameter as you said