000021874 - Unable to query ldap server with sdaceldap utility

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000021874
Applies ToRSA ACE/Server 5.0 (no longer supported as of 8-15-2004)
RSA ACE/Server 5.0.1 (no longer supported as of 8-15-2004)
UNIX (AIX, HP-UX, Solaris)
sdaceldap
IssueUnable to query ldap server with sdaceldap utility
sdaceldap fails with any of the below listed errors
Fatal Error: Sd_ApiInit Error Unable to determine current host
Fatal Error: Interprocess communication failed!
Fatal Error: Sd_ApiInit Error User root is not ACE/Server Administrator
ld.so.1: ./sdaceldap: fatal: libldapssl41.so: open failed: No such file or directory
sdaceldap core dumps with the following error message on HP-UX 11.0:
/usr/lib/dld.sl: Can't open shared library: /proj/ace/src//aceldap/libraries/HPUX/libldapssl30.sl
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)
sdaceldap core dumps with the following error message on Solaris:
ld.so.1: ./sdaceldap: fatal: libldapssl41.so: open failed: No such file or directory
Killed
sdaceldap core dumps with the following error message on AIX:
exec(): 0509-036 Cannot load program ./sdaceldap because of the following errors
:
       0509-150   Dependent module libldapssl41.so could not be loaded.
       0509-022 Cannot load module libldapssl41.so.
       0509-026 System error: A file or directory in the path name does not exist.

Requires environment setting LIBPATH
CauseThis is due to insufficient or incorrect variables being set in the current user environment, for example to find libldapssl the shared library path must be set.
ResolutionSet the following variables in the current shell and export as necessary:
1. Run the program ace/utils/toolkit/admenv
2. Set the variables USR_ACE, VAR_ACE, DLC, PROPATH, and the appropriate shared library path (LD_LIBRARY_PATH, SHLIB_PATH) as shown

For Example (ksh, bash, sh):

USR_ACE=/opt/ace/prog
VAR_ACE=/opt/ace/data
DLC=/opt/ace/rdbms
PROPATH=/opt/ace/prog/proapi/adbapi.pl:/opt/ace/prog/protrig:/opt/ace/prog/proapi:/opt/ace/prog
LD_LIBRARY_PATH=/opt/ace/prog
export USR_ACE VAR_ACE DLC PROPATH LD_LIBRARY_PATH

For Example (csh):

setenv VAR_ACE /opt/ace/data
setenv USR_ACE /opt/ace/prog
setenv DLC /opt/ace/rdbms
setenv PROPATH /opt/ace/prog/proapi/adbapi.pl:/opt/ace/prog/protrig:/opt/ace/prog/proapi:/opt/ace/prog
setenv LD_LIBRARY_PATH /opt/ace/prog

NOTE: Your actual path may differ!
Legacy Article IDa6420

Attachments

    Outcomes