LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-18-2009, 03:20 PM   #1
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Rep: Reputation: 18
Yum Won't Kill


I'm trying to kill a couple yum processes that started then locked up at the Transaction Check part of the install. One of the processes has been locked since Friday and the other from this afternoon. One was to update ntp, the other to update rsync.
I have attempted to use "kill -9 PID" as well as "pkill -9 PID" but they continue to show with "ps aux | grep yum". This is running on the main server where everyone gets their NFS shares from so I can't just reboot it. Is there any way to kill these processes?
 
Old 08-18-2009, 03:57 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Do you have the yum-updatesd service shut off. If it is on it makes it very difficult to kill yum processes.
 
Old 08-19-2009, 08:05 AM   #3
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Original Poster
Rep: Reputation: 18
Just checked and there is no yum-updatesd service running or even present on the server. It isn't listed under chkconfig either. The server is currently running FC4(Stentz).
 
Old 08-19-2009, 12:12 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Ok, just so you know FC4 is beyond EOL(End Of Life) and has not had any updates(of any kind) in 3(?) years. The current release of Fedora is F11(7 versions behind). This is going to cause you problems on at least two fronts. First it leaves you vulnerable to attack(no security updates). Second, since virtually no one has run that version in years, there is going to be almost no one around who is going to have current knowledge on FC4. Yum may be hanging becuase the old repos (assuming stock setup) no longer exist.

Since you list Centos in your profile, I would strongly suggest you move this machine to 5.3 as soon as possible. With each version of Fedora only being supported for 13 months and your situation, it really does not make sense to use Fedora. Since Centos has a five year plus support life, you will have updates until 2012(?) and plenty of people around with current experience on C5.3.
 
Old 08-19-2009, 12:37 PM   #5
kingkashif
Member
 
Registered: May 2009
Posts: 94

Rep: Reputation: 16
well here is something which might help you but i am not sure..

run
Code:
sudo echo "" > /var/run/yum.pid
and if you can delete that file altogether

Code:
sudo rm -rf /var/run/yum.pid

Hope it works for you

regards
 
Old 08-19-2009, 12:42 PM   #6
Myiagros
Member
 
Registered: Mar 2009
Distribution: Ubuntu, CentOS 5.3
Posts: 75

Original Poster
Rep: Reputation: 18
It still isn't killing but rsync is finally working for backing up the server so I don't have to worry about this anymore. It will eventually be updated to Centos 5.3, the problem was trying to get rsync going as it was hanging before but seems to be fine now. Thanks for the suggestions.
 
Old 08-19-2009, 12:52 PM   #7
kingkashif
Member
 
Registered: May 2009
Posts: 94

Rep: Reputation: 16
welll as long as it gets the job done huh ??

good luck.
 
  


Reply


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
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 03:47 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
"Kernel panic - not syncing: Attempted to kill init!" after Yum update, CentOS 4.4 TestedDoughnut Linux - General 7 02-15-2007 04:22 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM

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

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