VPS侦探论坛

 找回密码
 注册
查看: 6111|回复: 14

军总,越来越频繁了,隔十个小时左右就502,lnmpa

[复制链接]
发表于 2015-4-18 14:40:01 | 显示全部楼层 |阅读模式

日志在哪看,需要帖哪个目录哪个文件的日志上来?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-4-19 10:36:39 | 显示全部楼层


lnmpa的502肯定是apache挂了
你看看/usr/local/apache/logs/error_log 里是否有相关的信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-4-20 00:21:09 | 显示全部楼层

回复 2# 的帖子




这是什么问题呢

本帖子中包含更多资源

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

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



zend_mm_heap corrupted 貌似是个bug在php 5.4.35之后的版本中是修复了的

下面还有个提示,让你增加MaxClients的值
你的是vps什么配置的?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-4-20 15:00:48 | 显示全部楼层

PHP版本(php_version):        5.2.17p1
要怎么升呢?

内存1.5G

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

 楼主| 发表于 2015-4-20 15:04:14 | 显示全部楼层

MaxClients在哪设置呢,军哥的建议是设置多少
发表于 2015-4-20 15:52:39 | 显示全部楼层
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-4-20 18:22:31 | 显示全部楼层

回复 7# 的帖子


现在的是 5.2.17p1

不知道可以升级到哪个版本,http://php.net/downloads.php
好像也没说哪些可以直接升吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-4-20 21:29:41 | 显示全部楼层

回复 8# 的帖子


看之前#4给你的回复
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-4-20 21:38:08 | 显示全部楼层

回复 9# 的帖子




一直卡到这里了,郁闷死

本帖子中包含更多资源

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

x
 楼主| 发表于 2015-4-20 22:24:24 | 显示全部楼层

为何升级成功了,探针显示的还是,也重启过了
PHP版本(php_version):5.2.17p1

本帖子中包含更多资源

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

x
 楼主| 发表于 2015-4-20 22:26:28 | 显示全部楼层

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-4-20 22:28:40 | 显示全部楼层
./upgrade_php.sh

完了,我是lnmpa的,输成了lnmp的命令了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-4-20 22:40:42 | 显示全部楼层
root@debian:~# /etc/init.d/mysql start
Starting MySQL
.Manager of pid-file quit without updating file. ... failed!


启动不了MYSQL了

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

 楼主| 发表于 2015-4-20 23:00:12 | 显示全部楼层
150420 22:47:07 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
150420 22:47:09 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
150420 22:47:11  InnoDB: Initializing buffer pool, size = 8.0M
150420 22:47:11  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
150420 22:47:11  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
150420 22:47:11  InnoDB: Error: Write to file ./ibdata1 failed at offset 0 0.
InnoDB: 1048576 bytes should have been written, only -1 were written.
InnoDB: Operating system error number 28.
InnoDB: Check that your OS and file system support files of this size.
InnoDB: Check also that the disk is not full or a disk quota exceeded.
InnoDB: Error number 28 means 'No space left on device'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: Error in creating ./ibdata1: probably out of disk space
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
150420 22:47:11 [ERROR] Plugin 'InnoDB' init function returned error.
150420 22:47:11 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
14:47:11 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=151
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 = 133331 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 0x30000
[0x839997e]
[0x81e2c44]
[0xb7701400]
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.
150420 22:47:11 mysqld_safe mysqld from pid file /usr/local/mysql/var/debian.pid ended
150420 22:47:54 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
150420 22:47:54 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
150420 22:47:54  InnoDB: Initializing buffer pool, size = 8.0M
150420 22:47:54  InnoDB: Completed initialization of buffer pool
InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
InnoDB: 0 pages (rounded down to MB) than specified in the .cnf file:
InnoDB: initial 640 pages, max 0 (relevant if non-zero) pages!
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
150420 22:47:54 [ERROR] Plugin '150420 22:47:54 mysqld_safe mysqld from pid file /usr/local/mysql/var/debian.pid ended
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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