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!

mySQL.. permission denied?

Discussion in 'General Discussion' started by haze, Feb 15, 2002.

  1. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    My users are getting this when logging into CPanel:

    sh: /usr/local/cpanel/bin/mysqladmin: Permission denied

    How do I fix this? What went wrong?

    Edit:

    And this:
    sh: /usr/local/cpanel/bin/ftpadmin: Permission denied
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Site5-Matt

    Site5-Matt Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Try this as root:
    chmod 4755 /usr/local/cpanel/bin/cpwrap

    Matt
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    I got this:

    chmod: changing permissions of `/usr/local/cpanel/bin/cpwrap': Operation not permitted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    4755 or 755?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Site5-Matt

    Site5-Matt Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Were you root when you typed that command? If so, try this and tell me what it says:

    lsattr /usr/local/cpanel/bin/cpwrap

    Matt
     
  6. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    Yes, I was root.
     
    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