Skip to Content
avatar image
Former Member

SAP Router Issue

Hi Techies,

i have a SAP router installed on a separate server and we have start the router successfully intially.

some how the router has gone down. when trying to start SAP Router getting the below error.

dev_rout:

->> SncInit(prg=0, ini_fname=(NULL), &sec_avail=0x7fff0158c21f)

SncInit(): Initializing Secure Network Communication (SNC)

      AMD/Intel x86_64 with Linux (st,ascii,SAP_UC/size_t/void* = 8/64/64)

      UserId="vishal" (1234123), envvar USER="Sandeep"

SncInit(): Trying builtin default as a

      gssapi library name: "sncgss.so".

*** ERROR => DlLoadLib()==DLENOACCESS - dlopen("sncgss.so") FAILED

  "sncgss.so: cannot open shared object file: No such file or directory"  [dlux.c       445]

*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter #1 (sncgss.so) not loaded [sncxxdl.c  732]

<<- SncInit()==SNCERR_INIT

         sec_avail = "false"

*** ERROR => NiSncInit: SncInit failed (sncrc=-1) [nisnc.c      562]

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

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

*

*  ERROR       SNC processing failed:

*              SncInit

*

*  TIME        Thu May 23 14:49:32 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -17

*  MODULE      nisnc.c

*  LINE        560

*  DETAIL      NiSncInit: sncrc=-1

*  COUNTER     4

*

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

->> SncDone()

<<- ERROR: SncDone()==SNCERR_INIT_FIRST

NiIExit: free nitab 0x7f9610cff010

Regards,

Sandeep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    May 23, 2013 at 07:00 AM

    Hello

    Please defined the following environment variables
    on your saprouter machine and then reboot it .

    SECUDIR=<directory_of_saprouter>
    SNC_LIB=<path_to_libsecude>/<name_of_sapcrypto_library>

    Best Regards,

    Yong Luo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2013 at 07:10 AM

    Sandeep,

    There are two things to look at here.

    1. SNC/enable is set

    2.Below env variables must be set to the owner of Saprouter executables

    setenv SECUDIR /usr/sap/saprouter

    setenv SNC_LIB /usr/sap/saprouter/libsapcrypto.so

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2013 at 07:17 AM

    Hi Sandeep,

    Please ensure that the following environment variables have been

    defined and exported in your saprouter server.

    SNC_LIB = <path_to_libsecude>/<name_of_sapcrypto_library>

    SECUDIR = <directory_of_saprouter>

    Best Regards,

    Joey

    Add comment
    10|10000 characters needed characters exceeded