Solved

OpenLDAP on Red hat

Posted on 2014-09-08
3
703 Views
Last Modified: 2014-09-09
I am running Red Hat 6.x

I previously installed OpenLDAP successfully

[root@mmclnt1 ~]# yum install openldap
...
Package openldap-2.4.23-34.el6_5.1.x86_64 already installed and latest version
Nothing to do

Open in new window


So now I want to start it and add a couple entries for future use authenticating remote servers.

I try the following:
[root@mmclnt1 etc]# ps -ef | grep ldap
root     20609 20519  0 16:33 pts/2    00:00:00 grep ldap

Open in new window


So it is not running.  So from these instructions

http://www.howtoforge.com/linux_openldap_setup_server_client

I try the following:

[root@mmclnt1 etc]# chkconfig --levels 235 ldap on
error reading information on service ldap: No such file or directory
[root@mmclnt1 etc]#
[root@mmclnt1 etc]#
[root@mmclnt1 etc]# service ldap start
ldap: unrecognized service
[root@mmclnt1 etc]#

Open in new window



How do I start LDAP ?

How do I turn it off ?

Thanks
0
Comment
Question by:Anthony Lucia
3 Comments
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 300 total points
ID: 40311067
Hi


try the following commands

Start the slapd process and service at system bootup
[root@test1 ~]# service slapd start
Starting slapd:                                            [  OK  ]
[root@test1~]# chkconfig slapd on

this shall work for u

Regards.
0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 100 total points
ID: 40311172
Chkconfig --list | more
To see what components you have.
Yum search ldap
You may have only installed the client components.

Posting links it is a guess on our part that you followed the instruction and all works fine.
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 100 total points
ID: 40311554
I think you missed openldap-server install...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 55
linux apache localhost dev laptop 5 48
BASH script to modify crontab? 3 50
nagios alerts 3 33
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now