Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    37

    Arrow Full backup problem

    One of my customers try to backup his site to a remote ftp server and this error appears below the 'full backup in progress' page.

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)'

    and below is the email that is sent to him.

    Can anybody here advise why it wont backup?

    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    Can't call method "login" on an undefined value at /usr/local/cpanel/bin/ftpput line 24.
    --------------------------------------------------------
    Copying Mail files....Done
    Copying proftpd file....Done
    Copying www logs.............
    Done
    Grabbing mysql dbs...Done
    Grabbing mysql privs...Done
    Copying mailman lists....Done
    Copying mailman archives....Done
    Copying homedir....Done
    Copying cpuser file.......Done
    Copying quota info.......Done
    Storing Subdomains....
    Done
    Storing Parked Domains....
    Done
    Copying password.......Done
    Copying shell.......Done
    pkgacctfile is: /tmp/backup-8.2.2003_20-10-49_jase.tar.gz
    Creating Archive ....Done
    md5sum is: 56efdc8c06834dadd193d8d4f5541b46
    --------------------------------------------------------

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    37

    Default Anybody can help this?

    Please...

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Same problem here...

    Anyone know what this is about and how it can be fixed?

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Did you set the MySQL Root password in your WHM?

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Originally posted by sparek-3
    Did you set the MySQL Root password in your WHM?

    cPanel.net Support Ticket Number:
    yes...

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    I set mysql password again and tried it, same results.

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)'

    cPanel.net Support Ticket Number:

  7. #7
    Member
    Join Date
    Sep 2002
    Posts
    282

    Default

    Originally posted by Guile
    I set mysql password again and tried it, same results.

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)'

    cPanel.net Support Ticket Number:
    That might be some kind of non-alpha character confusing mysql into thinking there is no password there

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Is there a .my.cnf file in /root/.my.cnf ? Does the file contain the correct root password to MySQL?

    cPanel.net Support Ticket Number:

  9. #9
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Originally posted by Guile
    I set mysql password again and tried it, same results.

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)'

    cPanel.net Support Ticket Number:
    I change the root mySQL password to "aaaaaa" temporarily and then tried it, same error.

    After password changed I checked out /root/.my.cnf which was also set to "aaaaaa".

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Originally posted by sparek-3
    Is there a .my.cnf file in /root/.my.cnf ? Does the file contain the correct root password to MySQL?

    cPanel.net Support Ticket Number:
    I check this out as well. The password that I set the root mySQL password to is the same in /root/.my.cnf.

    cPanel.net Support Ticket Number:

  11. #11
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    From the shell type:

    Code:
    mysql mysql
    then at the mysql prompt type:

    Code:
    select Host from user where user="root";
    What is displayed? Do you see a row that says localhost ?

    cPanel.net Support Ticket Number:

  12. #12
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Originally posted by sparek-3
    From the shell type:

    Code:
    mysql mysql
    then at the mysql prompt type:

    Code:
    select Host from user where user="root";
    What is displayed? Do you see a row that says localhost ?

    cPanel.net Support Ticket Number:
    I see two under Hosts, first is localhost then I see one of the domains in the server. The thing is that that domain is not the server’s hostname, but just one of many domains on this whm/cpanle server.

    Should I change the second domain name listed under Hosts to the Hostname as it is set in WHM -> Edit Setup so that it matches?

    cPanel.net Support Ticket Number:

  13. #13
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Thats what I have on our servers. There are two Hosts listed for the root user in that database. localhost and the server hostname. You might try changing the other one to your server's hostname:

    Code:
    update user set Host='<your servers hostname>' where Host='<what is is showing>';
    flush privileges;
    cPanel.net Support Ticket Number:

  14. #14
    Member
    Join Date
    Apr 2003
    Posts
    74

    Default

    Originally posted by sparek-3
    Thats what I have on our servers. There are two Hosts listed for the root user in that database. localhost and the server hostname. You might try changing the other one to your server's hostname:

    Code:
    update user set Host='<your servers hostname>' where Host='<what is is showing>';
    flush privileges;
    cPanel.net Support Ticket Number:
    Ok, I did this... It now shows the servers FQDN under the localhost in that table.

    Backup gives the same error though still... =(

    Also, the password in /root/.my.cnf matches to what I set it to.

    cPanel.net Support Ticket Number:

  15. #15
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    What script are you using that generates this error?

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Replies: 12
    Last Post: 12-21-2010, 04:47 PM
  2. Backup/Drive Full Problem
    By thomamon in forum Data Protection
    Replies: 1
    Last Post: 07-28-2009, 02:01 PM
  3. Cpanel Full backup Problem
    By savco in forum Data Protection
    Replies: 4
    Last Post: 05-12-2009, 03:34 AM
  4. Full Backup Problem
    By NickNeeck in forum Data Protection
    Replies: 6
    Last Post: 11-19-2007, 08:25 PM
  5. cPanel full system backup problem
    By Rikki in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-01-2006, 12:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube