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.

Warning in Security Advisor: "Could not open /proc/1/smaps"

Discussion in 'Security' started by rodrocolodro, Oct 10, 2015.

  1. rodrocolodro

    rodrocolodro Member

    Joined:
    Oct 9, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Reseller Owner
    Dear Staff ans community I just install a new CentOS + cPanel and I have a warning than I never seen before.

    The Message is:

    Code:
    An error occurred while attempting to check whether running executables are up-to-date: Could not open /proc/1/smaps Could not open /proc/2/smaps Could not open /proc/3/smaps Could not open /proc/4/smaps Could not open /proc/5/smaps Could not open /proc/7/smaps Could not open /proc/8/smaps Could not open /proc/9/smaps Could not open /proc/10/smaps Could not open /proc/11/smaps Could not open /proc/12/smaps Could not open /proc/13/smaps Could not open /proc/14/smaps Could not open /proc/15/smaps Could not open /proc/17/smaps Could not open /proc/18/smaps Could not open /proc/19/smaps Could not open /proc/20/smaps Could not open /proc/21/smaps Could... 
    I don;t want to start this server until to be sure this is solve and if this can be a problem in the future.

    I would appreciate your assistance

    Thanks!
     

    Attached Files:

  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Which CentOS version you have installed on your server ? Also please try to run upcp on your server with the following command

    Code:
    /scripts/upcp --force
     
  3. rodrocolodro

    rodrocolodro Member

    Joined:
    Oct 9, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Reseller Owner
    Hello,
    I have this: CENTOS 6.7 x86_64 / WHM 11.50.1 (build 3)

    Let me know and thanks!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's likely this stems from the use of an unsupported kernel. Please post the output from the following command:

    Code:
    uname -r
    Thank you.
     
  5. rodrocolodro

    rodrocolodro Member

    Joined:
    Oct 9, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Reseller Owner
    Hello!

    Here is result: 3.14.32-xxxx-grs-ipv6-64

    Thank you for your help!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    While many customers successfully utilize grsec kernels and cPanel/WHM works as expected, they are not officially supported. Grsecurity disables /proc/<pid>/smaps for security reasons, so it's expected that you see those warning messages.

    Thank you.
     
  7. rodrocolodro

    rodrocolodro Member

    Joined:
    Oct 9, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Reseller Owner
    I understand, this means that I should not worry about this?

    Thanks a lot!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Right, the option you are attempting to use is not compatible with the custom kernel that's installed on your server. Thus, you would need to use a standard kernel if you wanted to use that option on your system.

    Thank you.
     
  9. rodrocolodro

    rodrocolodro Member

    Joined:
    Oct 9, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Reseller Owner
    Thank you very much Michael

    Have a nice day!
     
  10. Julien Gobi

    Julien Gobi Registered

    Joined:
    May 18, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    cPanel Access Level:
    Root Administrator
    Hi!
    Since the last update I receive these emails too.
    My server uses this kernel: 3.14.32-xxxx-grs-ipv6-64
    Is it possible to mute these alerts ?
    Thank you.
    j.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Internal case CPANEL-6077 is open to address this by ensuring the warning message is not displayed on systems with Grsec kernels installed. The current workaround is to ignore the warning message, or create an email filter that discards this particular notification based on message body content.

    Thank you.
     
  12. bouvrie

    bouvrie Active Member

    Joined:
    Apr 6, 2012
    Messages:
    31
    Likes Received:
    5
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    BE CAREFUL creating such an email filter. Just because the email contains "An error occurred while attempting to check whether running executables are up-to-date", doesn't mean that is the only one single notification in that email. By discarding such mails, you could miss other notifications.

    For this reason, it would also be helpful to be able to count the number of notifications in the notifications e-mail, but sadly there's no body text along the lines of "Showing X notifications:" to properly enable such email filters.
     
Loading...

Share This Page