MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Kloxouser5 on 2013-03-09, 17:11:10

Title: I can't restore backup on Centos6
Post by: Kloxouser5 on 2013-03-09, 17:11:10
Hi!
I recently installed the Kloxo MR on Centos6.Only one bug, problem appear: the restoration process not want to start. This problem not appear until now on Centos5. Is this bug from OS?
I wait an idea.
Regards
Title: Re: I can't restore backup on Centos6
Post by: MRatWork on 2013-03-09, 17:30:50
What you see when restore?. Better with screenshoot.
Title: Re: I can't restore backup on Centos6
Post by: Kloxouser5 on 2013-03-09, 18:15:40
After is selected the restoration file and I click to"Start Restore Process" the page return to Backup Home page, and not to the next page ,and the restoration process not continued.
Title: Re: I can't restore backup on Centos6
Post by: Kloxouser5 on 2013-03-09, 18:23:21
For a moment appear a blank page like in "Screenshot-2", and not continued to confirmation page.
Title: Re: I can't restore backup on Centos6
Post by: MRatWork on 2013-03-09, 19:46:21
Still have a trouble with MariaDB on Centos 6. Better change MariaDB to MySQL55 for this moment.

I found this issue (backup and restore) when using MariaDB on Centos 6.
Title: Re: I can't restore backup on Centos6
Post by: Kloxouser5 on 2013-03-09, 20:02:48
how can I do this changing? Sorry for the questions, but I'm very stupid and beginner .I tried, but not found any command for removing mariaDB.
Title: Re: I can't restore backup on Centos6
Post by: MRatWork on 2013-03-09, 21:14:34
Try:

1. Open '/etc/yum.repos.d/kloxo-mr.repo and change 'enable=1' to 'enable=0' under [kloxo-mr-mariadb32] for 32bit OS or [kloxo-mr-mariadb64] for 64bit OS

2. Convert aria storage-engine (if using aria) with:
Code: [Select]
sh /script/mysql-convert --engine=innodb
3. Remove MariaDB with:
Code: [Select]
rpm -e MariaDB-server --nodeps
rpm -e MariaDB-client --nodeps
rpm -e MariaDB-compat --nodeps
rpm -e MariaDB-common --nodeps

4. Install mysql with:
Code: [Select]
yum install mysql55 mysql55-server

5. Create service  and copy my.cnf with:
Code: [Select]
cp -rf /etc/my.cnf.d/my.cnf /etc/my.cnf
chkconfig mysqld restart

6. Restart mysql with:
Code: [Select]
service mysqld restart
6. Reset mysql root password with:
Code: [Select]
sh /script/reset-mysql-root-password YOURPASSWORD
Title: Re: I can't restore backup on Centos6
Post by: Kloxouser5 on 2013-03-13, 20:01:45
Today I tried to change back the OS to Centos5. Now I can restore the old backup file, but I can't make a new backup.When I want to remove the MariaDB in ssh, I got the: error: package MariaDB-server is not installed message.
Probably is a bug with  my OS.