[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: No such Object



Make sure that your slapd is using the slapd.conf file you think it is:

	su root -c /usr/local/libexec/slapd -f myslapd.conf

is not the same as:

	su root -c '/usr/local/libexec/slapd -f myslapd.conf'

If in doubt, use the latter syntax or su - to root and then start slapd. 
This problem caused me a lot of grief when I was starting out...

-Deke

Stephen A. Cochran [Stephen.A.Cochran@Hitchcock.ORG] wrote:
>  
> Hello all, I'm new to the list so bear with me. 
> 
> I was having the same problem as described in the archives with this 
> same title as the thread. I'm using Openldap (stable) on SunOS 5.7, and 
> everything seems to be running correctly.  
> 
> Several times now I have used ldif2ldbm to populate the database, but 
> every time I try and do a search, I don't get anything. I have tried 
> slight variations on this, but the commands I'm using is: 
> 
> ldapsearch -h localhost -p 1029 -b ' 
> dc=hitchcock,dc=org' 'cn=Angus' 
> 
> Following the suggestions from those posts, I have double-checked my 
> settings in slapd.conf and recreated the database and indexs. 
> 
> The same thing happens when using ldbmtest. I can't locate anything by 
> index, but I can do a 'le' (lookup by index), type in a number and get 
> that entry, so it looks like the database is working at least. 
> 
> Any suggestions? TIA 
> 
> Steve Cochran 
> Dartmouth-Hitchcock Medical Center 
>