Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

check_cpanel_rpms - p0f Missing

Discussion in 'General Discussion' started by izghitu, Sep 16, 2016.

Tags:
  1. Niteblade

    Niteblade Registered

    Joined:
    Apr 2, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    root@server [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    Code:
    [2016-09-17 12:41:14 -0500]
    [2016-09-17 12:41:14 -0500]   Problems were detected with cPanel-provided files which are RPM controlled.
    [2016-09-17 12:41:14 -0500]   If you did not make these changes intentionally, you can correct them by running:
    [2016-09-17 12:41:14 -0500]
    [2016-09-17 12:41:14 -0500]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2016-09-17 12:41:14 -0500]   The following RPMs are missing from your system:
    [2016-09-17 12:41:14 -0500]   p0f-3.09b-1.cp1150
    [2016-09-17 12:41:23 -0500]   Removing 0 broken rpms:
    [2016-09-17 12:41:23 -0500]   rpm: no packages given for erase
    [2016-09-17 12:41:24 -0500]   Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/rpm.sha512
    [2016-09-17 12:41:24 -0500] W Failed to download URL 'http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/rpm.sha512.asc'.
    [2016-09-17 12:41:24 -0500] ***** FATAL: No digest data for p0f-3.09b-1.cp1150.x86_64.rpm
    [2016-09-17 12:41:24 -0500]   The Administrator will be notified to review this output when this script completes
    No digest data for p0f-3.09b-1.cp1150.x86_64.rpm at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 777.
    
    root@server [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2016-09-17 12:41:29 -0500]
    [2016-09-17 12:41:29 -0500]   Problems were detected with cPanel-provided files which are RPM controlled.
    [2016-09-17 12:41:29 -0500]   If you did not make these changes intentionally, you can correct them by running:
    [2016-09-17 12:41:29 -0500]
    [2016-09-17 12:41:29 -0500]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2016-09-17 12:41:29 -0500]   The following RPMs are missing from your system:
    [2016-09-17 12:41:29 -0500]   p0f-3.09b-1.cp1150
    [2016-09-17 12:41:38 -0500]   Removing 0 broken rpms:
    [2016-09-17 12:41:38 -0500]   rpm: no packages given for erase
    [2016-09-17 12:41:39 -0500]   Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/rpm.sha512
    [2016-09-17 12:41:40 -0500] W Failed to download URL 'http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/rpm.sha512.asc'.
    [2016-09-17 12:41:40 -0500] ***** FATAL: No digest data for p0f-3.09b-1.cp1150.x86_64.rpm
    [2016-09-17 12:41:40 -0500]   The Administrator will be notified to review this output when this script completes
    No digest data for p0f-3.09b-1.cp1150.x86_64.rpm at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 777.
    
     
    #21 Niteblade, Sep 17, 2016
    Last edited by a moderator: Sep 17, 2016
  2. Vince778

    Vince778 Member

    Joined:
    Jan 1, 2010
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    53
    I'm having the same problem now as well. Two days in a row after each 'upcp' I start getting hundreds of emails telling me p0f-3.09b-1.cp1150 is missing. I don't want to have to login and fix this by hand every night, when is there going to be a fix for this problem? It's killing my machine.
     
  3. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    If one chooses to add repos like EPEL to ones server, I am not at all sure that cPanel would ever be able to "fix" these issues.

    cPanel has no idea which of the many hundreds of repos that are available for use you might install, and it is possibly unrealistic to expect them to write code to modify these repos when an admin might have installed and configured them deliberately.

    My perspective (sorry !) is that if one is going to work 'outside the box' and add repos that are not included in the cPanel (cloudlinux/kernelcare/MariaDB) installation, then one should be obliged to administrate and configure them at one's own risk.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Vince778

    Vince778 Member

    Joined:
    Jan 1, 2010
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    53
    I personally have only ever installed 2 things outside of the normal cPanel packages.
    1. ConfigServer Security & Firewall - csf (Current v9.14)
    2. Munin (Current v2.0.25)
    Both were recommended by cPanel, specific instructions for installation were provided by cPanel and both have been running for years already without a problem.

    p0f appears to be part of the cPanel & WHM 11.50 release which you can read in the documentation as an 'Updated feature'. So, I'm confused by your statement @rpvw... Is this a broken feature maintained by cPanel or did I do something to cause this in your opinion?

    Regards,
    Vince
     
  5. Tonmoy Ajize

    Tonmoy Ajize Registered

    Joined:
    Aug 20, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangladesh
    cPanel Access Level:
    Root Administrator
    Having the same issues on my server too, running that command line every night ... still getting mails everyday ....

    it's happening after last update, before it was ... is it a bug ?
     
  6. gizzmo2006

    gizzmo2006 Active Member

    Joined:
    May 22, 2007
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    158
    Morphis likes this.
  7. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,890
    Likes Received:
    91
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Same here, Even after running the following command we are still receiving multiple alerts

    Code:
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix 
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,890
    Likes Received:
    91
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I tried adding p0f* in exclude section under /etc/yum.conf , hopefully it should work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. epaslv

    epaslv Member

    Joined:
    May 18, 2010
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    The post merely confirms the issue, but offers no solution which is unhelpful.

    Is there anything else on offer other than a workaround?
     
  10. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    @Vince778

    I was attempting to address, and comment on, the conflict that the use of additional repos cause, that the starter of this topic posted about.

    If it doesn't apply to your particular issue, you may either be in the wrong thread, or you should just ignore it rather than try to attack me over it.

    If some other, and more fundamental, problem exists regarding the p0f RPM's as supplied by cPanel/CentOS - then obviously this needs to be addressed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Vince778

    Vince778 Member

    Joined:
    Jan 1, 2010
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    53
    @rpvw

    Your comment directly followed my own and did not appear to point to anyone else so I'm not sure why your upset. I responded with more information and was simply trying to understand what you said. It was not an attack, please read it again.
     
  12. caroseuk

    caroseuk Member

    Joined:
    Aug 4, 2015
    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    United kingdom
    cPanel Access Level:
    Root Administrator
    So an update, which has solved it for me.

    Editted my /etc/yum.repos.d/epel.repo file

    Added in the following line on the enabled block:

    exclude=p0f*

    Save > Exit and re-run the --fix command.

    Then when upcp next runs the yum update command, it will stop the cPanel p0f rpm from being replaced by the one in EPEL.

    That solved it for me anyway.

    The reason we have EPEL installed is for installing further useful packages such as Redis for session management in Magento installations.
     
    tommyxv and glauco like this.
  13. glauco

    glauco Member

    Joined:
    Aug 26, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    51
    Thanks Chris for this solution. Just to be clear, when you say:

    The first part of my epel.repo file now looks like this:

    [epel]
    name=Extra Packages for Enterprise Linux 7 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    exclude=p0f*


    Is that correct? I then ran the /usr/local/cpanel/scripts/check_cpanel_rpms --fix command and fingers crossed, tomorrow I won't be bombarded with another 200 notifications?

    Thanks
     
  14. caroseuk

    caroseuk Member

    Joined:
    Aug 4, 2015
    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    United kingdom
    cPanel Access Level:
    Root Administrator
    Yup! Identical to mine :)

    Worked for me, so should also work for you! Though not sure why you have that many emails? I got one per server.

    Let me know how you get on ☺️
     
  15. caroseuk

    caroseuk Member

    Joined:
    Aug 4, 2015
    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    United kingdom
    cPanel Access Level:
    Root Administrator
    I would try excluding it from the epel.repo file as that is where the conflicting rpm is based. That should tell yum to not replace the cpanel p0f rpm with the one found in epel.

    Just an idea ;)
     
  16. tommyxv

    tommyxv Member

    Joined:
    Jun 15, 2006
    Messages:
    15
    Likes Received:
    4
    Trophy Points:
    153

    Thanks! This also fixed it for me too. I guess cPanel needs to address this. This started after I upgraded from 58 build 27 to build 28.
     
  17. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,882
    Likes Received:
    482
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The below quote was shared with the EDGE users email list this morning:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Vince778 likes this.
  18. tommyxv

    tommyxv Member

    Joined:
    Jun 15, 2006
    Messages:
    15
    Likes Received:
    4
    Trophy Points:
    153
    I should revert this...


    And do this instead?

     
  19. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,882
    Likes Received:
    482
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That seems proper to me, the second quote being from cPanel Technical Support.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Vince778 and tommyxv like this.
  20. caroseuk

    caroseuk Member

    Joined:
    Aug 4, 2015
    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    United kingdom
    cPanel Access Level:
    Root Administrator
    I personally think keeping it in the epel.repo exclude is better... as the cPanel scripts amend the yum.conf file every time it prepares to run. So it might remove your manually added p0f entry.

    I can confirm what I said fixes the issue. I adjusted the crib task to update sooner and all was green across the board ☺️
     
    tommyxv likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice