免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2888 | 回复: 0
打印 上一主题 下一主题

[proxy] nginx添加nginx_upstream_check_module-master等模块报错问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-06-21 10:07 |只看该作者 |倒序浏览
大家好,有个问题,每次部署系统环境都遇到不一样的问题。请教下这个问题。
安装nginx,添加模块:
nginx_upstream_check_module-master
nginx_tcp_proxy_module
nginx_upstream_check_module-master


在执行path命令时出错,如下:
# patch -p1 < /home/tools/nginx-1.6.2/nginx_upstream_check_module-master/check_1.5.12+.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/http/modules/ngx_http_upstream_ip_hash_module.c b/src/http/modules/ngx_http_upstream_ip_hash_module.c
|index 041883f..b1bc7d0 100644
|--- a/src/http/modules/ngx_http_upstream_ip_hash_module.c
|+++ b/src/http/modules/ngx_http_upstream_ip_hash_module.c
--------------------------
File to patch:
# patch -p1 < /home/tools/nginx-1.6.2/nginx_tcp_proxy_module/tcp.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
|index c0485c6..bfb1f5c 100644
|--- a/src/core/ngx_log.c
|+++ b/src/core/ngx_log.c
--------------------------
File to patch:


请问各位大虾,这是啥问题呢,另外一台服务器是正常的,系统环境也一样。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP