VPS侦探论坛

 找回密码
 注册
查看: 10220|回复: 6

我的vps更换了服务器出错了

[复制链接]
发表于 2010-11-16 09:00:19 | 显示全部楼层 |阅读模式

我的是在burst买的vps,因为一些原因,他们要转移服务器

转移后出现错误如下:

Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 67: kill: (22423) - No such process
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm  done
Starting php_fpm  done
You have new mail in /var/spool/mail/root
[root@qqgoing wwwroot]#


请版主帮忙看一下,是什么原因,如何诊断。目前网站不能访问,默认显示以下内容:

本帖子中包含更多资源

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

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

回复 1# 的帖子



apache没有卸载掉,先执行yum remove httpd
再/root/lnmp restart 试一下。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-11-16 09:31:13 | 显示全部楼层

执行过了,还是一样的错误。
另外,我没有装apache啊

[root@qqgoing var]# yum remove httpd
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: httpd
Determining fastest mirrors
* addons: mirrors.netdna.com
* base: ftp.lug.udel.edu
* extras: mirror.cogentco.com
* updates: mirror.atlanticmetro.net
addons                                                   |  951 B     00:00     
http://ftp.lug.udel.edu/pub/cent ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
base                                                     | 2.1 kB     00:00     
extras                                                   | 2.1 kB     00:00     
extras/primary_db                                        | 188 kB     00:00     
updates                                                  | 1.9 kB     00:00     
updates/primary_db                                       | 816 kB     00:00     
Package(s) httpd available, but not installed.
No Packages marked for removal
You have new mail in /var/spool/mail/root
[root@qqgoing var]# /root/lnmp restart
=========================================================================
Manager for LNMP V0.4  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Reload LNMP...
Reload Nginx configure...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 67: kill: (22423) - No such process
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm  done
Starting php_fpm  done
[root@qqgoing var]#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-11-16 10:04:43 | 显示全部楼层

回复 3# 的帖子




killall httpd
或者ps aux 看看肯定有apache的进程,kill 进程ID就行了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-11-16 10:09:43 | 显示全部楼层

killall httpd

以后,访问网站不再出现apache的信息了

直接出现无法访问。

/root/lnmp restart后还是一样的错误提示。

[ 本帖最后由 idexinyang 于 2010-11-16 10:23 编辑 ]

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

 楼主| 发表于 2010-11-16 10:44:20 | 显示全部楼层

弄不成了,有没有办法把mysql的数据保存下来,还有/home/wwwroot的程序文件也保存一来

我压缩了mysql/var的数据库,但不能下载。
怎么办?我想重装

用另外一个vps下载出现下面的错误提示:

[root@188715 wwwroot]# wget -c http://184.82.105.416/222.zip
--2010-11-16 09:38:53--  http://184.82.105.416/222.zip
Resolving 184.82.105.416... failed: Name or service not known.
wget: unable to resolve host address `184.82.105.416'

上面的ip是出问题的那个服务器的ip

[ 本帖最后由 idexinyang 于 2010-11-16 10:45 编辑 ]
发表于 2010-11-16 12:11:25 | 显示全部楼层

回复 5# 的帖子


ps aux 看一下进程。
mysql在运行直接用mysqldump命令导出数据库就行了。
网站文件直接打包。
failed: Name or service not known. 一般是/etc/relove.conf 里nameserver的问题。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-8 08:49 , Processed in 0.033972 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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