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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-26-2006, 02:59 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 7
Rep:
|
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
Phoenix
|
|
|
04-26-2006, 05:01 AM
|
#2
|
Member
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|