LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-31-2004, 07:18 AM   #1
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Rep: Reputation: 15
rpm -q not shows installed rpm


Hi,
few days ago I posted a question about problems with LDAP installation/update on Fedora.
Dependencies was never solved...

I installed Suse 9.0.
Everything was installed without any trouble.
Before I'll start LDAP configuration I want to check if required packages are installed.

I am a bit confused. May be somebody can explain the result of this output :
(looks like all files are there but rpm -q cannot find the package)

roll:~ # rpm -q openldap
package openldap is not installed
roll:~ # rpm -q openldap-server
package openldap-server is not installed
roll:~ # locate openldap
/etc/openldap
/etc/openldap/ldap.conf
/etc/openldap/ldap.conf.default
/etc/openldap/schema
/etc/openldap/schema/corba.schema
/etc/openldap/schema/corba.schema.default
/etc/openldap/schema/core.schema
/etc/openldap/schema/core.schema.default
/etc/openldap/schema/cosine.schema
/etc/openldap/schema/cosine.schema.default
/etc/openldap/schema/inetorgperson.schema
/etc/openldap/schema/inetorgperson.schema.default
/etc/openldap/schema/java.schema
/etc/openldap/schema/java.schema.default
/etc/openldap/schema/misc.schema
/etc/openldap/schema/misc.schema.default
/etc/openldap/schema/nis.schema
/etc/openldap/schema/nis.schema.default
/etc/openldap/schema/openldap.schema
/etc/openldap/schema/openldap.schema.default
/etc/openldap/schema/README
/etc/openldap/schema/rfc2307bis.schema
/etc/openldap/schema/samba.schema
/etc/openldap/schema/yast2userconfig.schema
/etc/openldap/slapd.conf
/etc/openldap/slapd.conf.default
/etc/sysconfig/openldap
/usr/lib/openldap
/usr/lib/openldap/modules
/usr/lib/openldap/modules/back_ldap.la
/usr/lib/openldap/modules/back_ldap.so
/usr/lib/openldap/modules/back_ldap.so.2
/usr/lib/openldap/modules/back_ldap.so.2.0.122
/usr/lib/openldap/modules/back_meta.la
/usr/lib/openldap/modules/back_meta.so
/usr/lib/openldap/modules/back_meta.so.2
/usr/lib/openldap/modules/back_meta.so.2.0.122
/usr/lib/openldap/modules/back_monitor.la
/usr/lib/openldap/modules/back_monitor.so
/usr/lib/openldap/modules/back_monitor.so.2
/usr/lib/openldap/modules/back_monitor.so.2.0.122
/usr/lib/openldap/modules/back_perl.la
/usr/lib/openldap/modules/back_perl.so
/usr/lib/openldap/modules/back_perl.so.2
/usr/lib/openldap/modules/back_perl.so.2.0.122
/usr/lib/openldap/slapd
/usr/lib/openldap/slurpd
/usr/share/doc/packages/openldap2
/usr/share/doc/packages/openldap2/admin-guide
/usr/share/doc/packages/openldap2/admin-guide/autoconf.html
/usr/share/doc/packages/openldap2/admin-guide/config.html
/usr/share/doc/packages/openldap2/admin-guide/copyright.html
/usr/share/doc/packages/openldap2/admin-guide/dbtools.html
/usr/share/doc/packages/openldap2/admin-guide/index.html
/usr/share/doc/packages/openldap2/admin-guide/install.html
/usr/share/doc/packages/openldap2/admin-guide/intro.html
/usr/share/doc/packages/openldap2/admin-guide/LDAPlogo.gif
/usr/share/doc/packages/openldap2/admin-guide/license.html
/usr/share/doc/packages/openldap2/admin-guide/preface.html
/usr/share/doc/packages/openldap2/admin-guide/quickstart.html
/usr/share/doc/packages/openldap2/admin-guide/referrals.html
/usr/share/doc/packages/openldap2/admin-guide/replication.html
/usr/share/doc/packages/openldap2/admin-guide/runningslapd.html
/usr/share/doc/packages/openldap2/admin-guide/sasl.html
/usr/share/doc/packages/openldap2/admin-guide/schema.html
/usr/share/doc/packages/openldap2/admin-guide/security.html
/usr/share/doc/packages/openldap2/admin-guide/slapdconfig.html
/usr/share/doc/packages/openldap2/admin-guide/tls.html
/usr/share/doc/packages/openldap2/ANNOUNCEMENT
/usr/share/doc/packages/openldap2/CHANGES
/usr/share/doc/packages/openldap2/COPYRIGHT
/usr/share/doc/packages/openldap2/drafts
roll:~ #
 
Old 10-31-2004, 09:15 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
what about this:

rpm -qa | grep openldap
 
Old 10-31-2004, 12:14 PM   #3
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
Are they installed? I saw openldap-server during update...

roll:/ # rpm -qa | grep openldap
openldap2-2.1.22-73
openldap2-back-perl-2.1.22-73
openldap2-devel-2.1.22-73
openldap2-back-monitor-2.1.22-73
openldap2-back-meta-2.1.22-73
openldap2-client-2.1.22-73
openldap2-back-ldap-2.1.22-73
roll:/ #

How to explain this: (see version)

roll:/etc/openldap # cat slapd.conf
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $

I really want to understand what's going on and how properly install LDAP server latest version.

Thanks for help.
Michael.
#
 
Old 10-31-2004, 12:31 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well clearly you have openldap2 installed, not openldap.
 
Old 10-31-2004, 02:49 PM   #5
mla
Member
 
Registered: Sep 2003
Location: Canada
Posts: 86

Original Poster
Rep: Reputation: 15
For me it's not clear ) ... But I must rely on Moderator's answer.
I see v 1.23.2.8 in conf file
Is it suppose to be like this? rpm -qa shows 2 in conf file 1?


cat slapd.conf
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
 
  


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
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
installed rpm smilee Linux - Newbie 12 08-26-2004 07:24 AM
How to tell if a rpm is installed SnowSurfAir Linux - Software 11 07-30-2003 05:11 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
RPM installed barDo Linux - General 3 10-27-2001 05:54 AM

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

All times are GMT -5. The time now is 03:43 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