Forums

Resolved
0 votes
Hi all,

I have a server with ClearOS Community release 6.6.0 (Final) and Kernel 2.6.32-504.8.1.v6.x86_64.

The last update was:
Jun 11 01:03:50 Updated dracut-kernel-004-356.el6_6.2.noarch
Jun 11 01:03:50 Updated app-file-scan-1.6.7-1.v6.noarch
Jun 11 01:03:51 Updated app-password-policies-1.6.8-1.v6.noarch
Jun 11 01:03:52 Updated nss-pam-ldapd-0.7.5-20.el6_6.3.x86_64
Jun 25 05:23:38 Updated glibc-common-2.12-1.149.el6_6.9.x86_64
Jun 25 05:23:44 Updated glibc-2.12-1.149.el6_6.9.x86_64
Jun 25 05:23:46 Updated openssl-1.0.1e-30.el6_6.9.x86_64
Jun 25 05:23:46 Updated xorg-x11-server-common-1.15.0-26.el6_6.x86_64
Jun 25 05:23:47 Updated xorg-x11-server-Xorg-1.15.0-26.el6_6.x86_64
Jun 25 05:23:48 Updated nscd-2.12-1.149.el6_6.9.x86_64


Now I am trying to install ntfs-3g (usb ntfs HDD for backups) and I get the following error:
Loaded plugins: clearcenter-marketplace, fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 32699.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 22 M RSS (314 MB VSZ)
Started: Fri Sep 25 09:56:33 2015 - 19:24 ago
State : Sleeping, pid: 32699


When I run ps aux | grep -i yum I get:
497 324 0.0 0.0 9408 1208 ? S 09:58 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 325 0.0 0.0 82848 2548 ? S 09:58 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 326 0.0 0.5 314752 21304 ? S 09:58 0:00 /usr/bin/python /usr/bin/yum repolist all
497 344 0.0 0.0 9408 1204 ? S 09:59 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 345 0.0 0.0 82848 2556 ? S 09:59 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 346 0.0 0.5 314756 21308 ? S 09:59 0:00 /usr/bin/python /usr/bin/yum repolist all
497 1008 0.0 0.0 9408 1208 ? S 09:59 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 1009 0.0 0.0 82848 2548 ? S 09:59 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 1010 0.0 0.5 314752 21304 ? S 09:59 0:00 /usr/bin/python /usr/bin/yum repolist all
497 2320 0.0 0.0 9408 1204 ? S 10:00 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 2321 0.0 0.0 82848 2548 ? S 10:00 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 2322 0.0 0.5 314756 21304 ? S 10:00 0:00 /usr/bin/python /usr/bin/yum repolist all
497 2548 0.0 0.0 9408 1204 ? S 10:00 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 2549 0.0 0.0 82848 2552 ? S 10:00 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 2550 0.0 0.5 314752 21304 ? S 10:00 0:00 /usr/bin/python /usr/bin/yum repolist all
497 2556 0.0 0.0 9408 1208 ? S 10:00 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 2557 0.0 0.0 82848 2544 ? S 10:00 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 2558 0.0 0.5 314756 21308 ? S 10:00 0:00 /usr/bin/python /usr/bin/yum repolist all
root 3557 0.0 0.0 103244 748 pts/0 D+ 10:16 0:00 grep -i yum
497 32697 0.0 0.0 9408 1208 ? S 09:56 0:00 sh -c /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all 2>&1
root 32698 0.0 0.0 82848 2544 ? S 09:56 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum repolist all
root 32699 0.0 0.5 322152 23164 ? S 09:56 0:00 /usr/bin/python /usr/bin/yum repolist all


Is it possible to fix that? I have way to many users to restart.

Thank you
Friday, September 25 2015, 07:21 AM
Share this post:

Accepted Answer

Friday, September 25 2015, 02:07 PM - #Permalink
Resolved
1 votes
You can safely run:
killall -9 yum


B
The reply is currently minimized Show
Responses (5)
  • Accepted Answer

    Friday, September 25 2015, 05:16 PM - #Permalink
    Resolved
    0 votes
    The problem was the network.

    I have DNS ok, gateway ok, and internet ok.

    After a lot of search I found that there were packet drop from the router and (another) firewall.

    When I release the traffic from the server (through router and firewall) the system was ok.
    Before the fix the marketplace was busy all the time and the yum keeps giving me those messages.
    Now the system is ok.
    The situation that makes me search for a network problem was the update list and the responce from the command you gave me (killall). There was no update since June.
    This was the key.


    Thank you Ben!
    Consider that as solved!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 25 2015, 05:09 PM - #Permalink
    Resolved
    0 votes
    Can't this problem happen when you use the marketplace at the same time as doing something with yum at the command line? All you should have to do is wait until whatever you are doing in the marketplace to finish. It should only be a transient problem.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 25 2015, 04:41 PM - #Permalink
    Resolved
    0 votes
    Then you shouldn't see any references to the 'yum repolist all' in your process list, and you should be able to use yum to install your package.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 25 2015, 04:33 PM - #Permalink
    Resolved
    0 votes
    Hi,

    when I try killall -9 yum I get:

    yum: no process killed
    The reply is currently minimized Show
  • Accepted Answer

    Friday, September 25 2015, 04:32 PM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    You can safely run:
    <code>killall -9 yum</code>

    B


    Hi,
    When I try that I get
    yum: no process killed
    The reply is currently minimized Show
Your Reply