VPS侦探论坛

 找回密码
 注册
查看: 6895|回复: 3

1.1 . * Manager of pid-file quit without updating file.

[复制链接]
发表于 2014-6-17 21:42:43 | 显示全部楼层 |阅读模式

usr/local/mysql/var.err


  1. root@localhost:/usr/local/mysql/var# cat li569-150.err
  2. 140617 20:23:01 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  3. 140617 20:23:01 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  4. 140617 20:23:01 [ERROR] Aborting

  5. 140617 20:23:01 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  6. 140617 20:23:01 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
  7. 140617 20:23:02 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  8. 140617 20:23:02 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  9. 140617 20:23:02 [ERROR] Aborting

  10. 140617 20:23:02 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  11. 140617 20:23:02 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
  12. 140617 20:30:02 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  13. 140617 20:30:02 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  14. 140617 20:30:02 [ERROR] Aborting

  15. 140617 20:30:02 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  16. 140617 20:30:02 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
  17. 140617 20:50:25 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  18. 140617 20:50:25 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  19. 140617 20:50:25 [ERROR] Aborting

  20. 140617 20:50:25 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  21. 140617 20:50:25 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
  22. 140617 20:54:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  23. 140617 20:54:46 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  24. 140617 20:54:46 [ERROR] Aborting

  25. 140617 20:54:46 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  26. 140617 20:54:47 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
  27. 140617 21:00:17 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
  28. 140617 21:00:17 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

  29. 140617 21:00:17 [ERROR] Aborting

  30. 140617 21:00:17 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

  31. 140617 21:00:17 mysqld_safe mysqld from pid file /usr/local/mysql/var/li569-150.pid ended
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-6-18 08:23:11 | 显示全部楼层


按错误提示是mysql用户不存在,执行下面添加
groupadd mysql
useradd -s /sbin/nologin -g mysql mysql

后在启动试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-3-6 20:52:15 | 显示全部楼层

原帖由 licess 于 2014-6-18 08:23 发表
按错误提示是mysql用户不存在,执行下面添加
groupadd mysql
useradd -s /sbin/nologin -g mysql mysql

后在启动试试

也出现了这个问题。
新装的ubuntu14.04
查看用户发现是存在mysql用户的,执行groupadd mysql  也会提示用户存在
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-3-6 21:56:48 | 显示全部楼层

回复 3# 的帖子




你看一下ls -l /usr/local/mysql/var 目录的权限
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 07:24 , Processed in 0.025939 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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