Fedora Linux Support Community & Resources Center
  #1  
Old 15th December 2009, 09:58 PM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
problem in yum .

when i use terminal and write yum , this message apprears:

Quote:
[root@localhost ~]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libldap-2.4.so.2: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


[root@localhost ~]#
Reply With Quote
  #2  
Old 16th December 2009, 10:57 AM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,746
linuxfedorafirefox
Any plug-ins you are using with yum?

You could try running

yum --noplugins
Reply With Quote
  #3  
Old 16th December 2009, 09:32 PM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
no , just write yum in terminal , this message appears ,

and "add and remove software " didn't work .
Reply With Quote
  #4  
Old 17th December 2009, 04:41 PM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,746
linuxfedorafirefox
What version of Fedora are you using? Is that a fresh installation?
Reply With Quote
  #5  
Old 17th December 2009, 05:19 PM
mouse_runner's Avatar
mouse_runner Offline
Registered User
 
Join Date: Oct 2009
Location: Netherlands
Age: 45
Posts: 394
linuxopera
i think you are missing openldap

what shows:

Code:
rpm -q openldap
__________________
dell Studio 17, 4GB mem, 320GB HD Ubuntu 10.04 LTS
Gnome desktop
[SIGPIC][/SIGPIC]
Reply With Quote
  #6  
Old 17th December 2009, 05:25 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 53
Posts: 1,088
windows_xp_2003firefox
Have you seen if the missing lib is there ?

whereis libldap-2.4.so.2

If not search the web for it download and install
http://rpm.pbone.net/index.php3/stat...bldap-2.4.so.2
Reply With Quote
  #7  
Old 18th December 2009, 08:51 AM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
Quote:
i think you are missing openldap

what shows:

Code:

rpm -q openldap

______________
that is he result:

Quote:
[student@localhost ~]$ su -
Password:
[root@localhost ~]# rpm -q openldap
rpmdb: page 12324: illegal page type or format
rpmdb: PANIC: Invalid argument
rpmdb: Packages: pgin failed for page 12324
error: db4 error(-30974) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from dbcursor->c_close: DB_RUNRECOVERY: Fatal error, run database recovery
package openldap is not installed
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: File handles still open at environment close
rpmdb: Open file handle: /var/lib/rpm/Packages
rpmdb: Open file handle: /var/lib/rpm/Name
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30974) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
[root@localhost ~]#



---------- Post added at 11:51 PM CST ---------- Previous post was at 11:50 PM CST ----------

Quote:
Have you seen if the missing lib is there ?

whereis libldap-2.4.so.2

If not search the web for it download and install
http://rpm.pbone.net/index.php3/stat...bldap-2.4.so.2
Reply With Quote

and the result :

Quote:
[root@localhost ~]# whereis libldap-2.4.so.2
libldap-2.4.so:
[root@localhost ~]#

Reply With Quote
  #8  
Old 18th December 2009, 01:37 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 53
Posts: 1,088
windows_xp_2003firefox
you can to install libldap-2.4.so.2 or install openldap it is going to put in the lib that you need.
Reply With Quote
  #9  
Old 18th December 2009, 04:20 PM
mouse_runner's Avatar
mouse_runner Offline
Registered User
 
Join Date: Oct 2009
Location: Netherlands
Age: 45
Posts: 394
linuxopera
run
Code:
updatedb
as root user
after that try again yum

what version of fedora do you use?

---------- Post added at 04:20 PM CST ---------- Previous post was at 04:18 PM CST ----------

ignore this answer

pls take a look at:

http://www.linuxforums.org/forum/red...-recovery.html
__________________
dell Studio 17, 4GB mem, 320GB HD Ubuntu 10.04 LTS
Gnome desktop
[SIGPIC][/SIGPIC]
Reply With Quote
  #10  
Old 19th December 2009, 05:31 PM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
Quote:
what version of fedora do you use?
fedora 12 .

there is no change.
Reply With Quote
  #11  
Old 19th December 2009, 06:34 PM
mouse_runner's Avatar
mouse_runner Offline
Registered User
 
Join Date: Oct 2009
Location: Netherlands
Age: 45
Posts: 394
linuxopera
did you follow up the link i gave you?
__________________
dell Studio 17, 4GB mem, 320GB HD Ubuntu 10.04 LTS
Gnome desktop
[SIGPIC][/SIGPIC]
Reply With Quote
  #12  
Old 20th December 2009, 12:41 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
If you recently updated gtk2 and have version gtk2-immodule-xim-2.18.5-3.fc12 installed, you may be affected by the following bug.

https://bugzilla.redhat.com/show_bug.cgi?id=548827
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #13  
Old 20th December 2009, 01:06 AM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
Quote:
did you follow up the link i gave you?
yes, but no change.

Quote:
If you recently updated gtk2 and have version gtk2-immodule-xim-2.18.5-3.fc12 installed, you may be affected by the following bug.

https://bugzilla.redhat.com/show_bug.cgi?id=548827
ok , and how i will remove the update?
Reply With Quote
  #14  
Old 20th December 2009, 02:59 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
windows_7opera
Either...

Code:
yum erase gtk2-immodule-xim*
Removes gtk2-immodule-xim. Shouldn't be an issue for most users. Xim is used for entering special characters from a standard keyboard.

or

Code:
yum downgrade gtk2*
Reverts to the previous version of gtk2 and gtk2-immodule-xim.
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #15  
Old 20th December 2009, 04:18 AM
12235322 Offline
Registered User
 
Join Date: Dec 2009
Posts: 21
linuxfedorafirefox
that is the result :

Quote:
[root@localhost ~]# yum erase gtk2-immodule-xim*
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

libldap-2.4.so.2: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
Reply With Quote
Reply

Tags
problem, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 09:17 (Tuesday, 26-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat