nignx升级失败

问答中心分类: OneinStacknignx升级失败
username asked 5年 ago
cd ../openssl-1.0.2j \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/oneinstack/src/nginx-1.11.10/../openssl-1.0.2j/.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: ../openssl-1.0.2j: No such file or directory
make[1]: *** [../openssl-1.0.2j/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/oneinstack/src/nginx-1.11.10'
make: *** [build] Error 2
Upgrade Nginx failed!

3 Answers
oneinstack answered 5年 ago
下载并解压openssl,再执行升级试试

cd oneinstack/src
wget http://mirrors.linuxeye.com/oneinstack/src/openssl-1.0.2j.tar.gz
tar xzf openssl-1.0.2j

username answered 5年 ago
[root@iZj6ciktto6unmmgws4nsrZ src]# tar xzf openssl-1.0.2j
tar (child): openssl-1.0.2j: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

username answered 5年 ago
还是一样,老问题。无法升级