Solved

OpenLDAP on Red hat

Posted on 2014-09-08
3
728 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 62

Assisted Solution

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

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

770 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