CentOs 7 + Persona server 5.6 почему при запуске пишет не найдена директория ?
есть виртуальный сервер с CentOs 7 minimal
поставил с проблемами
yum install Percona-Server-client-56 Percona-Server-server-56 Percona-Server-devel-56
далее хочу запустить /etc/init.d/mysql start
пишет No such file or directory
может кто ставил, как решить проблему ?
спасибо!
но что-то не так...
[root@CentOS-70-64-minimal ~]# systemctl start mysqld
Job for mysqld.service failed. See 'systemctl status mysqld.service' and 'journalctl -xn' for details.
[root@CentOS-70-64-minimal ~]# systemctl status mysqld.service'
> systemctl status mysqld.service
> ^C
[root@CentOS-70-64-minimal ~]# systemctl status mysqld.service
mysqld.service - MySQL Percona Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
Active: activating (start-post) since Wed 2014-08-27 10:17:10 CEST; 53s ago
Process: 9696 ExecStart=/usr/bin/mysqld_safe (code=exited, status=0/SUCCESS)
Process: 9668 ExecStartPre=/usr/bin/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 9696 (code=exited, status=0/SUCCESS); : 9697 (mysql-systemd-s)
CGroup: /system.slice/mysqld.service
└─control
├─9697 /bin/bash /usr/bin/mysql-systemd-start post
└─9988 sleep 1
Aug 27 10:17:10 CentOS-70-64-minimal systemd[1]: mysqld.service holdoff time over, scheduling restart.
Aug 27 10:17:10 CentOS-70-64-minimal systemd[1]: Stopping MySQL Percona Server...
Aug 27 10:17:10 CentOS-70-64-minimal systemd[1]: Starting MySQL Percona Server...
Aug 27 10:17:11 CentOS-70-64-minimal mysqld_safe[9696]: 140827 10:17:11 mysqld_safe Logging to '/var/log/mysqld.log'.
Aug 27 10:17:11 CentOS-70-64-minimal mysqld_safe[9696]: 140827 10:17:11 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Aug 27 10:17:11 CentOS-70-64-minimal mysqld_safe[9696]: /usr/bin/mysqld_safe: line 172: 9827 Killed nohup /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --l...
Aug 27 10:17:11 CentOS-70-64-minimal mysqld_safe[9696]: 140827 10:17:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Hint: Some lines were ellipsized, use -l to show in full.
Что-то делает, подробнее надо в логах дальше смотреть. Похоже подвис на post-скрипте.
Можно в него посмотреть /usr/bin/mysql-systemd-start.
Можно попробовать перезапустить, но дальше все равно Вам смотреть в логи, чтобы понять что не так. Возможно не хватает какого-либо ресурса.
поставил 6.5 minimal
там при запуске пишет
Starting MySQL (Percona Server).The server quit without upd[FAILED]D file (/var/lib/mysql/CentOS-65-64-minimal.pid).
что-то мне не везет:)
в общем вернулся на cent os 7
вот, что выбает при установке Persona Server
Total 3.8 MB/s | 28 MB 00:00:07
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-percona
Importing GPG key 0xCD2EFD2A:
Userid : "Percona MySQL Development Team "
Fingerprint: 430b df5c 56e7 c94e 848e e60c 1c4c bdcd cd2e fd2a
Package : percona-release-0.0-1.x86_64 (@/percona-release-0.0-1.x86_64)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-percona
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : Percona-Server-shared-56-5.6.19-rel67.0.el6.x86_64 1/5
Installing : Percona-Server-client-56-5.6.19-rel67.0.el6.x86_64 2/5
Installing : libaio-0.3.109-12.el7.x86_64 3/5
Installing : Percona-Server-server-56-5.6.19-rel67.0.el6.x86_64 4/5
FATAL ERROR: please install the following Perl modules before executing /usr/bin/mysql_install_db:
Data::Dumper
chmod: cannot access ‘/var/lib/mysql/mysql’: No such file or directory
Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit.
Run the following commands to create these functions:
mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
See www.percona.com/doc/percona-server/5.6/management/... for more details
Installing : Percona-Server-devel-56-5.6.19-rel67.0.el6.x86_64 5/5
Verifying : Percona-Server-server-56-5.6.19-rel67.0.el6.x86_64 1/5
Verifying : Percona-Server-devel-56-5.6.19-rel67.0.el6.x86_64 2/5
Verifying : Percona-Server-shared-56-5.6.19-rel67.0.el6.x86_64 3/5
Verifying : Percona-Server-client-56-5.6.19-rel67.0.el6.x86_64 4/5
Verifying : libaio-0.3.109-12.el7.x86_64 5/5