On 24/11/2014 11:47 pm, mo.ucina wrote:
Hello Guys,
Nothing is working for me on el7 on the mariadb-server , mysql-server
front . I have just upgraded to 0.27.4-10.el7 and to do that I had to
remove maria-galera-server . After installation of new myth and new
mariadb-server , there is no mysql-server :
root@htpc /home/mythtv/Downloads # yum whatprovides *mysql-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.nsw.au.glomirror.com.au
* elrepo: mirror.web24.net.au
* epel: mirror.as24220.net
* extras: centos.nsw.au.glomirror.com.au
* scrpms: scrpms.net
* updates: centos.nsw.au.glomirror.com.au
No matches found
I have pkgconfig-0.27.1-4.el7.x86_64 already installed , it did not
seem to do much . The only thing that works for me is to remove the
regular mariadb-server and put back the 'galera' :
root@htpc /home/mythtv/Downloads # systemctl status mythbackend
mythbackend.service - MythTV backend service
Loaded: loaded (/etc/systemd/system/mythbackend.service; enabled)
Active: inactive (dead) since Mon 2014-11-24 23:32:38 AEDT; 7s ago
Main PID: 3696 (code=exited, status=0/SUCCESS)
Nov 24 23:32:30 htpc.homenet systemd[1]: Stopping MythTV backend
service...
Nov 24 23:32:38 htpc.homenet systemd[1]: Stopped MythTV backend service.
Warning: Journal has been rotated since unit was started. Log output
is incomplete or unavailable.
root@htpc /home/mythtv/Downloads # systemctl start mariadb
Job for mariadb.service failed. See 'systemctl status mariadb.service'
and 'journalctl -xn' for details.
root@htpc /home/mythtv/Downloads # systemctl status mariadb.service
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled)
Active: failed (Result: exit-code) since Mon 2014-11-24 23:33:36
AEDT; 12s ago
Process: 4741 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID
(code=exited, status=1/FAILURE)
Process: 4740 ExecStart=/usr/bin/mysqld_safe --basedir=/usr
(code=exited, status=0/SUCCESS)
Process: 4712 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n
(code=exited, status=0/SUCCESS)
Main PID: 4740 (code=exited, status=0/SUCCESS)
Nov 24 23:33:33 htpc.homenet mysqld_safe[4740]: 141124 23:33:33
mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Nov 24 23:33:33 htpc.homenet mysqld_safe[4740]: 141124 23:33:33
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Nov 24 23:33:36 htpc.homenet mysqld_safe[4740]: 141124 23:33:36
mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
Nov 24 23:33:36 htpc.homenet systemd[1]: mariadb.service: control
process exited, code=exited status=1
Nov 24 23:33:36 htpc.homenet systemd[1]: Failed to start MariaDB
database server.
Nov 24 23:33:36 htpc.homenet systemd[1]: Unit mariadb.service entered
failed state.
root@htpc /home/mythtv/Downloads #
root@htpc /home/mythtv/Downloads # rpm -e --nodeps
mariadb-server-5.5.40-1.el7_0.x86_64
warning: /var/log/mariadb/mariadb.log saved as
/var/log/mariadb/mariadb.log.rpmsave
root@htpc /home/mythtv/Downloads # rpm -ivh
mariadb-galera-server-5.5.37-2.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mariadb-galera-server-1:5.5.37-2.#################################
[100%]
root@htpc /home/mythtv/Downloads # yum whatprovides *mysql-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.rackcentral.com.au
* elrepo: mirror.web24.net.au
* epel: mirror.as24220.net
* extras: mirror.as24220.net
* scrpms: scrpms.net
* updates: mirror.as24220.net
1:mariadb-galera-server-5.5.37-2.el7.x86_64 : The MariaDB server and
related files
Repo : installed
Matched from:
Provides : mysql-server = 1:5.5.37-2.el7
root@htpc /home/mythtv/Downloads # systemctl start mariadb.service
root@htpc /home/mythtv/Downloads # systemctl start mythbackend
root@htpc /home/mythtv/Downloads # systemctl status mythbackend
mythbackend.service - MythTV backend service
Loaded: loaded (/etc/systemd/system/mythbackend.service; enabled)
Active: active (running) since Mon 2014-11-24 23:35:51 AEDT; 7s ago
Main PID: 15225 (mythbackend)
CGroup: /system.slice/mythbackend.service
└─15225 /usr/bin/mythbackend --logpath /var/log/mythtv
--loglevel crit
Nov 24 23:35:51 htpc.homenet systemd[1]: Started MythTV backend service.
root@htpc /home/mythtv/Downloads #
Have a look at /var/log/mariadb/mariadb.log it should give you some
information about why mariadb-server would not start.
_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users