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 error on cp

Discussion in 'General Discussion' started by Rebelus, Sep 24, 2005.

  1. Rebelus

    Rebelus Member

    Joined:
    Nov 13, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I'm using stable tree and during 2 days, on user cp's at mysql section,
    theree is
    "Can't call method "quote" on an undefined value at /usr/local/cpanel/Cpanel/Mysql.pm line 974."

    on both existing user's list and user selection drop-down menu of permissions sections.

    this error show at xcontroller but for other themes, ther is no error and no users listing.

    I just check: from user cp, I can't create nor delete db. And I got no any warning or error.

    cp mysql functions don't work.

    But via PhpMyAdmin, everythink work without problem.

    Any help?

    PS: I did all script updates with "force" option. Finaly, I move to release tree from stable and update. Nothing changed.
     
  2. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    Hello,

    Do you have a ticket number?

    What is the output of these commands: (uname -a feel free to edit out your hostname and IP)

    /usr/local/cpanel/cpanel -V
    uname -a
    mysql -V
     
  3. Rebelus

    Rebelus Member

    Joined:
    Nov 13, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I don't have cpanel ticket. this is a ev1servers server. I opened a ticket there and they said, /usr/local/cpanel/Cpanel/Mysql.pm was edited. Yes and No. I opened this file for looking what is it at line 974. But I change nothing in it. Nor in any cpanel file.

    Now answers:

    /usr/local/cpanel/cpanel -V :
    10.8.0-RELEASE_27

    uname -a :
    Linux server.name 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux

    mysql -V :
    mysql Ver 12.22 Distrib 4.0.25, for pc-linux-gnu (i686)
     
  4. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    Excellent, thanks

    What is the output of this command:

    ls -l /usr/local/cpanel/bin/mysqladmin
     
  5. Rebelus

    Rebelus Member

    Joined:
    Nov 13, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    root@ens01 [~]# ls -l /usr/local/cpanel/bin/mysqladmin
    -rwx------ 1 root root 8954 Sep 21 01:15 /usr/local/cpanel/bin/mysqladmin*
    root@ens01 [~]#
     
  6. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
  7. Rebelus

    Rebelus Member

    Joined:
    Nov 13, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thanks. I did it but nothing changed. I'm gettin same error :(
     
  8. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I moved from stable to release and found my server had a few mysql problems (mostly with table handlers). I did:

    /scripts/fixmysql
    service mysql restart

    and that fixed the problems. Worth a try....
     
  9. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    Please open a ticket with your root SSH info so we can take a look. Unless there were errors building perl that shoudl have fixed it.

    Go ahead and put Attn Dan in the brief description part :)
     
Loading...

Share This Page