nginx: [alert] version 1.4.0 of nginx.pm is required, but 1.2.0 was found
来源:互联网 发布:淘宝怎么兴业扫码付款 编辑:程序博客网 时间:2024/05/21 14:50
一.问题描述
安装/升级 nginx之后,启动nginx ,报以下错误:
nginx: [alert] version 1.4.0 of nginx.pm is required, but 1.2.0 was found
二.问题定位
find nginx.pm发现,这个perl文件,在make install的时候,也会安装,如果不指定安装目录,这个文件会默认安装到/usr/local/lib64/perl5/nginx.pm。
而nginx.pm里面记录了nginx的版本号。所以,如果启动nginx的时候,运行的nginx与nginx.pm版本号不一致就有问题,特别是升级nginx,或者一台机器上部署了多个nginx。
三.问题解决
编译安装,指定 --with-perl_modules_path=/home/webserver/nginx3/perl 这样会把相关perl程序/模块 安装到具体目录里。
安装/升级 nginx之后,启动nginx ,报以下错误:
nginx: [alert] version 1.4.0 of nginx.pm is required, but 1.2.0 was found
二.问题定位
find nginx.pm发现,这个perl文件,在make install的时候,也会安装,如果不指定安装目录,这个文件会默认安装到/usr/local/lib64/perl5/nginx.pm。
而nginx.pm里面记录了nginx的版本号。所以,如果启动nginx的时候,运行的nginx与nginx.pm版本号不一致就有问题,特别是升级nginx,或者一台机器上部署了多个nginx。
三.问题解决
编译安装,指定 --with-perl_modules_path=/home/webserver/nginx3/perl 这样会把相关perl程序/模块 安装到具体目录里。
0 0
- nginx: [alert] version 1.4.0 of nginx.pm is required, but 1.2.0 was found
- JAX-WS 2.2 API is required, but an older version was found in the JDK.
- Agile PLM --- JAX-WS 2.2 API is required, but an older version was found in the JDK
- Version 1.4.0 of the JVM is not suitable for this product.Version:1.5.0 or greater is required
- eclipse安装问题之java was started but returned exit code=13和Version 1.6.0_65 of the JVM is not suitable f
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0xb
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- Version 1.5.0_07 of the JVM is not suitable for this product. Version: 1.6 or greater is required.
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
- 解决方案:python version 2.7 required,which was not found in
- 解决方案:python version 2.7 required,which was not found in
- nginx 交叉编译 ( checking for C compiler found but is not working )
- hdu2196(树的直径)
- postgresql主备之the database system is starting up
- 算法题目一:如果数组中数字重复最多的次数大于数组长度的一半,返回1,否则返回0
- 物理地址、逻辑地址
- [手游新项目历程]第13天-游戏玩家怪物移动同步
- nginx: [alert] version 1.4.0 of nginx.pm is required, but 1.2.0 was found
- 2809: [Apio2012]dispatching|splay启发式合并
- bzoj2535: [Noi2010]Plane 航空管制
- 使用免费的产品搭建直播系统
- cocos2dx-3.x iOS 植入芒果广告
- 数据库中间件Mycat之主从读写分离
- 算法题目二:找到数组中迷失的数字
- 初尝linux——arm-linux移植之动态库问题
- Windows系统目录迁移:Users,Program Files,ProgramData