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.

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:
    528
    Likes Received:
    0
    Trophy Points:
    16
    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:
    160
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    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!)
     
  4. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  5. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    ...seems odd that it's enabled by default.
     
  6. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page