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!

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:
    117
    Likes Received:
    10
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    can you please show the lsattr on the httpd.exp ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,491
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,491
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,491
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. No credit necessary.

    Thanks!
     
    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