VPS侦探论坛

 找回密码
 注册
查看: 6649|回复: 8

mysql 启动失败

[复制链接]
发表于 2014-7-24 15:46:00 | 显示全部楼层 |阅读模式

root@cooc1006:~# /etc/init.d/mysql status
* MySQL is not running
root@cooc1006:~# /etc/init.d/mysql start
Starting MySQL
. * Manager of pid-file quit without updating file.
root@cooc1006:~#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-7-24 17:19:09 | 显示全部楼层


不按要求置顶帖要求提供日志信息,没法说
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2014-7-25 09:37:15 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-7-25 10:50:28 | 显示全部楼层



你这是mysql启动不了,要提供mysql日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-7-25 16:24:59 | 显示全部楼层

这就是两个mysql 两个php的结果 用一键安装包安装出来就是这样

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2014-7-29 14:26:08 | 显示全部楼层

回复 4# 的帖子


root@cooc1006:/usr/local/mysql/var# cat cooc1006.err
140729 14:32:40 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
140729 14:32:40 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!


140729 14:32:40 [ERROR] Aborting


140729 14:32:40 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete


140729 14:32:40 mysqld_safe mysqld from pid file /usr/local/mysql/var/cooc1006.pid ended


root@cooc1006:/usr/local/mysql/var# tail -5 /etc/passwd
sshd:x:104:65534::/var/run/sshd:/usr/sbin/nologin
pollinate:x:105:1::/var/cache/pollinate:/bin/false
mclog:x:1000:1000:Ubuntu:/home/mclog:/bin/bash
mysql:x:1001:1001::/home/mysql:/sbin/nologin
www:x:1002:1002::/home/www:/sbin/nologin

[ 本帖最后由 cooc123 于 2014-7-29 14:35 编辑 ]
发表于 2014-7-29 21:54:57 | 显示全部楼层

回复 6# 的帖子


rpm -qa|grep mysql 或dpkg -l|grep mysql 看一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2014-7-31 13:50:01 | 显示全部楼层

回复 7# 的帖子


root@cooc1006:~# rpm -qa|grep mysql
The program 'rpm' is currently not installed. You can install it by typing:
apt-get install rpm
root@cooc1006:~# dpkg -l|grep mysql
root@cooc1006:~#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-7-31 16:27:00 | 显示全部楼层

目前来看不清楚什么原因
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-3-29 12:39 , Processed in 0.029382 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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