# Installing nginx\_ngx\_supervisord/

**URL:** <https://www.ruby-forum.com/t/installing-nginx-ngx-supervisord/190410>\
**Category:** NGINX\
**Created:** [June 19, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/installing-nginx-ngx-supervisord/190410 "2010-06-19T15:10:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/258eb7/32.png) [@JCR](https://www.ruby-forum.com/u/JCR)\
**Post date:** [June 19, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/installing-nginx-ngx-supervisord/190410/1 "2010-06-19T15:10:03Z")

</div>

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/](http://labs.frickle.com/nginx_ngx_supervisord/)  
and I got the module upstream fair  
[http://nginx.localdomain.pl/wiki/UpstreamFair](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:

```auto
/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
```

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.

Posted at Nginx Forum:

> **[installing nginx\_ngx\_supervisord/](https://forum.nginx.org/read.php?2,100258,100258#msg-100258)**
>
> 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...
