VPS侦探论坛

 找回密码
 注册
查看: 3998|回复: 1

lnmp1.2安装成功 但是MySQL启动失败

[复制链接]
发表于 2015-6-11 16:59:02 | 显示全部楼层 |阅读模式

[root@localhost var]# lnmp mysql start
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/localhost.localdomain.pid).

======================================================================================================
查看错误日志:
08:56:12 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=1000
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 795907 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0x760ece]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x41a)[0x654daa]
/lib64/libpthread.so.0[0x3095a0f710]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
150611 16:56:12 mysqld_safe mysqld from pid file /usr/local/mysql/var/localhost.localdomain.pid ended
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-6-12 16:16:36 | 显示全部楼层


看日志信息是mysql崩溃了
可以尝试修改日志信息里提到的参数试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 16:32 , Processed in 0.025416 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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