Red Hat Bugzilla – Bug 370621
some slapd command line tools for fedora-ds fail
Last modified: 2015-01-04 18:29:19 EST
Description of problem:
command line tools don't work in 64-bit directory
Version-Release number of selected component (if applicable):
Name : fedora-ds-base
Arch : x86_64
Steps to Reproduce:
1. try running /usr/lib/dirsrv/slapd-SERVER/monitor
./monitor: line 13: ldapsearch: command not found
a number of items listed from the ldap server
The shell scripts don't call the correct version of ldapsearch on 64 bit
machines. The correct path to the various ldap helper applications is:
instead of the wrong path being:
perhaps both paths could be added for these calls
Are you using the 32bit fedora-ds-base on F7 64bit? I don't think that is
supported. You should use the 64bit fedora-ds-base on F7 64bit.
(In reply to comment #1)
> Are you using the 32bit fedora-ds-base on F7 64bit? I don't think that is
> supported. You should use the 64bit fedora-ds-base on F7 64bit.
I am using the 64bit on Fedora 7.
installation by: yum install fedora-ds-base
it appears to me that the scripts do not reference the /usr/lib64... paths
> Steps to Reproduce:
> 1. try running /usr/lib/dirsrv/slapd-SERVER/monitor
On my fedora-ds-base F7 x86_64 installation,
/usr/lib/dirsrv/slapd-SERVER/monitor does not exist - but
/usr/lib64/dirsrv/slapd-SERVER/monitor does, and it has the correct path. So
I'm a little bit confused as to why you would have /usr/lib/dirsrv on a 64bit
that's interesting, when I did a yum install on Nov 7, it installed both i386
and x86_64 - also, the update today updated both.
I did a check and I have both i386 and x86_64 installed. It appears that it
installed the system using i386 and wanted to use some i386 tools that didn't
exist except in the x86_64 - i.e. mozldap-tools.
I yum installed some samba tools yesterday -> smbldap-tools which may have
pulled in compatible tools. However, the install, and the update today did
"correct" the issue I reported:
/usr/lib/dirsrv/slapd-SERVER/monitor now works.
I think we can close this.