$ yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm Loaded plugins: fastestmirror Setting up Install Process percona-release-latest.noarch.rpm | 20 kB 00:00 Examining /var/tmp/yum-root-3a5UYo/percona-release-latest.noarch.rpm: percona-release-1.0-27.noarch Marking /var/tmp/yum-root-3a5UYo/percona-release-latest.noarch.rpm to be installed Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base
如果sudo yum makecache依旧报错([Errno 14] Peer cert cannot be verified or peer cert invalid),追加sslverify=false导/etc/yum.conf文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14
$ sudo yum makecache Loaded plugins: fastestmirror Determining fastest mirrors epel/metalink | 4.4 kB 00:00 * epel: ftp.iij.ad.jp https://mirrors.tuna.tsinghua.edu.cn/centos-vault/6.8/os/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid Trying other mirror. It was impossible to connect to the Red Hat servers. This could mean a connectivity issue in your environment, such as the requirement to configure a proxy, or a transparent proxy that tampers with TLS security, or an incorrect system clock. Please collect information about the specific failure that occurs in your environment, using the instructions in: https://access.redhat.com/solutions/1527033 and open a ticket with Red Hat Support.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
IMPORTANT: Please check that the backup run completes successfully. At the end of a successful backup run innobackupex prints "completed OK!".
220324 18:36:59 version_check Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup;host=127.0.0.1;port=3306' as 'root' (using password: YES). 220324 18:36:59 version_check Connected to MySQL server 220324 18:36:59 version_check Executing a version check against the server... 220324 18:36:59 version_check Done. 220324 18:36:59 Connecting to MySQL server host: 127.0.0.1, user: root, password: set, port: 3306, socket: not set Using server version 10.1.32-MariaDB-1~jessie innobackupex version 2.4.24 based on MySQL server 5.7.35 Linux (x86_64) (revision id: b4ee263) xtrabackup: uses posix_fadvise(). innobackupex: Can't change dir to '/var/lib/mysql/' (Errcode: 2 - No such file or directory) xtrabackup: cannot my_setwd /var/lib/mysql/