Ah ok, thanks for letting me know. On Wed, 2010-08-11 at 20:09 -0400, Jose Castro wrote: > Ok I did it, numproc was wrong it is numprocs and also I needed > process_name defined > > [program:reverse] > command=/home/oky/reverse > numprocs=3 > process_name=%(process_num)s > > Thank you for your help > > > > > On Wed, Aug 11, 2010 at 7:34 PM, Jose Castro <[email protected]> wrote: > > Chris, > > > > Thank you, I did a test and it worked great, the only thing I dont > > understand right now is that I started the supevisor with -n so I can > > see what it was doing. My program section has a > > [program:reverse] > > command=/home/oky/reverse > > numproc=3 > > > > but when supevisord starts I only see one process being spawned. When > > I do a ps -e | grep reverse I only see one instance. Why is creating > > just 1 instead of the 3 instances I specified? > > > > Thank you for any ideas > > > > > > > > > > On Wed, Aug 11, 2010 at 6:41 PM, Jose Castro <[email protected]> wrote: > >> Ok, I just installed it the way is suggested, with the easy_install, > >> and that seem to be working much better. Now I have access to the > >> sample conf file > >> > >> > >> Thank you > >> > >> On Wed, Aug 11, 2010 at 6:05 PM, Chris McDonough <[email protected]> wrote: > >>> I dont really know. I never use the version that comes with any > >>> distribution. Installing it as described on the website is recommended. > >>> > >>> - C > >>> > >>> > >>> On Wed, 2010-08-11 at 17:43 -0400, Jose Castro wrote: > >>>> After installing supervisor(sudo apt-get install supervisor), I tried > >>>> $ echo_supervisord_conf > >>>> > >>>> I get the following > >>>> > >>>> Traceback (most recent call last): > >>>> File "/usr/bin/echo_supervisord_conf", line 9, in <module> > >>>> load_entry_point('supervisor==3.0a8', 'console_scripts', > >>>> 'echo_supervisord_conf')() > >>>> File "/usr/lib/pymodules/python2.6/supervisor/confecho.py", line 19, in > >>>> main > >>>> config = pkg_resources.resource_string(__name__, 'skel/sample.conf') > >>>> File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 875, > >>>> in resource_string > >>>> self, resource_name > >>>> File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1148, > >>>> in get_resource_string > >>>> return self._get(self._fn(self.module_path, resource_name)) > >>>> File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1275, in > >>>> _get > >>>> stream = open(path, 'rb') > >>>> IOError: [Errno 2] No such file or directory: > >>>> '/usr/lib/pymodules/python2.6/supervisor/skel/sample.conf' > >>>> > >>>> > >>>> I think I may need to install it from the source and not through > >>>> apt-get. Please confirm if you think this will help. > >>>> > >>>> Thank you > >>>> > >>>> On Wed, Aug 11, 2010 at 1:14 PM, Chris McDonough <[email protected]> > >>>> wrote: > >>>> > The .ini file referred to is the supervisor.conf file (the error > >>>> > message > >>>> > is too specific, it should read "configuration file does not include > >>>> > supervisord section"). > >>>> > > >>>> > Instead of creating a supervisor conf file by hand, you'll want to > >>>> > generate one using echo_supervisord_conf: > >>>> > http://supervisord.org/installing.html#creating-a-configuration-file > >>>> > > >>>> > This will generate a supervisor.conf file with appropriate things in it > >>>> > to get you started. > >>>> > > >>>> > On Wed, 2010-08-11 at 10:58 -0400, Jose Castro wrote: > >>>> >> Crhis > >>>> >> > >>>> >> I am hoping you can help me in a very basic question. I was readying > >>>> >> this document > >>>> >> http://svn.supervisord.org/supervisor/tags/2.0b1/README.txt > >>>> >> > >>>> >> and it mentions "The .INI file must contain one or more 'program' > >>>> >> sections in order" > >>>> >> > >>>> >> But where is this .ini file located??? All I know is that their is a > >>>> >> /etc/supervisor.conf file (in ubuntu) where I put the following > >>>> >> [program:reverse] > >>>> >> command=/Downloads/reverse_worker > >>>> >> > >>>> >> When I run supervisord I get > >>>> >> Error: .ini file does not include supervisord section > >>>> >> > >>>> >> Where is the .ini file? Please > >>>> >> > >>>> >> Thank you > >>>> >> > >>>> > > >>>> > > >>>> > > >>>> > >>> > >>> > >>> > >> > > >
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
