NDSTRACE not intializing properly

(Last modified: 17Jul2003)

This document (10064955) is provided subject to the disclaimer at the end of this document.

goal

NDSTRACE not intializing properly

fact

Solaris 8

Solaris 2.6

Novell eDirectory 8.5 for Solaris

DS version 85.12

symptom

NDSTRACE not intializing properly on Solaris

libdstrace.la module could not be loaded:  (-5997) command not recognized).

change

Invalid path structure or missing file in library path statement

cause

the snippet of a truss file immediately reveals numerous errors a sample of these are included below:

open("/home/n4u_cm/LatestNDSTAO-Test-Compl/nondebug/usr/lib/libposix4.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/wspro5.0/SUNWspro/lib/rw7/libposix4.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/wspro5.0/SUNWspro/lib/libposix4.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/ccs/lib/libposix4.so.1", O_RDONLY)        Err#2 ENOENT
open("/usr/lib/libposix4.so.1", O_RDONLY)        = 3
fstat(3, 0xEFFFF7AC)                                = 0

As you can see the NDSTRACE command when loading attempts to initialize multiple libraries. In this example you immediately see the ENOENT system call this error indicates that a specified file name should exist but doesn't, or one of the directories in a path name does not exist.

Further analysis of the truss file reveals many occurrences of the example listed concerning the ENOENT error. We have determined that in most cases the directory structure does not exist and if it does exist the library that is being requested to be opened is not present. This can lead to timing issues with the executable that will be exhibited as ·Library not found· messages. When the NDSTRACE executable is loading it must have the library files initialized properly otherwise these sporadic errors will continue to occur.

fix

Removal of the invalid search path statements and or invalid files is needed to resolve this issue

document

Document Title: NDSTRACE not intializing properly
Document ID: 10064955
Solution ID: NOVL58956
Creation Date: 24Sep2001
Modified Date: 17Jul2003
Novell Product Class:Novell eDirectory

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.