LNMP 3 beta mariadb 5.5 启动失败!
日志:Version: '5.5.48-MariaDB'socket: '/tmp/mysql.sock'port: 3306Source distribution160421 15:18:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 15:18:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:18:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:18:27 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 20416 ...
160421 15:18:27 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 15:18:27 Aborting
160421 15:18:27
160421 15:18:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160421 15:21:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 15:21:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:21:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:21:27 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 21292 ...
160421 15:21:27 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 15:21:27 Aborting
160421 15:21:27
160421 15:21:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160421 15:58:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 15:58:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:58:27 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 15:58:27 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 21427 ...
160421 15:58:27 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 15:58:27 Aborting
160421 15:58:27
160421 15:58:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160421 16:03:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 16:03:22 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:03:22 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:03:22 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 22392 ...
160421 16:03:22 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 16:03:22 Aborting
160421 16:03:22
160421 16:03:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160421 16:07:09 /usr/local/mariadb/bin/mysqld: Normal shutdown
160421 16:07:09 Event Scheduler: Purging the queue. 0 events
160421 16:07:09InnoDB: Starting shutdown...
160421 16:07:09InnoDB: Shutdown completed; log sequence number 23498257
160421 16:07:09 /usr/local/mariadb/bin/mysqld: Shutdown complete
160421 16:07:09 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
160421 16:07:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 16:07:35 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:07:35 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:07:35 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 2666 ...
160421 16:07:35 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 16:07:35 Aborting
160421 16:07:35
160421 16:07:35 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
160421 16:08:32 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160421 16:08:32 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:08:32 Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line
160421 16:08:32 /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 3844 ...
160421 16:08:32 Can't find messagefile '/usr/share/mysql/errmsg.sys'
160421 16:08:32 Aborting
160421 16:08:32
160421 16:08:32 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
我是按这里的教程:https://fawkex.me/nginx-pagespeed-modsecurity-subsfilter/
打算安装个 pagespeed呢。结果Mariadb就崩了。
经过测试发现,是这里边的安装有问题。求介绍哪些是冲突的?
apt-get install curl libpcre3 libpcre3-dev zlib1g-dev libssl-dev build-essential git libxslt-dev libgd2-xpm libgd2-xpm-dev libgeoip-dev libpam-dev libperl-dev libxml2 libxml2-dev libxml2-utils libaprutil1 libaprutil1-dev apache2-prefork-dev -y
谢谢。
[ 本帖最后由 Alphaeve 于 2016-4-21 17:13 编辑 ] 可能是通过apt或yum安装上mysql-client之类的包了
可以rpm -qa|grep mysql 或 dpkg -l|grep mysql 进行查看 原帖由 licess 于 2016-4-21 17:17 发表 https://bbs.vpser.net/images/common/back.gif
可能是通过apt或yum安装上mysql-client之类的包了
可以rpm -qa|grep mysql 或 dpkg -l|grep mysql 进行查看
谢谢回复,我试试看。
页:
[1]