LDAP running, but not responding

I have LDAP running under RedHat, but when I try to connect to it I get a report that it isn't running.  Since the process is definately running, I tested it with

# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#

# search result
search: 2
result: 0 Success

# numResponses: 1

So the result is a success, but no namingContext is returned.

Any ideas why it would run and be configured (the config files are from another working machine) but not responding.
LVL 11
KurtVonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
Maybe your database is empty or not running? Try to populate your ldap database with some data.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KurtVonAuthor Commented:
Copied the whole database directory from the old machine.  I even double checked -- it's chock full of data.
0
rindiCommented:
Is it also running?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

KurtVonAuthor Commented:
It's using ldbm.  There are no error messages, but there is also no indication it is running.  I assumed slapd would start it.  How do I check?
0
rindiCommented:
It's a long time i've done anything witth ldap, I don't really remember. Have you just rebooted the server, that might start all the necessary daemons?
0
KurtVonAuthor Commented:
I used to work in Windows -- rebooting was the first thing I tried :-)
0
linux2000inCommented:
Hi  KurtVon,

If your are new to LDAP i suggest you one good Open LDAP Client it is javabased..1st try to use LDAP using java based client .. What ever action u done using client that shows in logfile as well as small status bar at bottom of client GUI. So u will easy handle LDAP ...

Download it..

http://www-unix.mcs.anl.gov/~gawor/ldap/

quick connect : Host : enter IP where LDAP server is running.
than                Port      : 389
                      UserDN : cn=admin o=rootname..

Regards,
linux2000in
linux2000in at yahoo dot com
0
cjl7freelance for hireCommented:
Hi,

Do a search without any objects (show all data)

Or do a "slapcat" (shold give you the full database...)


//jonas
0
KurtVonAuthor Commented:
Hmm, "slapcat: could not open database."  Unfortrunately, that's in verbose mode.  I'm guessing teh database isn't running after all.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.