VPS侦探论坛

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

[Oracle] 数据库升级出错,启动不了

[复制链接]
发表于 2015-10-30 14:11:34 | 显示全部楼层 |阅读模式

数据库启动不了报错/etc/init.d/mysql: line 256: my_print_defaults: command not foundStarting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)

lnmp1.0,mysql数据库从5.1版本升级到5.5
然后最后启动不了数据库

版本详细日志 麻烦军哥看一下,谢谢了!!
已经按照网上的方法


basedir =/usr/local/mysql
datadir =/usr/local/mysql/var

添加了这个还是不行

[ 本帖最后由 aibaby7 于 2015-10-30 14:14 编辑 ]

本帖子中包含更多资源

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

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


useradd: user mysql exists
ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link

/etc/init.d/mysql: line 256: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Repair databases...
./upgrade_mysql.sh: line 314: /usr/local/mysql/bin/mysql_upgrade: No such file or directory
Start Nginx...
Starting nginx...  done
Start php-fpm......
Starting php-fpm Zend Guard Loader requires Zend Engine API version 220100525.
The Zend Engine API version 220131226 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.

[30-Oct-2015 13:00:35] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[30-Oct-2015 13:00:35] ERROR: FPM initialization failed
failed
Restart MySQL...
/etc/init.d/mysql: line 256: my_print_defaults: command not found
/etc/init.d/mysql: line 256: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 256: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-10-30 15:41:34 | 显示全部楼层

Linking CXX static library libsql.a
/usr/bin/ar: libsql.a: No space left on device
make[2]: *** [sql/libsql.a] Error 1

安装时系统硬盘空间不足
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-11-4 14:19:03 | 显示全部楼层

回复 3# 的帖子




感谢军哥,开始我也是发现好想是空间满了,原来是系统盘空间满了,现在删掉一些东西就好了,mysql日志可以禁用不,占了大多数的空间一直没有清理
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-14 07:03 , Processed in 0.027151 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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