cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Router Issue

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member215981
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hi ,

i have adjusted the Env as defined

i am getting the below error

trcfile  dev_rout

no logging active

routtab  cannot open './saprouttab': EXIT PROGRAM !!!

         (running without saproutab is no longer supported for security reasons)

Could not open permission table

Regards,

Sandeep Singh

former_member215981
Active Participant
0 Kudos

Hello,

The filename should be saprouttab with no extensions.

Please delete the extension of your file name from "saprouttab.txt" to

"saprouttab"

Best Regards,

Yong Luo

Former Member
0 Kudos

Hi,

There is no saprouttab.txt in the directory.

WHICH.TXT

Ver555.pl34

LICENSE.TXT

LEGAL.TXT

linux-x86_64-glibc2.3

linux-x86_64.txt

ticket

Changelog.txt

SIGNATURE.SMF

SAPROUTTAB

saprouter

patches.mf

niping

certreq

baml

srcert

local.pse

cred_v2

saproutab

start.sh

.

..

dev_rout

Regards,

Sandeep Singh

steverumsby
Active Contributor
0 Kudos

You have a file "saproutab" and a file "SAPROUTTAB" - saprouter is looking for "saprouttab". I guess this is a case-sensitivity issue?

Steve.

Former Member
0 Kudos

Thanks alot Steve, i just over looked

Issue has been solved.

Regards,

Sandeep Singh

steverumsby
Active Contributor
0 Kudos

You're welcome! Sometimes you end up looking at a problem for so long you miss the obvious. Happens to me all the time. You just need somebody with fresh eyes to spot it.

Steve.

Answers (2)

Answers (2)

JoeyLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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