LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-30-2009, 01:35 AM   #1
pbbhatt
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
Problem in LDAP Server


Hi...

I am going to install LDAP server in RHEL4, i have finished all the entry and command. Now i run this command to import *.ldif file to LDAP, it showing me following error.

coomnd:

ldapadd -x -D "cn=root,dc=forte,dc=com" -W -f root.ldif

"Now it ask for password"

Enter LDAP Password:

Here i have enter LDAP server password, at installation time when i created. Now it give this error...

ldap_bind: Can't contact LDAP server (-1)


KIndly give me solution....

Regards,
Pinakin
 
Old 03-30-2009, 02:07 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Are you sure that slapd is running? Run
Code:
ps -ef|grep slapd
to check
 
Old 03-30-2009, 05:31 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well we have to start are the server not even running, or being reachable on your network. add a few -v's to the command line for more information.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM
problem configuring LDAP server rajeev1982 Linux - Server 1 11-04-2007 03:59 PM
LDAP Server starting problem 4ajaysingh Linux - Networking 1 03-22-2007 03:25 AM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration