我的vps更换了服务器出错了
我的是在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_fpmdone
Starting php_fpmdone
You have new mail in /var/spool/mail/root
#
请版主帮忙看一下,是什么原因,如何诊断。目前网站不能访问,默认显示以下内容:
回复 1# 的帖子
apache没有卸载掉,先执行yum remove httpd再/root/lnmp restart 试一下。 执行过了,还是一样的错误。
另外,我没有装apache啊
# 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/centos/5.5/os/i386/repodata/repomd.xml: 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/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_fpmdone
Starting php_fpmdone
#
回复 3# 的帖子
killall httpd或者ps aux 看看肯定有apache的进程,kill 进程ID就行了。 killall httpd
以后,访问网站不再出现apache的信息了
直接出现无法访问。
/root/lnmp restart后还是一样的错误提示。
[ 本帖最后由 idexinyang 于 2010-11-16 10:23 编辑 ] 弄不成了,有没有办法把mysql的数据保存下来,还有/home/wwwroot的程序文件也保存一来
我压缩了mysql/var的数据库,但不能下载。
怎么办?我想重装
用另外一个vps下载出现下面的错误提示:
# 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 编辑 ]
回复 5# 的帖子
ps aux 看一下进程。mysql在运行直接用mysqldump命令导出数据库就行了。
网站文件直接打包。
failed: Name or service not known. 一般是/etc/relove.conf 里nameserver的问题。
页:
[1]