Since I switched to mariadb on every reboot I get 'Could not open database connection' when acces kloxo-MR panel. The same when loading the websites.
The only way to recover is to use this commands on every restart :
[root@trader ~]# /etc/init.d/mysqld restart
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
[root@trader ~]# kloxo service restart
-bash: kloxo: command not found
[root@trader ~]# /etc/init.d/mysqld restart
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
[root@trader ~]# sh /script/restart
Stopping kloxo-phpcgi: [FAILED]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [FAILED]
Starting kloxo-hiawatha: [ OK ]
[root@trader ~]# sh /script/restart
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
I have used bellow steps to update mysql to mariadb but fail on step 3 because first file was/is not present on my server:
1. Change /etc/yum.repos.d/kloxo-mr.repo:
from:
Code:
[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/$releasever/$basearch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/centalt-centos-$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0
exclude=openssh* perl* mariadb*
to:
Code:
[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/$releasever/$basearch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/centalt-centos-$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0
exclude=openssh* perl*
2. Run:
yum clean all
yum update
3. copy '/etc/my.cnf.rpmsave' to '/etc/my.cnf.d/my.cnf'.
4. Restart mysql with 'service mysqld restart'.
How can I solve this problem now ?