VPS侦探论坛

 找回密码
 注册
查看: 4998|回复: 4

lnmp1.2,mysql更新到5.6.23失败,试了两次,求助!!

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

第一次在安装时,选择5.6版本,最后安装失败。
第二次,尽量按照lnmp1.2默认设置安装,成功了。然后再去升级mysql到5.6.23,失败。。
升级失败的日志传上来,军哥看下,谢谢。

本帖子中包含更多资源

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

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


groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
cp: cannot stat `/root/lnmp1.2-full/mysql-5.6.23/support-files/mysql.server': No such file or directory
chmod: cannot access `/etc/init.d/mysql': No such file or directory
Repair databases...
Warning: Using a password on the command line interface can be insecure.
Looking for 'mysql' as: /usr/local/mysql/bin/mysql
Looking for 'mysqlcheck' as: /usr/local/mysql/bin/mysqlcheck
FATAL ERROR: Upgrade failed
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
/bin/lnmp: line 26: /etc/init.d/mysql: No such file or directory
Starting php-fpm Failed loading /usr/local/zend/ZendGuardLoader.so:  /usr/local/zend/ZendGuardLoader.so: cannot open shared object file: No such file or directory
done
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-6-18 20:14:36 | 显示全部楼层

正常安装成功,应该会有mysql.server 这个文件
你cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
看看,这个是否存在

而且你这个php的配置也存在问题,ZendGuardLoader也不存在
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-6-19 09:02:43 | 显示全部楼层



都是按照教程自动安装的,那个PHP倒不影响,可以正常,主要是升级到MYSQL5.6以后,MYSQL就没办法用了。
按照你的说法
你cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
我操做完,再重启lnmp restart,还是报错。
Stoping LNMP...
Stoping nginx...  done
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...  done
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/var/localhost.localdomain.pid).
Starting php-fpm Failed loading /usr/local/zend/ZendGuardLoader.so:  /usr/local/zend/ZendGuardLoader.so: cannot open shared object file: No such file or directory
done
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-6-19 15:18:38 | 显示全部楼层

回复 4# 的帖子


没具体日志信息没法说

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 23:24 , Processed in 0.027725 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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