[TriLUG] silly kill question
Jason Tower
jason at cerient.net
Thu Oct 7 23:49:08 EDT 2004
it's not a process, in this case the "lock" is just a file which got
left behind for some reason, maybe because yum terminated abruptly.
delete the lock file (/var/run/yum.pid) and you should be fine.
jason
On Thursday 07 October 2004 23:06, linux r wrote:
> [linuxr at 150 home]# yum install opera
> Existing lock /var/run/yum.pid: another copy is running. Aborting.
> [linuxr at 150 home]# ps
> PID TTY TIME CMD
> 13655 pts/1 00:00:00 bash
> 13700 pts/1 00:00:00 ps
> [linuxr at 150 home]# killall yum
> [linuxr at 150 home]# yum install opera
> Existing lock /var/run/yum.pid: another copy is running. Aborting.
> [linuxr at 150 home]#
>
> 1. What am I doing wrong here and how do I get rid of whatever is
> running?
>
> 2. How do I tell when I have a 'lock' running, if it doesn't show up
> with ps? Isn't ps the list of ALL processes that are running? Is
> there something better than ps to use?
>
> 3. How do I 'kill' ? I can't see the process. Also in the past
> when I have tried 'kill 8232' or whatever PID it was, it didn't work.
> That used to work for me in a unix distro. Not sure what has
> changed but the man pages haven't clarified it either. So how do I
> kill a running process correctly in FC
>
> Thanks in advance
> Marc
More information about the TriLUG
mailing list