cep21 / healthcheck_nginx_upstreams

Health checks upstreams for nginx
http://wiki.nginx.org/NginxHttpHealthcheckModule
253 stars 599 forks source link

I can't run it on CentOS4.6 nginx 0.8.48 #4

Open KaoriOkura opened 14 years ago

KaoriOkura commented 14 years ago

I try to run healthcheck on CentOS4.6 and nginx 0.8.48. and after starting nginx using sample config, I access "http://localhost:81/stat/" . But I can't get data from localhost:11114.

I have no idea...

cep21 commented 14 years ago

Do you see any information when you access /stat? Can you paste the output of nginx -V?

I've never tested the module with the development branch of nginx. I only use it with the stable branch, so it's possible there could be an issue there.

KaoriOkura commented 14 years ago

Thanks comments. I can't get any data about "Index ","Name","Owner PID","Last action time","Concurrent status values","Time of concurrent values","Last response down","Last health status","Is down?" TABLES when i access /stat.

and below is nginx -V log.

nginx version: nginx/0.8.48 TLS SNI support disabled

configure arguments: --prefix=/usr/local/nginx_LB-0.8.48 --with-http_image_filter_module --with-http_stub_status_module --with-pcre --with-http_ssl_module --add-module=./heartbeat/ --add-module=./nginx_upstream_hash/ --without-http_fastcgi_module

thanks for regards

KaoriOkura commented 14 years ago

I try to run healthcheck on CentOS4.6 and nginx stable version 0.7.67. but i can't get any data.(same symptom nginx version 0.8.48)

./sbin/nginx -V

nginx version: nginx/0.7.67 TLS SNI support disabled configure arguments: --prefix=/usr/local/nginx_LB-0.7.67 --with-http_image_filter_module --with-http_stub_status_module --with-pcre --with-http_ssl_module --add-module=./heartbeat --add-module=./nginx_upstream_hash --without-http_fastcgi_module

KaoriOkura commented 14 years ago

by the way. i can run healthcheck on CentOS4.6 and nginx version 0.8.33 and old " healthcheck_nginx_upstreams" version.

thanks regards.

cep21 commented 14 years ago

Which old version works? That's very strange. I'm using CentOS5 and 7.X nginx with the most up to date version of the module.

KaoriOkura commented 14 years ago

I can't run healthcheck on CentOS5.4, nginx stable version 0.7.67, "cep21-healthcheck_nginx_upstreams-5fa4bff" and "cep21-nginx_upstream_hash-99ace64"

please teach me, why i can't run health check :'-(

cat /etc/redhat-release

CentOS release 5.4 (Final)

./nginx_LB/sbin/nginx -V

nginx version: nginx/0.7.67 TLS SNI support disabled configure arguments: --prefix=/usr/local/nginx_LB-0.7.67 --with-http_image_filter_module --with-http_stub_status_module --with-pcre --with-http_ssl_module --add-module=./heartbeat --add-module=./nginx_upstream_hash --without-http_fastcgi_module

cep21 commented 14 years ago

I'm unsure how to debug this. The best step would be to add lots of DEBUG statements all over the code and see what that produces to narrow down the issue. Maybe the checks are never being triggered.