Not sure if it’s the right place to post it, but, I’ve been setting up some virtual machines to test the TokuDB Storage Engine and have been getting an issue when trying ti setup TokuDB from the YUM repo. The issue is not with Percona repo but with the EPEL as TokuDB setup has jemalloc as its dependence.
[vagrant@node01 vagrant]$ sudo yum -y install jemalloc
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
* base: centos.ufes.br
* epel: mirror.globo.com
* extras: centos.ufes.br
* updates: centos.ufes.br
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package jemalloc.x86_64 0:3.4.0-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================
Package Arch Version Repository Size
===============================================================================================
Installing:
jemalloc x86_64 3.4.0-1.el6 epel 97 k
Transaction Summary
===============================================================================================
Install 1 Package(s)
Total download size: 97 k
Installed size: 298 k
Downloading Packages:
http://mirror.globo.com/epel/6/x86_64/jemalloc-3.4.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.uta.edu.ec/fedora-epel/6/x86_64/jemalloc-3.4.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.cedia.org.ec/fedora-epel/6/x86_64/jemalloc-3.4.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.ci.ifes.edu.br/epel/6/x86_64/jemalloc-3.4.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error Downloading Packages:
jemalloc-3.4.0-1.el6.x86_64: failure: jemalloc-3.4.0-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
Looking for the jemalloc-3.4.0-1.el6.x86_64.rpm on the EPEL repo, I found that the package version is not there and the one on the repo is jemalloc-3.6.0-1.el6.x86_64.rpm. After setting up the jemalloc package that exists on the EPEL repo I was able to setup the TokuDB one.
[vagrant@node01 vagrant]$ wget http://mirror.uta.edu.ec/fedora-epel/6/x86_64/jemalloc-3.6.0-1.el6.x86_64.rpm
--2015-05-01 15:04:51-- http://mirror.uta.edu.ec/fedora-epel/6/x86_64/jemalloc-3.6.0-1.el6.x86_64.rpm
Resolving mirror.uta.edu.ec... 200.93.227.165
Connecting to mirror.uta.edu.ec|200.93.227.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 102624 (100K) [application/x-rpm]
Saving to: “jemalloc-3.6.0-1.el6.x86_64.rpm”
100%[===================================================>] 102,624 130K/s in 0.8s
2015-05-01 15:04:52 (130 KB/s) - “jemalloc-3.6.0-1.el6.x86_64.rpm” saved [102624/102624]
[vagrant@node01 vagrant]$ sudo rpm -ivh jemalloc-3.6.0-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
1:jemalloc ########################################### [100%]
[vagrant@node01 vagrant]$ sudo yum -y install Percona-Server-tokudb-56.x86_64
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
* base: centos.ufes.br
* epel: mirror.globo.com
* extras: centos.ufes.br
* updates: centos.ufes.br
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-tokudb-56.x86_64 0:5.6.23-rel72.1.el6 will be installed
--> Finished Dependency Resolution
Warning: RPMDB altered outside of yum.
Installing : Percona-Server-tokudb-56-5.6.23-rel72.1.el6.x86_64 1/1
* This release of Percona Server is distributed with TokuDB storage engine.
* Run the following script to enable the TokuDB storage engine in Percona Server:
ps_tokudb_admin --enable -u <mysql_admin_user> -p[mysql_admin_pass] [-S <socket>] [-h <host> -P <port>]
* See http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_installation.html for more installation details
* See http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_intro.html for an introduction to TokuDB
Verifying : Percona-Server-tokudb-56-5.6.23-rel72.1.el6.x86_64 1/1
Installed:
Percona-Server-tokudb-56.x86_64 0:5.6.23-rel72.1.el6
Not sure if you guys can point it to the last existing version of jemalloc on EPEL repo, just a feedback.
Cheers,