Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-26-2006, 02:59 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
Question RPM issue until system restart

Were using red hat 9 as a web hosting and email server (now i dont need any advices about upgrading to Enterprise or another distro, were migrating to suse 9 rather soon anyway)... now heres the problem...

sometimes when i try to install rpm packages, the rpm system stops responding... if i try to install other packages after that... rpm simply freezes... (and yeah im doing it in console "rpm -i packagename"...

anyway it all works normaly after system reboot... but since this is a server used by multiple companys, im not too fancy rebooting it if not necessary, and with my experience with linux, it ussualy isnt (unlike on windoze)...

i tried to "killall rpm" and "killall rpmq" but its the same, how could i restart the rpm service or whatever runs there, so that i could make rpm functional again without rebooting the system or changing runlevel...

tnx in advnace
Old 04-26-2006, 05:01 AM   #2
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
This kind of thing has happened to me in the past. This is how I solved (from memory...):
  • ps -ef | grep rpm => kill all processes (if I remember well there was some python script hanged up, so your killall commands might not be enough...). Make sure you kill as well any process that might fire rpm as a subprocess (yum, apt, synaptic, etc...)
  • if rpm still hangs-up after that, make sure again all processes are killed and delete every __db.00x file in /var/lib/rpm
  • try again, it should work now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
everytime restart the system for proxy ? hegdeshashi Linux - Networking 2 01-12-2006 01:20 AM
System hangs up on restart and shut down darknails Fedora 7 01-24-2005 05:04 AM
Bash?? System Restart (shutdown -r now) woranl Linux - Newbie 4 04-13-2004 10:33 PM
RPM lag fix by restart? GT_Onizuka Linux - Newbie 3 10-13-2003 04:22 PM
Restart system FredrikN Linux - General 5 12-15-2001 11:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration