The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED cPanel on OpenVZ and CentOS 6 - util-linux-ng

Discussion in 'General Discussion' started by Rogerio, Dec 9, 2016.

Tags:
  1. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hi there,

    since last week all my cPanel servers, running OpenVZ, stopped to update. No other softwares running, all server are base CentOS 6 x64 Minimum Install and everything else installed by cPanel installer.

    Is this critical? Is possible to fix?
    Thanks.
    Code:
    [2016-12-10 01:30:06 -0200]      [26967] checkyum version 22.3
    [2016-12-10 01:30:12 -0200]      [26967] Loaded plugins: fastestmirror
    [2016-12-10 01:30:12 -0200]      [26967] Setting up Update Process
    [2016-12-10 01:30:12 -0200]      [26967] Determining fastest mirrors
    (...)
    [2016-12-10 01:30:12 -0200]      [26967] ---> Package util-linux-ng.x86_64 0:2.17.2-12.24.el6 will be updated
    [2016-12-10 01:30:12 -0200]      [26967] ---> Package util-linux-ng.x86_64 0:2.17.2-12.24.el6_8.1 will be an update
    [2016-12-10 01:30:12 -0200]      [26967] --> Processing Dependency: kernel >= 2.6.32-642 for package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64
    [2016-12-10 01:30:12 -0200]      [26967] --> Finished Dependency Resolution
    [2016-12-10 01:30:12 -0200]      [26967] Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    [2016-12-10 01:30:12 -0200]      [26967]  You could try using --skip-broken to work around the problem
    [2016-12-10 01:30:12 -0200]      [26967]  You could try running: rpm -Va --nofiles --nodigest
    [2016-12-10 01:30:12 -0200]      [26967] (XID 36j7uv) The system failed to execute yum with the arguments “-y -c /etc/yum.conf update --disablerepo=epel” because of an error: The “/usr/bin/yum” command (process 27125) reported error number 1 when it ended. : Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    [2016-12-10 01:30:12 -0200]      [26967]            Requires: kernel >= 2.6.32-642
    [2016-12-10 01:30:12 -0200]      [26967] checkyum version 22.3
    [2016-12-10 01:30:13 -0200]   28% complete
    
    
     
    #1 Rogerio, Dec 9, 2016
    Last edited by a moderator: Dec 9, 2016
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    543
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Try running the following commands and let us know if you notice any issues:
    Code:
    yum clean all
    
    yum update
    
    /scripts/upcp --force
    
     
  3. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    No difference, still the same error.
     
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    899
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Check with yum if your kernel needs updating as cpanel won't update it.
    Code:
    yum -y update kernel
    If it does need a later kernel you will of course need to reboot after installing it.
     
  5. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,601
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    this is an OpenVZ server so why are you trying to install a kernel there is none


    Code:
    rpm -Uvh --nodeps  http://mirror.centos.org/centos-6/6.8/updates/x86_64/Packages/util-linux-ng-2.17.2-12.24.el6_8.1.x86_64.rpm
    
    yum update
    should fix you up
     
  6. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    158
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
  7. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hi there,

    since it's a bug, maybe will be fixed soon, so I dont need to act? I dont feel comfortable to install Linux RPMs manually, I don't have enough knowledge to fix things like this if get broken. The affected server has +100 websites running and I'm afraid to break the server(s). Any considerations?

    Thank you.
     
  8. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    158
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    You can still use yum update to install this - nothing needs to be done manually. It just installs the kernel whish isn't used on OpenVZ. You can always remove it afterwards if you wish
     
  9. Rogerio

    Rogerio Member

    Joined:
    Sep 26, 2016
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Ah, it will install the CentOS kernel but, in fact, OpenVZ will ignore it and boot its kernel?
     
  10. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    158
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Yes, you cannot actually use a custom kernel on OpenVZ unlike KVM, etc so it will be ingored
     
    Rogerio likes this.
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may also want to report the issue to your VPS hosting provider if you are not running the hardware node yourself.

    Thank you.
     
    Rogerio likes this.
  12. jvgn

    jvgn Member

    Joined:
    Jan 20, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Hello.

    cPanel, for this bug, what do you advise?. We wait to solve the problem or update (yum update --skip-broken -y).

    What is better?
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @jvgn,

    This is a bug with the OS, so you may want to consult with your VPS hosting provider for additional assistance. In the meantime, you could use the following command to update your packages:

    Code:
    yum update --skip-broken -y
    Thank you.
     
  14. QuentinC

    QuentinC Member

    Joined:
    Jan 10, 2013
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    DataCenter Provider
    Do you have some news about this issue ?

    A lot of OpenVZ server have yum troubles:

    RedHat said it's correct with Red Hat Customer Portal but not for me ...
     
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you updated the kernel on the parent server running OpenVZ?

    Thank you.
     
  16. jasammilan

    jasammilan Registered

    Joined:
    May 13, 2012
    Messages:
    2
    Likes Received:
    2
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    Hello,
    I manage couple OpenVZ cPanel servers with kernel:
    Linux myhostname.com 2.6.32-042stab120.16 #1 SMP Tue Dec 13 20:58:28 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux​

    Also concerned about cPanel update emails:
    [2017-02-11 21:30:17 +0100] [20095] Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    [2017-02-11 21:30:17 +0100] [20095] You could try using --skip-broken to work around the problem​

    I logged into the server via ssh and just run yum update. I did not even had to use --skip-broken option.
    All packages is updated. Package util-linux-ng also with no problem.
     
    cPanelMichael likes this.
Loading...

Share This Page