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.

Unable to Build: "Operation not permitted"

Discussion in 'EasyApache' started by Joho, Apr 15, 2014.

  1. Joho

    Joho Registered

    Joined:
    Apr 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Please keep in mind I a new so you will have to explain everything like I'm 5! I am unable to build with EasyApache. I always get to this error:

    !! Could not remove '/usr/local/apache/modules': Operation not permitted !!

    When I log into the shell as root, I find it is due to a file called httpd.exp which I am unable to chmod or rm even as root. Can anyone help?
     
  2. SS-Maddy

    SS-Maddy Well-Known Member

    Joined:
    Mar 28, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    can you please show the lsattr on the httpd.exp ?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Yes, check to see if you find any immutable files within the "/usr/local/apache/modules" directory. EX:

    Code:
    lsattr /usr/local/apache/modules
    Thank you.
     
  4. Joho

    Joho Registered

    Joined:
    Apr 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello, here is the result:

    -----a------- /usr/local/apache/modules/httpd.exp

    Thanks in advance for all the assistance!
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can try running:

    chattr -a /usr/local/apache/modules/httpd.exp

    If you are still unable to adjust the file, are you able to move it to another directory?

    Thank you.
     
  6. Joho

    Joho Registered

    Joined:
    Apr 15, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you for your patience and thank you, it worked! Is there a way to give you credit??
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue is now resolved. No credit necessary.

    Thanks!
     
Loading...

Share This Page