当前位置:论坛首页 > Linux面板 > 求助

Nginx升级失败,原Nginx服务没有

发表在 Linux面板2018-1-17 13:50 [复制链接] 2 1475

Centos6.9,宝塔5.5,原Nginx版本1.12,在软件管理中点更新,查询日志
  1. checking for OS
  2. + Linux 2.6.32-696.10.1.el6.x86_64 x86_64
  3. checking for C compiler ... not found

  4. ./configure: error: C compiler cc is not found

  5. make: *** No rule to make target `build', needed by `default'.  Stop.
  6. cp: cannot stat `/www/server/nginx/update/src/objs/nginx': No such file or directory
  7. done
  8. nginx.sh: line 375: nginx: command not found
复制代码
运行环境中nginx就没了,重新点极速安装,日志为
  1. checking for OS
  2. + Linux 2.6.32-696.10.1.el6.x86_64 x86_64
  3. checking for C compiler ... not found

  4. ./configure: error: C compiler cc is not found

  5. make: *** No rule to make target `build', needed by `default'.  Stop.
  6. ========================================================
  7. ERROR: nginx-1.12.2 installation failed.
复制代码
查询gcc:
  1. gcc -v
  2. Using built-in specs.
  3. Target: x86_64-redhat-linux
  4. Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
  5. Thread model: posix
  6. gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)
复制代码
yum安装gcc等,提示已安装
  1. yum install gcc gcc-c++ autoconf automake make  
  2. Loaded plugins: fastestmirror, security
  3. Setting up Install Process
  4. Loading mirror speeds from cached hostfile
  5. * base: mirrors.163.com
  6. * epel: mirrors.tongji.edu.cn
  7. * extras: mirrors.cn99.com
  8. * updates: mirrors.163.com
  9. Package gcc-4.4.7-18.el6.x86_64 already installed and latest version
  10. Package gcc-c++-4.4.7-18.el6.x86_64 already installed and latest version
  11. Package autoconf-2.63-5.1.el6.noarch already installed and latest version
  12. Package automake-1.11.1-4.el6.noarch already installed and latest version
  13. Package 1:make-3.81-23.el6.x86_64 already installed and latest version
  14. Nothing to do
复制代码
不得已镜像恢复了,求大神帮助
使用道具 举报 只看该作者 回复
发表于 2018-1-18 12:11:15 | 显示全部楼层
装有云锁?
使用道具 举报 回复
发表于 2018-1-19 08:38:39 | 显示全部楼层
云锁服务停了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表