Welcome! Log In Create A New Profile

Advanced

installing nginx_ngx_supervisord/

JCR
June 19, 2010 09:09AM
Hello,

I am using supervisord to run fastcgi programs. Because supervisord does start processes on demand, I realized I should install nginx_ngx_supervisord/. I am struggling with the installation.

I got the module ngx_supervisord from http://labs.frickle.com/nginx_ngx_supervisord/
and I got the module upstream fair
http://nginx.localdomain.pl/wiki/UpstreamFair
I am using the latest nginx nginx-0.7.67

I patched gnosek-nginx-upstream-fair but did not patch nginx as the patches seem to be for nginx 0.8

./configure --add-module=/websites/libraries/nginx/nginx_http_push_module-0.692 --add-module=/websites/libraries/nginx/ngx_supervisord-1.4 --add-module=/websites/libraries/nginx/gnosek-nginx-upstream-fair-2131c73

runs properly but make returns the following error:

[code]
/websites/libraries/nginx/nginx_http_push_module-0.692/src/ngx_http_push_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /websites/libraries/nginx/nginx_http_push_module-0.692/src -I objs -I src/http -I src/http/modules -I /websites/libraries/nginx/ngx_supervisord-1.4 -I src/mail \
-o objs/addon/ngx_supervisord-1.4/ngx_supervisord.o \
/websites/libraries/nginx/ngx_supervisord-1.4/ngx_supervisord.c
/websites/libraries/nginx/ngx_supervisord-1.4/ngx_supervisord.c:37:4: error: #error "ngx_supervisord requires NGX_HTTP_UPSTREAM_INIT_BUSY_PATCH v1"
cc1: warnings being treated as errors
/websites/libraries/nginx/ngx_supervisord-1.4/ngx_supervisord.c: In function ‘ngx_supervisord_resume_requests’:
/websites/libraries/nginx/ngx_supervisord-1.4/ngx_supervisord.c:636: warning: implicit declaration of function ‘ngx_http_upstream_connect’
make[1]: *** [objs/addon/ngx_supervisord-1.4/ngx_supervisord.o] Error 1
make[1]: Leaving directory `/websites/libraries/nginx/nginx-0.7.67'
make: *** [build] Error 2
[/code]
looks like the NGX_HTTP_UPSTREAM_INIT is needed

ls ngx_supervisord-1.4/patches/ -al
returns:
-rw-r--r-- 1 1000 users 10023 Apr 29 00:59 ngx_http_upstream_fair_module.patch
-rw-r--r-- 1 1000 users 3702 Apr 29 00:59 ngx_http_upstream_init_busy-0.8.0.patch
-rw-r--r-- 1 1000 users 3586 Apr 29 00:59 ngx_http_upstream_init_busy-0.8.17.patch
-rw-r--r-- 1 1000 users 5304 Apr 29 00:59 ngx_http_upstream_round_robin.patch

which one should I use? or maybe I should move to nginx 0.8?

Thanks for any direction.
Subject Author Posted

installing nginx_ngx_supervisord/

JCR June 19, 2010 09:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready