Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 19:26:13

Author Topic: MariaDB Update error  (Read 3210 times)

0 Members and 1 Guest are viewing this topic.

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
MariaDB Update error
« on: 2015-10-20, 16:52:07 »
When doing a yum update I recieve this error. Any help would be appreciated. These are production servers so I don't want to do anything rash.

Code: [Select]
[root@BIGHOST ~]# yum clean all
Loaded plugins: fastestmirror, protectbase, replace, security
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@BIGHOST ~]# yum update
Loaded plugins: fastestmirror, protectbase, replace, security
Determining fastest mirrors
mratwork-epel/metalink                                   |  12 kB     00:00
 * addons: repos.dfw.quadranet.com
 * base: repos.dfw.quadranet.com
 * extras: mirror.steadfast.net
 * mratwork-epel: fedora-epel.mirror.lstn.net
 * mratwork-ius-stable: dfw.mirror.rackspace.com
 * updates: centos.firehosted.com
Webmin                                                   | 1.0 kB     00:00
Webmin/primary                                           |  29 kB     00:00
Webmin                                                                  229/229
addons                                                   | 1.9 kB     00:00
addons/primary_db                                        | 1.1 kB     00:00
base                                                     | 1.1 kB     00:00
base/primary                                             | 1.3 MB     00:00
base                                                                  3667/3667
extras                                                   | 2.1 kB     00:00
extras/primary_db                                        | 173 kB     00:00
mratwork-epel                                            | 3.6 kB     00:00
mratwork-epel/primary_db                                 | 2.9 MB     00:00
mratwork-ius-archive                                     | 2.3 kB     00:00
mratwork-ius-archive/primary_db                          | 1.7 MB     00:00
mratwork-ius-stable                                      | 2.2 kB     00:00
mratwork-ius-stable/primary_db                           |  41 kB     00:00
mratwork-mariadb-32                                      | 2.5 kB     00:00
mratwork-mariadb-32/primary_db                           |  19 kB     00:00
mratwork-mariadb-64                                      | 2.5 kB     00:00
mratwork-mariadb-64/primary_db                           |  19 kB     00:00
mratwork-nginx                                           | 2.5 kB     00:00
mratwork-nginx/primary_db                                |  11 kB     00:00
mratwork-nginx-stable                                    | 2.4 kB     00:00
mratwork-nginx-stable/primary_db                         | 6.2 kB     00:00
mratwork-release-neutral-noarch                          |  951 B     00:00
mratwork-release-neutral-noarch/primary                  |  65 kB     00:00
mratwork-release-neutral-noarch                                         218/218
mratwork-release-version-arch                            |  951 B     00:00
mratwork-release-version-arch/primary                    | 100 kB     00:00
mratwork-release-version-arch                                           264/264
mratwork-varnish-3.0                                     |  951 B     00:00
mratwork-varnish-3.0/primary                             |  16 kB     00:00
mratwork-varnish-3.0                                                      71/71
updates                                                  | 1.9 kB     00:00
updates/primary_db                                       | 531 kB     00:00
Excluding Packages in global exclude list
Finished
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package MariaDB-server.i386 0:10.0.21-1 set to be updated
---> Package MariaDB-server.x86_64 0:10.0.21-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch        Version         Repository                Size
================================================================================
Updating:
 MariaDB-server      i386        10.0.21-1       mratwork-mariadb-32       62 M
 MariaDB-server      x86_64      10.0.21-1       mratwork-mariadb-64       63 M

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       2 Package(s)

Total download size: 125 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): MariaDB-10.0.21-centos5-i686-server.rpm           |  62 MB     00:04
(2/2): MariaDB-10.0.21-centos5-x86_64-server.rpm         |  63 MB     00:04
--------------------------------------------------------------------------------
Total                                            15 MB/s | 125 MB     00:08
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

******************************************************************
A MySQL or MariaDB server package (MariaDB-server-10.0.17-1) is installed.

The current MariaDB server package is provided by a different
vendor (Monty Program ABMonty Program AB) than Monty Program AB.  Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

  You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by Monty Program AB
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process.  Important details
can be found in the MariaDB manual, in the Upgrading section.
******************************************************************
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.21-1.x86_64
error: %pre(MariaDB-server-10.0.21-1.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.21-1

******************************************************************
A MySQL or MariaDB server package (MariaDB-server-10.0.17-1) is installed.

The current MariaDB server package is provided by a different
vendor (Monty Program ABMonty Program AB) than Monty Program AB.  Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

  You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by Monty Program AB
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process.  Important details
can be found in the MariaDB manual, in the Upgrading section.
******************************************************************
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.21-1.i386
error: %pre(MariaDB-server-10.0.21-1.i386) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.21-1

Failed:
  MariaDB-server.i386 0:10.0.21-1       MariaDB-server.x86_64 0:10.0.21-1


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: MariaDB Update error
« Reply #1 on: 2015-10-20, 21:10:04 »
Try 'yum remove MariaDB*.i386; yum clean all; yum update'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: MariaDB Update error
« Reply #2 on: 2015-10-21, 01:46:37 »
Ok. Thanks. How do i switch to MariaDB from MySQL.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: MariaDB Update error
« Reply #3 on: 2015-10-21, 04:00:15 »
Your server already use MariaDB.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline xamer

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: MariaDB Update error
« Reply #4 on: 2015-12-10, 08:43:49 »
I tried to install mysql instead of MariaDB, using sh /script/mariadb-to-mysql and removing the line skipinnodb in my.cnf and my,cnf,d folder.
And mysql service doesn't start at all. Is there any ideas?
« Last Edit: 2015-12-10, 09:03:53 by xamer »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.039 seconds with 21 queries.

web stats analysis