LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2015, 03:20 AM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
Install openldap error


I just newly installed redhat 6.5 .

checked by rpm -qa |grep openldap checked have "openldap-2.4.40-7.el6_7.x86_64" , but when I want to use is openldap server , client , development .

when run yum install openldap, it pops " Package openldap-2.4.40-7.el6_7.x86_64 already installed and latest version" , when run yum install openldap-server , it pops "No package openldap-server available." , would advise how can I install all openldap package ?

thanks
 
Old 12-17-2015, 04:02 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
First, I suppose you mean RHEL 6.5. If so, please upgrade to RHEL 6.7, as you won't get any updates for 6.5.

Do a yum search ldap to find the correct packages.
 
Old 12-17-2015, 05:33 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please upgrade to 6.7

unless you are paying extra to lock it at 6.5

then please post the output of

Code:
su -
yum repolist all
 
Old 12-17-2015, 07:24 PM   #4
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
# yum repolist all
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel-media | 3.0 kB 00:00
repo id repo name status
rhel-media Red Hat Enterprise Linux 6.7 enabled: 16,341
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Sou disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x86_64 disabled
repolist: 16,341
 
Old 12-17-2015, 07:36 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
right here is a major problem
Quote:
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
register the install and buy the required license
https://www.redhat.com/apps/store/

if you do not pay for redhat then all you can install is what is on the install dvd
" rhel-media Red Hat Enterprise Linux 6.7 "



or

migrate to the FREE CentOS 6.7

Last edited by John VV; 12-17-2015 at 07:38 PM.
 
Old 12-17-2015, 08:04 PM   #6
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
right here is a major problem


register the install and buy the required license
https://www.redhat.com/apps/store/

if you do not pay for redhat then all you can install is what is on the install dvd
" rhel-media Red Hat Enterprise Linux 6.7 "



or

migrate to the FREE CentOS 6.7
thanks reply ,

the subscription-manager seems have been installed , I can install other packages by yum , but only can not install openldap-server ,openldap-client .


thanks
 
Old 12-17-2015, 08:15 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
What do you get when you search?
On my system, admittedly Centos 7:
Code:
$ yum search openldap
(... snip...)
openldap.i686 : LDAP support libraries
openldap.x86_64 : LDAP support libraries
openldap-clients.x86_64 : LDAP client utilities
openldap-devel.i686 : LDAP development libraries and header files
openldap-devel.x86_64 : LDAP development libraries and header files
openldap-servers.x86_64 : LDAP server
So, try the plural, openldap-servers and openldap-clients. And sort out the licensing, too.
 
Old 12-17-2015, 08:56 PM   #8
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
thanks reply ,

I have manuallly install the package .

but I am wonder why the openldap-server is not automatically installed by the command "yum install openldap" ? why I need to run "yum install openldap-server" ? in my previous redhat 6 , it can be do .

thanks
 
Old 12-18-2015, 01:16 AM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I started my Centos 6.7 system. Looks identical to Centos 7:
Code:
$ yum search openldap
(... snip ...)
openldap.i686 : LDAP support libraries
openldap.x86_64 : LDAP support libraries
openldap-clients.x86_64 : LDAP client utilities
openldap-devel.i686 : LDAP development libraries and header files
openldap-devel.x86_64 : LDAP development libraries and header files
openldap-servers.x86_64 : LDAP server
It turns out that the openldap package is installed on that system, but none of the others. So there is no dependency, i.e. installation of openldap won't automatically install clients or servers.

I can't tell if and why the packaging was different at an earlier release.
 
  


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
[SOLVED] OpenLDAP Install fails. BerklyDB (configure: error: BDB/HDB: BerkeleyDB not availabl) dreco84 Linux - Server 5 10-06-2011 03:04 AM
tag=97 error in openLDAP bluethundr Linux - Server 1 10-30-2010 03:45 PM
nss_ldap, openldap and openldap-server ... what is openldap for? chakkerz Linux - Server 2 08-13-2009 07:16 PM
openldap make error 1 ikinnu Linux - Software 14 06-12-2008 03:59 AM
OpenLDAP Authentication error paul_mat Linux - Networking 1 07-18-2005 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:29 PM.

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