Hi,

I followed 
http://mrtn.me/blog/2012/07/04/django-on-windows-run-celery-as-a-windows-service/
 
and managed to get redis run as a service on Windows 7.

Now I tried to get the Celery processes to run as a service but keep 
getting the following error:

Traceback (most recent call last): 
File 
"D:\python27\.virtualenvs\djellis\lib\site-packages\pywin32-218-py2.7-win32.egg\win32serviceutil.py",
 
line 835, in SvcRun self.SvcDoRun() 
File 
"D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py",
 
line 227, in SvcDoRun self.start() 
File 
"D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py",
 
line 260, in start self.processes = start_commands(self.config) 
File 
"D:\python27\.virtualenvs\djellis\lib\site-packages\django_windows_tools\service.py",
 
line 134, in start_commands services = config.get(node_name, 'run') if 
config.has_section(node_name) else config.get('services', 'run') 
File "D:\python27\Lib\ConfigParser.py", line 618, in get raise 
NoOptionError(option, section) NoOptionError: No option 'run' in section: 
'services'

the services section of service.ini (which I copied from the link above) 
looks like this, so everything should be fine:

[services]
# Services to be run on all machines
run=celeryd
clean=d:\logs\celery.log

I also checked with ProcessMonitor if the service uses the correct ini file 
and it does.

Any idea what might be wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/afbcbecc-ae8b-43c8-827a-83922cc3bf36%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to