Solved

OpenLDAP on Red hat

Posted on 2014-09-08
3
670 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 76

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

746 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

10 Experts available now in Live!

Get 1:1 Help Now