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.

Mysqlwrap Error

Discussion in 'General Discussion' started by wonton, Mar 14, 2004.

  1. wonton

    wonton Member

    Joined:
    May 15, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Taiwan
    I have a problum when login account control panel.

    It shows follow msg:

    Code:
    There was an error setting uids. Please have the admin check permissions on: /usr/local/cpanel/bin/mysqlwrap 

    In my system, there are:

    #cd /usr/local/cpanel/bin/
    #ls -l
    -rwxr-xr-x 1 root wheel 9304 3 13 01:40 cpwrap
    lrwxrwxrwx 1 root 10 6 3 15 11:53 mysqlwrap -> cpwrap

    What's wrong with my cPanel? Any Suggestion?

    PS: 9.1.0-STABLE-68 on 4.8-RELEASE-p14
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Did your last upcp go smoothly, or did you have to hit ctrl-c to skip some parts? This problem has always been fixed for me by upgrading to the next build.
     
  3. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi,


    Try to set the ownership for mysqlwrap -> cpwrap* as root. Set uid for cpwrap as follows.

    -rwsr-xr-x 1 root wheel 9572 Mar 12 03:20 cpwrap*
    lrwxrwxrwx 1 root root 6 Mar 10 2003 mysqlwrap -> cpwrap*

    Regards,

    Bright:eek:
     
  4. wonton

    wonton Member

    Joined:
    May 15, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Taiwan
    I set that:

    -rwsr-xr-x 1 root wheel 9304 3 13 01:40 cpwrap
    lrwxrwxrwx 1 root wheel 6 3 15 11:53 mysqlwrap -> cpwrap


    The problum fixed.

    Thanks a lot. :)
     
Loading...

Share This Page