win68 发表于 2011-4-14 09:33:07

升级NGINX后出现问题,恢复不了,请军哥帮忙看看(已解决)

最近NGINX升级1.0,想尝下鲜,用军哥的LNMP一键安装包 自动无缝升级Nginx至任意版本
方法,升级,最后升级失败.
没办法,想用回0.8.54,但是也装不回了,
老是显示,没有那文件.
-------------------------------------------------------------------------
# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:23:58--http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K)
Saving to: `upgrade_nginx.sh.22'

100%[======================================>] 2,991       --.-K/s   in 0.01s

2011-04-14 09:23:58 (252 KB/s) - `upgrade_nginx.sh.22' saved
=========================================================================
Upgrade Nginx for LNMP,Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux

For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):0.8.54
===========================
0.8.54nt to upgrade nginx version to
===========================

Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
0.8.54.tar.gz not found!!!download now......
--2011-04-14 09:24:18--http://nginx.org/download/nginx-%0D0.8.54.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:24:18 ERROR 404: Not Found.

============================check files==================================
tar: nginx-\r0.8.54.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
0.8.54/: No such file or directorynx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat `objs/nginx': No such file or directory
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'.Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi0.8.54directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================

For more information please visit http://www.lnmp.org/

=========================================================================
# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:25:06--http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K)
Saving to: `upgrade_nginx.sh.23'

100%[======================================>] 2,991       --.-K/s   in 0s

2011-04-14 09:25:06 (219 MB/s) - `upgrade_nginx.sh.23' saved
=========================================================================
Upgrade Nginx for LNMP,Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux

For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):1.0.0
===========================
1.0.0ant to upgrade nginx version to
===========================

Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
1.0.0.tar.gz not found!!!download now......
--2011-04-14 09:25:22--http://nginx.org/download/nginx-%0D1.0.0.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:25:22 ERROR 404: Not Found.

============================check files==================================
tar: nginx-\r1.0.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
1.0.0/: No such file or directoryinx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat `objs/nginx': No such file or directory
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'.Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi1.0.0 directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================

For more information please visit http://www.lnmp.org/

=========================================================================
#(

[ 本帖最后由 win68 于 2011-4-14 10:26 编辑 ]

licess 发表于 2011-4-14 09:40:36

回复 1# 的帖子

版本号输错了

win68 发表于 2011-4-14 09:47:13

# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:44:43--http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K)
Saving to: `upgrade_nginx.sh.25'

100%[======================================>] 2,991       --.-K/s   in 0.001s

2011-04-14 09:44:43 (4.27 MB/s) - `upgrade_nginx.sh.25' saved
=========================================================================
Upgrade Nginx for LNMP,Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux

For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):1.0.0
===========================
1.0.0ant to upgrade nginx version to
===========================

Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
1.0.0.tar.gz not found!!!download now......
--2011-04-14 09:45:32--http://nginx.org/download/nginx-%0D1.0.0.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:45:33 ERROR 404: Not Found.

============================check files==================================
tar: nginx-\r1.0.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
1.0.0/: No such file or directoryinx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat `objs/nginx': No such file or directory
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'.Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi1.0.0 directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================

For more information please visit http://www.lnmp.org/

=========================================================================
#


1.0.0不行,也是显示没那文件ade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory

win68 发表于 2011-4-14 09:50:58

# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:50:11--http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K)
Saving to: `upgrade_nginx.sh.29'

100%[======================================>] 2,991       --.-K/s   in 0s

2011-04-14 09:50:11 (204 MB/s) - `upgrade_nginx.sh.29' saved
=========================================================================
Upgrade Nginx for LNMP,Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux

For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):0.8.54
===========================
0.8.54nt to upgrade nginx version to
===========================

Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
0.8.54.tar.gz not found!!!download now......
--2011-04-14 09:50:21--http://nginx.org/download/nginx-%0D0.8.54.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:50:22 ERROR 404: Not Found.

============================check files==================================
tar: nginx-\r0.8.54.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
0.8.54/: No such file or directorynx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
make: *** No targets specified and no makefile found.Stop.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat `objs/nginx': No such file or directory
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'.Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi0.8.54directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================

For more information please visit http://www.lnmp.org/

======================


想装回0.8.54还是一样

oldghost 发表于 2011-4-14 09:51:05

我昨天也出现这个问题,重装其他版本也装不起来,用top命令也找不到nginx进程,反正我的vps没装什么东西,就把OS reload一下重装lnmp了。

win68 发表于 2011-4-14 09:54:21

:21--http://nginx.org/download/nginx-%0D0.8.54.tar.gz
这个地址我也看到了,怎么回事?我就是这样输入的啊,怎么多了个符号?

win68 发表于 2011-4-14 09:55:01

我的不行啊,有个站啊,备份的也不全,郁闷,否则早重装了

win68 发表于 2011-4-14 10:00:07

http://nginx.org/download/nginx-%0D0.8.54.tar.gz


晕死,怎么老会多个字符啊,郁闷死,我就是这样输入的了,复制也不行

win68 发表于 2011-4-14 10:28:07

服务器软件: nginx/1.0.0操作系统: Linux
PHP版本: 5.2.14 MYSQL版本: 5.1.48-log
全局变量: 关闭上传文件: 可以


哈,终于搞掂了,我擦啊,一起床就搞坏了,急死我了,
还是版本号的问题,输入那很麻烦,有此类错误的朋友请注意
页: [1]
查看完整版本: 升级NGINX后出现问题,恢复不了,请军哥帮忙看看(已解决)