Howdy,
The yum install <package> hangs in between. This happened few days as well, but just after doing Ctrl+C it reported error with mirror and switched to another one. Today, however, it is not responding to Ctrl+C and kill or kill -9 command is also not working. Any clues?
Thanks, CS.
Carlos Santana a écrit :
Howdy,
The yum install <package> hangs in between. This happened few days as well, but just after doing Ctrl+C it reported error with mirror and switched to another one. Today, however, it is not responding to Ctrl+C and kill or kill -9 command is also not working. Any clues?
Yes. From time to time, do the following:
# yum clean all
Cheers,
Niki
Thanks Niki.
More specifically it hangs after: Downloading Packages: Running rpm_check_debug Running Transaction Test
If I did yum clean all while app. is running then I get following message: [root@localhost ~]# yum clean all Existing lock /var/run/yum.pid: another copy is running as pid 17097. Another app is currently holding the yum lock; waiting for it to exit...
If pid file is removed then I can do clean all, however the processes still exist: [root@localhost ~]# rm /var/run/yum.pid rm: remove regular file `/var/run/yum.pid'? y [root@localhost ~]# yum clean all Cleaning up Everything [root@localhost ~]# ps ax | grep -i yum* 16794 ? S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1 S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 17137 pts/2 S+ 0:00 grep -i yum*
Any clues?
- CS
On Mon, Jul 6, 2009 at 5:01 PM, Niki Kovacscontact@kikinovak.net wrote:
Carlos Santana a écrit :
Howdy,
The yum install <package> hangs in between. This happened few days as well, but just after doing Ctrl+C it reported error with mirror and switched to another one. Today, however, it is not responding to Ctrl+C and kill or kill -9 command is also not working. Any clues?
Yes. From time to time, do the following:
# yum clean all
Cheers,
Niki _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Carlos Santana a écrit :
Thanks Niki.
More specifically it hangs after: Downloading Packages: Running rpm_check_debug Running Transaction Test
If I did yum clean all while app. is running then I get following message: [root@localhost ~]# yum clean all Existing lock /var/run/yum.pid: another copy is running as pid 17097.
In that case, I bet this is your yum-updatesd daemon interfering. Try this:
# service yum-updatesd stop
And then:
# chkconfig yum-updatesd off
Basically, you can't have two instances of Yum running at the same time. Up to CentOS 5.2, yum-updatesd defaulted to on, but I understand since 5.3 it defaults to off.
Cheers,
Niki
- Process are not getting killed - I do not have yum-updatesd service running, status returns unrecognized service
Any help? - CS.
On Mon, Jul 6, 2009 at 5:39 PM, Niki Kovacscontact@kikinovak.net wrote:
Carlos Santana a écrit :
Thanks Niki.
More specifically it hangs after: Downloading Packages: Running rpm_check_debug Running Transaction Test
If I did yum clean all while app. is running then I get following message: [root@localhost ~]# yum clean all Existing lock /var/run/yum.pid: another copy is running as pid 17097.
In that case, I bet this is your yum-updatesd daemon interfering. Try this:
# service yum-updatesd stop
And then:
# chkconfig yum-updatesd off
Basically, you can't have two instances of Yum running at the same time. Up to CentOS 5.2, yum-updatesd defaulted to on, but I understand since 5.3 it defaults to off.
Cheers,
Niki _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
As specified in my first message, I have tried that. Its not working.. :(
- CS.
On Mon, Jul 6, 2009 at 6:41 PM, natecentos@linuxpowered.net wrote:
Carlos Santana wrote:
- Process are not getting killed
- I do not have yum-updatesd service running, status returns
unrecognized service
Any help?
kill -9 ?
since the processes are sleeping kill -9 should work fine
nate
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
kill -9 ?
As specified in my first message, I have tried that. Its not working.. :(
What about rebooting the machine?
Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system.
Nope.. don't want to do that. It will screw up some of the other things/processes I want to remain active.
CS.
On Mon, Jul 6, 2009 at 7:39 PM, Neil Aggarwalneil@jammconsulting.com wrote:
kill -9 ?
As specified in my first message, I have tried that. Its not working.. :(
What about rebooting the machine?
Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Carlos:
What about kill -15?
Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system.
Carlos Santana wrote:
As specified in my first message, I have tried that. Its not working.. :(
You've specifically tried kill -9 ? That just doesn't make sense, I have never seen a process in a "S" state that did not die as a result of a kill -9. "D" state yes, "Z" state yes, "T" state maybe, but never ever "S" (or any variant of S).
kill and kill -9 are not the same thing(sorry if it's obvious I don't know your level of expertise).
nate
I am newbie, but I know diff in kill and kill -9.
Heres my o/p: [root@localhost ~]# ps ax | grep yum 16794 ? S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1 S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18082 pts/3 S+ 0:00 grep yum [root@localhost ~]# kill -9 16794 17097 [root@localhost ~]# ps ax | grep yum 16794 ? S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1 S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18084 pts/3 S+ 0:00 grep yum [root@localhost ~]# killall -9 yum [root@localhost ~]# ps ax | grep yum 16794 ? S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1 S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 18087 pts/3 S+ 0:00 grep yum
The /var/run/yum.pid does not exist (removed when I followed steps in my 2'nd msg).
- CS.
On Mon, Jul 6, 2009 at 7:47 PM, natecentos@linuxpowered.net wrote:
Carlos Santana wrote:
As specified in my first message, I have tried that. Its not working.. :(
You've specifically tried kill -9 ? That just doesn't make sense, I have never seen a process in a "S" state that did not die as a result of a kill -9. "D" state yes, "Z" state yes, "T" state maybe, but never ever "S" (or any variant of S).
kill and kill -9 are not the same thing(sorry if it's obvious I don't know your level of expertise).
nate
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Carlos:
There are several other signals you can try listed on this page: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_01.html
If none of those work, I don't think there is anything else you can do besides reboot.
Neil
-- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, or other disaster? If so, ask me about our geographically redudant database system.