VPS侦探论坛

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

军哥你好!lnmp出现500错误。自己找不到原因了

[复制链接]
发表于 2013-1-1 19:59:45 | 显示全部楼层 |阅读模式

/etc/init.d/mysql restart
MySQL manager or server PID file could not be found! ... failed!
Starting MySQL
Couldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe) ... failed!


之前删除了金庸的几个open函数,以及下载了sendmail并安装了。。。。。重启后就是这么个情况。。。打开网站是500

打开discuz是下面代码:
Discuz! Database Error(2002) notconnect
PHP Debug
No.FileLineCode
1forum.php49discuz_application->init()
2source/class/discuz/discuz_application.php65discuz_application->_init_db()
3source/class/discuz/discuz_application.php373discuz_database::init(%s, Array)
4source/class/discuz/discuz_database.php23db_driver_mysql->connect()
5source/class/db/db_driver_mysql.php74db_driver_mysql->_dbconnect(%s, %s, %s, %s, %s, %s)
6source/class/db/db_driver_mysql.php87db_driver_mysql->halt(%s, %d)
7source/class/db/db_driver_mysql.php218break()


查找网上的教程资料无果。。。另外。。确实没找到MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-1-2 10:15:03 | 显示全部楼层


ln -s /usr/local/mysql/bin/mysqlmanager /usr/bin/
ln -s /usr/local/mysql/bin/mysqld_safe /usr/bin/

500不好说什么原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 00:49 , Processed in 0.025217 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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