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!

bash: /proc/sys/vm/drop_caches: Permission denied

Discussion in 'General Discussion' started by alikhan825, Jul 11, 2018.

  1. alikhan825

    alikhan825 Registered

    Joined:
    Jul 11, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    pakistan
    cPanel Access Level:
    Root Administrator
    when i execute this command
    sync; echo 1 > /proc/sys/vm/drop_caches
    its shows this error "bash: /proc/sys/vm/drop_caches: Permission denied".
    why it's show permission denied i'm accessing root account.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,748
    Likes Received:
    84
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Is this a virtual server running as a container? IE: OpenVZ
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    @dalem's suggestion here makes sense, if it's a VZ server this would explain why root doesn't have permission to make this change.
     
    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