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!

is this a disk failure??

Discussion in 'General Discussion' started by bsasninja, Aug 4, 2006.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    527
    Likes Received:
    0
    Trophy Points:
    166
    I´m getting this text at /var/log/messages several times

    server1 kernel: post_create: setxattr failed, rc=122 (dev=sda8 ino=6024757)

    I tried a serch on google but I didnt find anything. Any clues and posible solution?

    Thanks!!
     
  2. HostMerit

    HostMerit Well-Known Member

    Joined:
    Oct 24, 2004
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    New Jersey, USA
    cPanel Access Level:
    DataCenter Provider
    This is due to SELinux. I've had the same issues with CentOS 4.3 on my new servers.

    See examples on Google

    Regardless, edit /etc/sysconfig/selinux and set

    SELINUX=disabled


    Restart the server and there should be no more issues. Too many problems with SELinux, just disable it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ~ "/(extra|special)/data"
    We've just had a similar problem with one of our servers... it turns out that "rc=122" is an error code indicating a quota problem.

    Sure enough, there was an account over its quota: "WHM -> Account Information -> Show Accounts over Quota". We fixed the issue by increasing the user's quota & freeing up some disk space. No more error messages in the log & no need to disable SELinux :)

    I hope this solution helps (& is worth having dug up an relatively old thread!)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    it is a known fact that selinux must be disabled on cpanel servers. first of all it breaks postgresql databases, second gets a ton of errors in the cpanel, and third of all, does not provide the real security that a webserver should have.

    i am using grsecurity, and for all i know and all the people out there who are using it, they know as well that this is the thing.

    grsec simply rocks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ~ "/(extra|special)/data"
    ...seems odd that it's enabled by default.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    533
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brno, Czech Republic
    it's not enabled by cpanel, it is enabled when you install the operating system, or the tech that does the installation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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