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.

Out of innodes because of mod_security

Discussion in 'Data Protection' started by wanted4life, May 25, 2015.

  1. wanted4life

    wanted4life Member

    Joined:
    Apr 17, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania, bucharest
    cPanel Access Level:
    DataCenter Provider
    If you ever encounted a problem with your server that you can't access webpages or login to cpanel/whm because of a 500 error, and you can't restart servicess because an error that its saying that you ran out of space... well this is because you ran out of free innodes.

    So you still have space, but you don't have space for innodes.
    What you should do is to go on /usr/local/apache/logs/modsec_audit/ and remove all the files.
    This problem appears because mod_security create so many empty files.

    HOW DO WE FIX THIS? How can we stop mod_security to keep creating these fils, but to keep the server secure?
     
  2. wanted4life

    wanted4life Member

    Joined:
    Apr 17, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania, bucharest
    cPanel Access Level:
    DataCenter Provider
    I went in whm at modsecurity configuration and selected "Do not log any transactions". and this appears to fix it.

    So to fix this, do that and you are good to go.
     
  3. madmanmachines

    madmanmachines Well-Known Member

    Joined:
    Nov 28, 2014
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    See case 169157:
    https://documentation.cpanel.net/display/ALD/11.50+Change+Log
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please keep in mind that 500 error messages don't always indicate a lack of available inodes. That being said, this is addressed in cPanel version 11.50 as mentioned in the previous post:

    Fixed case 169157: Rotate ModSecurity logs.

    Thank you.
     

Share This Page