Solved

OpenLDAP on Red hat

Posted on 2014-09-08
3
784 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 78

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 96
ftp to port 21 4 66
error log using ftp 7 75
Post Clonezilla image restore issue 6 61
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

685 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