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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
     
  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
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    4755 or 755?
     
  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.
     
Loading...

Share This Page