VPS侦探论坛

 找回密码
 注册
查看: 9056|回复: 8

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

[复制链接]
发表于 2011-4-14 09:33:07 | 显示全部楼层 |阅读模式

最近NGINX升级1.0,想尝下鲜,用军哥的LNMP一键安装包 自动无缝升级Nginx至任意版本
方法,升级,最后升级失败.
没办法,想用回0.8.54,但是也装不回了,
老是显示,没有那文件.
-------------------------------------------------------------------------
[root@win68 ~]# 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) [application/octet-stream]
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 [2991/2991]
=========================================================================
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/

=========================================================================
[root@win68 ~]# 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) [application/octet-stream]
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 [2991/2991]
=========================================================================
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/

=========================================================================
[root@win68 ~]#(

[ 本帖最后由 win68 于 2011-4-14 10:26 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-4-14 09:40:36 | 显示全部楼层

回复 1# 的帖子



版本号输错了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-4-14 09:47:13 | 显示全部楼层

[root@win68 ~]# 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) [application/octet-stream]
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 [2991/2991]
=========================================================================
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/

=========================================================================
[root@win68 ~]#


1.0.0不行,也是显示没那文件ade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-4-14 09:50:58 | 显示全部楼层



[root@win68 ~]# 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) [application/octet-stream]
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 [2991/2991]
=========================================================================
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还是一样
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-4-14 09:51:05 | 显示全部楼层

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

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

 楼主| 发表于 2011-4-14 09:54:21 | 显示全部楼层

:21--  http://nginx.org/download/nginx-%0D0.8.54.tar.gz
这个地址我也看到了,怎么回事?我就是这样输入的啊,怎么多了个符号?
 楼主| 发表于 2011-4-14 09:55:01 | 显示全部楼层

我的不行啊,有个站啊,备份的也不全,郁闷,否则早重装了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-4-14 10:00:07 | 显示全部楼层

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


晕死,怎么老会多个字符啊,郁闷死,我就是这样输入的了,复制也不行
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-4-14 10:28:07 | 显示全部楼层

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


哈,终于搞掂了,我擦啊,一起床就搞坏了,急死我了,
还是版本号的问题,输入那很麻烦,有此类错误的朋友请注意

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 05:41 , Processed in 0.028682 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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