Mónica Boto
2014-08-05 08:51:32 UTC
Hi!
I am new with the supervisord use, and i have a problem when i try to
configure Snorby with Supervisord.
My configuration's files:
*supervisord.conf*
[unix_http_server]
file=/var/tmp/supervisor.sock
[supervisord]
logfile=/var/log/supervisor/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=debug
pidfile=/var/run/supervisord.pid
nodaemon=false
minfds=1024
minprocs=200
[rpcinterface:supervisor]
supervisor.rpcinterface_factory =
supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/tmp/supervisor.sock
[include]
files = supervisord.d/*
*supervisord.d/snorby*
[program:snorby]
directory=/var/www/snorby/
command=/usr/local/bin/ruby /var/www/snorby/script/rails server -e
production
autostart=true
autorestart=true
startsecs=1
startretries=999
stderr_logfile=/var/log/supervisor/snorby_err.log
stdout_logfile=/var/log/supervisor/snorby_out.log
The supervisord, starts the app fine, but when i try to startup the Snorby
Worker, in the error log, i can saw
*/usr/bin/env: ruby: No such file or directory*
This executable is in this path, and the enviroment path.
*snorby]# which ruby*
*/usr/local/bin/ruby*
* snorby]# which env*
*/bin/env*
*#ls -la /usr/bin/env*
* /usr/bin/env -> ../../bin/env*
Can someone help me or give me an idea?
And sorry, my english is bad and sad :D
--
<http://www.beeva.com>
www.beeva.com
- <https://twitter.com/beeva_es>
- <https://www.linkedin.com/company/beeva>
- <https://www.youtube.com/channel/UC0bERjplMo6-biH2kRHV9MQ>
- <https://es-es.facebook.com/somosBEEVA>
- <http://www.slideshare.net/BEEVA_es>
- <https://plus.google.com/u/0/113795163649785914137/posts>
*Mónica Boto Morán*
Departamento de Sistemas
***@beeva.com
915377500
NOS VEMOS EN
<http://www.beeva.com>
Foro de innovación y tecnologÃa <http://www.beeva.com>
[image: think before printing]
I am new with the supervisord use, and i have a problem when i try to
configure Snorby with Supervisord.
My configuration's files:
*supervisord.conf*
[unix_http_server]
file=/var/tmp/supervisor.sock
[supervisord]
logfile=/var/log/supervisor/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=debug
pidfile=/var/run/supervisord.pid
nodaemon=false
minfds=1024
minprocs=200
[rpcinterface:supervisor]
supervisor.rpcinterface_factory =
supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/tmp/supervisor.sock
[include]
files = supervisord.d/*
*supervisord.d/snorby*
[program:snorby]
directory=/var/www/snorby/
command=/usr/local/bin/ruby /var/www/snorby/script/rails server -e
production
autostart=true
autorestart=true
startsecs=1
startretries=999
stderr_logfile=/var/log/supervisor/snorby_err.log
stdout_logfile=/var/log/supervisor/snorby_out.log
The supervisord, starts the app fine, but when i try to startup the Snorby
Worker, in the error log, i can saw
*/usr/bin/env: ruby: No such file or directory*
This executable is in this path, and the enviroment path.
*snorby]# which ruby*
*/usr/local/bin/ruby*
* snorby]# which env*
*/bin/env*
*#ls -la /usr/bin/env*
* /usr/bin/env -> ../../bin/env*
Can someone help me or give me an idea?
And sorry, my english is bad and sad :D
--
<http://www.beeva.com>
www.beeva.com
- <https://twitter.com/beeva_es>
- <https://www.linkedin.com/company/beeva>
- <https://www.youtube.com/channel/UC0bERjplMo6-biH2kRHV9MQ>
- <https://es-es.facebook.com/somosBEEVA>
- <http://www.slideshare.net/BEEVA_es>
- <https://plus.google.com/u/0/113795163649785914137/posts>
*Mónica Boto Morán*
Departamento de Sistemas
***@beeva.com
915377500
NOS VEMOS EN
<http://www.beeva.com>
Foro de innovación y tecnologÃa <http://www.beeva.com>
[image: think before printing]