New Server mysql Incorrect information

Discussion in 'General' started by anthonywang, Jun 10, 2016.

  1. anthonywang

    anthonywang Member

    because old server have problem and can't restore or fix anything,so i create a new server,now i copy all mysql files from old server /var/lib/mysql/ to new server same folder,but it's not work,error log:
    Code:
    160610 10:59:21 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './xxxxxxxxx/h5ygb_tags.frm'
    160610 10:59:21 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './xxxxxxxx/h5ygb_tags.frm'
    
    i don't know what to do then,please help
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Instead of copying the files, can you mysqldump the data, then load it in the new server with mysql?
     
  3. anthonywang

    anthonywang Member

    I'll try that,thanks your advice
     
  4. anthonywang

    anthonywang Member

    i'm using
    ISPConfig3 and Ubuntu 14.04

    i'm trying install roundcube on server,but i found some step wrong on document
    Document :
    https://www.howtoforge.com/using-roundcube-webmail-with-ispconfig-3-on-debian-wheezy-apache2

    1.
    Code:
    /etc/apache2/conf.d/ i don't have conf.d this folder
    so i change the file roundcube.conf inside conf-available and conf-enabled
    2.
    Code:
    cd /tmp
    git clone https://github.com/w2c/ispconfig3_roundcube.git
    cd /tmp/ispconfig3_roundcube/
    mv ispconfig3_* /var/lib/roundcube/plugins
    cd /var/lib/roundcube/plugins
    mv ispconfig3_account/config/config.inc.php.dist ispconfig3_account/config/config.inc.php
    
    root@server:~# cd /tmp
    root@server:/tmp# git clone https://github.com/w2c/ispconfig3_roundcube.git
    The program 'git' is currently not installed. You can install it by typing:
    apt-get install git
    root@server:/tmp# cd /tmp/ispconfig3_roundcube/
    -bash: cd: /tmp/ispconfig3_roundcube/: No such file or directory
    root@server:/tmp# cd /tmp/ispconfig3_roundcube/
    -bash: cd: /tmp/ispconfig3_roundcube/: No such file or directory
    root@server:/tmp# mv ispconfig3_* /var/lib/roundcube/plugins
    mv: cannot stat ‘ispconfig3_*’: No such file or directory


    then i just stop here
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Sounds like the correct thing to do (file in conf-available, symlink to it under conf-enabled).

    You need to install git, as that message says.
     

Share This Page