全球主机交流论坛

标题: 求高手相助 [打印本页]

作者: jacksoking    时间: 2011-6-29 23:57
标题: 求高手相助
求高手相助
悲剧
vps上的网站打不开
谁可以帮忙
qq 3721 3 9 1 5 0
作者: chaoren521    时间: 2011-6-29 23:59
什么情况
作者: ekucn    时间: 2011-6-30 00:01
提示: 作者被禁止或删除 内容自动屏蔽
作者: 活猪    时间: 2011-6-30 00:01
原帖由 ekucn 于 2011-6-30 00:01 发表
你具体说说情况吧,发帖的总以为论坛个个都是大神,什么都不用看就能妙手回春。唉


是啊
作者: geyunbing    时间: 2011-6-30 00:02
提示: 作者被禁止或删除 内容自动屏蔽
作者: jacksoking    时间: 2011-6-30 00:08
就打不开
不是域名问题,正常是可以打开并且显示 mysql error
但现在不是,不能打开

昨天看了这个文章:
http://xd10086.com/index.php/archives/625

首先进入/etc 目录,编辑my.cnf
命令:先cd /etc,再vi my.cnf

在[mysqld]下面加入以下三行:
skip-locking
skip-bdb
skip-innodb

弄了上面那个但我应该没保存,直接关闭掉putty

就成现在这样了
作者: jacksoking    时间: 2011-6-30 00:10
[root@MyVPS1411 ~]# cd /etc
[root@MyVPS1411 etc]# vi my.cnf


E325: ATTENTION
Found a swap file by the name ".my.cnf.swp"
          owned by: root   dated: Tue Jun 28 23:21:18 2011
         file name: /etc/my.cnf
          modified: YES
         user name: root   host name: MyVPS1411
        process ID: 2297
While opening file "my.cnf"
             dated: Fri Jun 18 03:51:36 2010

(1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r my.cnf"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".my.cnf.swp"
    to avoid this message.
"my.cnf" 26L, 849C
Press ENTER or type command to continue
作者: znithy    时间: 2011-6-30 00:12
估计被你加了那几条后mySQL都没启动起来,你ps -aux看看有没有mysql的进程。
作者: vip1    时间: 2011-6-30 00:13
帮顶
作者: loveni    时间: 2011-6-30 00:13
重装系统吧
作者: l12ab    时间: 2011-6-30 00:15
删掉.my.cnf.swp
编辑my.cnf
保存
重启mysqld
作者: jacksoking    时间: 2011-6-30 00:15
已经把那个my.cnf.swf删掉了
作者: wdlth    时间: 2011-6-30 00:15
还原原来的my.cnf
作者: woyo    时间: 2011-6-30 00:16
不明白为什么要去搞my.cnf那么“高手”的东西
作者: jacksoking    时间: 2011-6-30 00:20
原帖由 l12ab 于 2011-6-30 00:15 发表
删掉.my.cnf.swp
编辑my.cnf
保存
重启mysqld

你说了的我都做了
可惜还是一样
作者: chaoren521    时间: 2011-6-30 00:21
备份数据重装吧
作者: znithy    时间: 2011-6-30 00:29
楼主你把你的my.cnf发上来看看。
作者: 鸭梨很大    时间: 2011-6-30 01:06
提示: 作者被禁止或删除 内容自动屏蔽
作者: 神马皆浮云    时间: 2011-6-30 01:58
/root/lnmp restart 试试
作者: zhaorong65    时间: 2011-6-30 02:20
建议Reinstall OS
作者: jacksoking    时间: 2011-6-30 17:26
還是不行
看來放棄算了
nnd
以後不用vps了




欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) Powered by Discuz! X3.4