VPS侦探论坛

 找回密码
 注册
查看: 3942|回复: 2

LNMP 3 beta mariadb 5.5 启动失败!

[复制链接]
发表于 2016-4-21 16:39:10 | 显示全部楼层 |阅读模式

日志:
  1. Version: '5.5.48-MariaDB'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
  2. 160421 15:18:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  3. 160421 15:18:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  4. 160421 15:18:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  5. 160421 15:18:27 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 20416 ...
  6. 160421 15:18:27 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  7. 160421 15:18:27 [ERROR] Aborting

  8. 160421 15:18:27 [Note]
  9. 160421 15:18:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
  10. 160421 15:21:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  11. 160421 15:21:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  12. 160421 15:21:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  13. 160421 15:21:27 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 21292 ...
  14. 160421 15:21:27 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  15. 160421 15:21:27 [ERROR] Aborting

  16. 160421 15:21:27 [Note]
  17. 160421 15:21:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
  18. 160421 15:58:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  19. 160421 15:58:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  20. 160421 15:58:27 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  21. 160421 15:58:27 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 21427 ...
  22. 160421 15:58:27 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  23. 160421 15:58:27 [ERROR] Aborting

  24. 160421 15:58:27 [Note]
  25. 160421 15:58:27 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
  26. 160421 16:03:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  27. 160421 16:03:22 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  28. 160421 16:03:22 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  29. 160421 16:03:22 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 22392 ...
  30. 160421 16:03:22 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  31. 160421 16:03:22 [ERROR] Aborting

  32. 160421 16:03:22 [Note]
  33. 160421 16:03:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
  34. 160421 16:07:09 [Note] /usr/local/mariadb/bin/mysqld: Normal shutdown

  35. 160421 16:07:09 [Note] Event Scheduler: Purging the queue. 0 events
  36. 160421 16:07:09  InnoDB: Starting shutdown...
  37. 160421 16:07:09  InnoDB: Shutdown completed; log sequence number 23498257
  38. 160421 16:07:09 [Note] /usr/local/mariadb/bin/mysqld: Shutdown complete

  39. 160421 16:07:09 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
  40. 160421 16:07:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  41. 160421 16:07:35 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  42. 160421 16:07:35 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  43. 160421 16:07:35 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 2666 ...
  44. 160421 16:07:35 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  45. 160421 16:07:35 [ERROR] Aborting

  46. 160421 16:07:35 [Note]
  47. 160421 16:07:35 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
  48. 160421 16:08:32 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  49. 160421 16:08:32 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  50. 160421 16:08:32 [Warning] Ignoring user change to 'mysql' because the user was set to 'mariadb' earlier on the command line

  51. 160421 16:08:32 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.48-MariaDB) starting as process 3844 ...
  52. 160421 16:08:32 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  53. 160421 16:08:32 [ERROR] Aborting

  54. 160421 16:08:32 [Note]
  55. 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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-4-21 17:17:57 | 显示全部楼层


可能是通过apt或yum安装上mysql-client之类的包了
可以rpm -qa|grep mysql 或 dpkg -l|grep mysql 进行查看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-4-21 21:52:34 | 显示全部楼层

原帖由 licess 于 2016-4-21 17:17 发表
可能是通过apt或yum安装上mysql-client之类的包了
可以rpm -qa|grep mysql 或 dpkg -l|grep mysql 进行查看

谢谢回复,我试试看。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 13:37 , Processed in 0.025751 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表