cancel
Showing results for 
Search instead for 
Did you mean: 

Missing library for SAProuter

Former Member
0 Kudos

Sorry my post looks terrible (based on the preview), how can I format this properly instead of one giant line?

Hello Experts,

I''m having a bit of trouble getting SAProuter to work. First let me give you some information about my system and steps I've already completed.

System Info:

System RHEL 5.x x86_64

Installed saprouter: saprouter_2-20002414.sar

Installed sapCryptoLibrary: 90000115.SAR (Linux X86_64)

Procedures:

1.) Received DN from service marketplace.

2.) Used DN and sapgenpse to generate a request.

3.) Imported certificate from service marketplace with sapgenpse.

3a.) assume my LD_LIBRARY_PATH includes libsapcrypto.so because sapgenpse works perfectly and the following (snipped) output from ldconfig -p:

[USER@hostname ~]# ldconfig -p | grep crypto

(...)

libsapcrypto.so (libc6,x86-64) => /usr/local/lib/linux-x86_64-glibc2.3/libsapcrypto.so

(...)

Problem:

When I run saprouter I receive the following error:

[USER@hostname saprouter]# cat dev_rout

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

-


Tue Sep 29 17:42:16 2009

SAP Network Interface Router, Version 39.2 (SP4)

command line arg 0: ./saprouter

command line arg 1: -r

command line arg 2: -K

command line arg 3: (substitute the DN given by Service Marketplace)

SncInit(): Initializing Secure Network Communication (SNC)

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

SncInit(): Trying builtin default as a

gssapi library name: "sncgss.so".

      • ERROR => DlLoadLib: dlopen()= sncgss.so: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success) [dlux.c 314]

      • ERROR => SncPDLInit(): DlLoadLib("sncgss.so")=DLENOACCESS

[sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) sncgss.so not loaded

[sncxxdl.0604]<<- SncInit()==SNCERR_INIT

sec_avail = "false"

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

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

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

*

  • ERROR SNC processing failed:

  • SncInit

*

  • TIME Tue Sep 29 17:42:16 2009

  • RELEASE 710

  • COMPONENT NI (network interface)

  • VERSION 39

  • RC -17

  • MODULE nisnc.c

  • LINE 560

  • DETAIL NiSncInit: sncrc=-1

  • COUNTER 3

*

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

<<- ERROR: SncDone()==SNCERR_INIT_FIRST

There is no sncgss.so on the system. I've installed the libgssapi package through yum, but am unable to find any packages for sncgss (yum, google, or swdc). Any pointers on where to obtain this library?

Kindest Regards,

Zach

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I fixed the issue a long time ago, but failed to remember to update the thread with the resolution. This resolution has long since been forgotten and has not been a problem with any of my subsequent deployments of SAProuter.

Former Member
0 Kudos

Hi,

I think the enviroment variable SNC_LIB is not set properly.

Can you check it.

Regards,

Sachin Rane

Former Member
0 Kudos
*Sorry my post looks terrible (based on the preview), how can I format this properly instead of one giant line?*

First paste the output, then select it and click on the "&lt;&gt;" (display text as code) icon at the top of the input window.

Hope this helps,

Mark

Former Member
0 Kudos

I just noticed there is a more appropriate forum for this post (Linux forum). Since this is now posted on the Linux forum, would a admin be able to delete this post? I'm sorry for improperly posting this here.

Kindest Regards,

Zach