yum update interruption

coryjsanders

Joined
Mar 25, 2010
Messages
181
Likes
0
Points
0
#1
I was running a yum update and my WAN went down. Now I get this error when trying to run it again.
[root@elastix ~]# yum update
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 17490.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 29 M RSS ( 71 MB VSZ)
Started: Tue Oct 26 17:42:01 2010 - 07:24 ago
State : Sleeping, pid: 17490

I see this: rw-r--r-- 1 root root 5 Oct 26 17:42 yum.pid

Can I just delete it?

Thanks.
 

coryjsanders

Joined
Mar 25, 2010
Messages
181
Likes
0
Points
0
#2
deleted the 17490 out of the file. Thank you, dicko.
 

trymes

Joined
Aug 19, 2009
Messages
228
Likes
0
Points
0
#3
Did you verify that the process wasn't still running somewhere first?

ps aux |grep yum

Just a good idea to make sure it's not out there somewhere still.

Tom
 

coryjsanders

Joined
Mar 25, 2010
Messages
181
Likes
0
Points
0
#4
I got this:

[root@elastix ~]# ps aux | grep yum
root 10879 0.0 0.0 4008 680 pts/0 S+ 22:11 0:00 grep yum
[root@elastix ~]#
 

trymes

Joined
Aug 19, 2009
Messages
228
Likes
0
Points
0
#5
Perfect. That just means that the only thing running on your server with the name "yum" in it is the command you just ran. I was HIGHLY unlikely that you had anything else out there, but stranger things have happened and you don't want to go removing a lock for a running process.

Tom
 

coryjsanders

Joined
Mar 25, 2010
Messages
181
Likes
0
Points
0
#6
The PS guys told me to update Elastix like this yum update elastix-*
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,567
Latest member
achilont13
Top