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.

full backup question

Discussion in 'Database Discussions' started by AngelsGrave, Jul 18, 2013.

  1. AngelsGrave

    AngelsGrave Member

    Joined:
    May 11, 2012
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    i just gonna move to another server and when i given the full account backup :

    Code:
    for i in `ls /var/cpanel/users`; do /scripts/pkgacct $i ; done
    i got this msg in the every account backup :

    Code:
    Determining mysql dbs...DBD::mysql::st execute failed: Unknown database 'logaholic5' at /usr/local/cpanel/Cpanel/Mysql.pm line 1538.
    DBD::mysql::st execute failed: Unknown database 'logaholic5' at /usr/local/cpanel/Cpanel/Mysql.pm line 1538.
    
    ...mysql version: 5.1......mysqldump version: 5.1...Saving mysql privs...Done
    ...Done
    
    Skipping Logaholic Backup. Logaholic is globally disabled on this system.
    
    Storing mysql dbs...almorabt_hhh.........
    (106814 bytes) almorabt_nios(300275 bytes) almorabt_maj(850954 bytes) almorabt_up(30503 bytes) almorabt_BB.........
    .........
    .........
    (53516925 bytes) almorabt_dir(154838 bytes) almorabt_host3(163825 bytes) almorabt_aqr.........
    .........
    .........
    (253095 bytes) logaholic5warn [pkgacct] logaholic5: mysqldump: Got error: 1049: Unknown database 'logaholic5' when selecting the database
    
    warn [pkgacct] logaholic5: mysqldump: Got error: 1049: Unknown database 'logaholic5' when selecting the database
    
    /usr/bin/mysqlcheck: Got error: 1049: Unknown database 'logaholic5' when selecting the database
    warn [pkgacct] logaholic5: mysqldump: Got error: 1049: Unknown database 'logaholic5' when selecting the database
    
    warn [pkgacct] logaholic5: mysqldump failed -- database may be corrupt
    (789 bytes) warn [pkgacct] Failed to dump database logaholic5
    almorabt_up2.........
    .........
    .........
    (312178 bytes) almorabt_vb3.........
    .........
    (319338 bytes) horde.turba_objects(1603 bytes) horde.turba_shares(1540 bytes) horde.horde_prefs(2447 bytes) horde.kronolith_shares(1621 bytes) horde.kronolith_storage(1621 bytes) horde.mnemo_memos(1599 bytes) horde.nag_tasks(1591 bytes)
    ERROR: Failed to dump one or more databases
    ...Done
    Copying cpuser file.......Done
    Copying crontab file.......Done
    Copying quota info.......Done
    Storing Subdomains....
    Done
    Storing Parked Domains....
    Done
    Storing Addon Domains....
    Done
    Storing SSL domain......Done
    
    is this normal in :
     
  2. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    It seems you have "Logaholic" stats software disabled on your server. If you are not using it, then simply ignore the error. If you want enable it then Login to WHM >> Statistics Software Configuration >> check "Logaholic" and save it.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Did you install a custom version of Logaholic in the past before it was included with cPanel? The error message you see is not fatal, so the backup will continue by skipping the "logaholic5" database. You can ensure Logaholic is enabled on your new server by enabling it via:

    "WHM Home » Server Configuration » Statistics Software Configuration"

    Thank you.
     
Loading...

Share This Page