[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd startup error (ITS#1477)
Yep!! That is correct. Thank you much. It was SUDO.
LDB
Brynnen Owen wrote:
>>I have this startup error that is odd since everything
>>seemingly compiled well. So i trussed it on my Solaris 7
>>machine and come to find out the library it is looking for
>>does not exist in that directory but it does exist in /usr/local/lib.
>>I have my LD_LIBRARY_PATH set. Why does it not look in /usr/local/lib??
>>
>>Any ideas??
>>
>
> I believe that sudo removes any entries from LD_LIBRARY_PATH, as a
> root exploit is trivial otherwise.
>
>
>>ldb@xenia:/usr/local/encap/openldap-2.0.18/etc/openldap> sudo
>>../../libexec/slapd
>>ld.so.1: ../../libexec/slapd: fatal: libdb-3.1.so: open failed: No such
>>file or directory
>>Killed
>>
>>ldb@xenia:/usr/local/encap/openldap-2.0.18/etc/openldap> sudo truss
>>../../libexec/slapd
>>execve("../../libexec/slapd", 0xFFBEF6F4, 0xFFBEF6FC) argc = 1
>>open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
>>open("/usr/lib/libdb-3.1.so", O_RDONLY) Err#2 ENOENT
>>open("/dev/zero", O_RDONLY) = 3
>>mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
>>0) = 0xFF3A0000
>>ld.so.1: ../../libexec/slapd: fatal: libdb-3.1.so: open failed: No such
>>file or directory
>>write(2, " l d . s o . 1 : . . /".., 90) = 90
>>getpid() = 10555 [10554]
>> *** process killed ***
>>
>>--
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~~ Lawrence D. Bowie { lbowie4@home.com ~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ Lawrence D. Bowie { lbowie4@home.com ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~