nginx_upstream_check_module
nginx_upstream_check_module copied to clipboard
Do you support openresty?
Do you support openresty? Do you have the openresty version and the patch Reference table.
I deployed openresty1.17.8.2 with check_1.16.1+.patch. i found error message. I deployed openresty1.15.8.3 with check_1.14.0+.patch. i found error message.
wget https://openresty.org/download/openresty-1.15.8.3.tar.gz && tar -xzvf openresty-1.15.8.3.tar.gz
cd openresty-1.15.8.3/ && wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/master.zip
unzip master.zip
patch -p1 < /usr/local/openresty-1.15.8.3/nginx_upstream_check_module-master/check_1.14.0+.patch
error log
1.14.0/src/http/ngx_http_upstream_round_robin.h
#9 245.1 |--- nginx-1.14.0.orig/src/http/ngx_http_upstream_round_robin.h 2018-06-28 21:30:48.895580638 +0000
#9 245.1 |+++ nginx-1.14.0/src/http/ngx_http_upstream_round_robin.h 2018-06-28 21:55:13.036027376 +0000
#9 245.1 --------------------------
#9 245.1 File to patch:
#9 245.1 Skip this patch? [y]
#9 245.1 Skipping patch.
#9 245.1 1 out of 1 hunk ignored
wget https://openresty.org/download/openresty-1.17.8.2.tar.gz && tar -xzvf openresty-1.17.8.2.tar.gz
cd openresty-1.17.8.2/
wget https://github.com/yaoweibin/nginx_upstream_check_module/archive/master.zip
unzip master.zip
patch -p1 < /usr/local/openresty-1.17.8.2/nginx_upstream_check_module-master/check_1.16.1+.patch
error log
#9 220.2 --------------------------
#9 220.2 |diff --git a/src/http/ngx_http_upstream_round_robin.c b/src/http/ngx_http_upstream_round_robin.c
#9 220.2 |index f72de3e..78b3342 100644
#9 220.2 |--- a/src/http/ngx_http_upstream_round_robin.c
#9 220.2 |+++ b/src/http/ngx_http_upstream_round_robin.c
#9 220.2 --------------------------
#9 220.2 File to patch:
#9 220.2 Skip this patch? [y]
#9 220.2 Skipping patch.
#9 220.2 8 out of 8 hunks ignored
#9 220.2 can't find file to patch at input line 231
#9 220.2 Perhaps you used the wrong -p or --strip option?
#9 220.2 The text leading up to this was:
#9 220.2 --------------------------
#9 220.2 |diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h
#9 220.2 |index 45f258d..dee91d0 100644
#9 220.2 |--- a/src/http/ngx_http_upstream_round_robin.h
#9 220.2 |+++ b/src/http/ngx_http_upstream_round_robin.h
#9 220.2 --------------------------
#9 220.2 File to patch:
#9 220.2 Skip this patch? [y]
#9 220.2 Skipping patch.
#9 220.2 1 out of 1 hunk ignored
I found same error, report.
I just fix this problem by changing the path where I excute the patch command,if you use openresty, the path you extract the source is not the Nginx source directory,you should excute the patch comman in the Nginx source directory instead.