No such file or directory error on circus watcher
splnanthakumar opened this issue · 1 comments
splnanthakumar commented
it is not starting the circus watcher , even though the watcher is present.
Error:
circus[1] [WARNING] error in 'my-watcher': [Errno 2] No such file or directory
watcher location : /etc/circus/conf.d/my-conf.conf
my-conf.conf file:
[watcher:my-watcher]
autostart = True
cmd = uwsgi
args = -H ENV --yaml my_service/uwsgi.yml:myapp
working_dir = /opt/apps/myapp
stderr_stream.class = TimedRotatingFileStream
stderr_stream.filename = /tmp/myapp.log
stderr_stream.rotate_when = MIDNIGHT
hooks.before_start = super_hook
uid = nobody
gid = nogroup
copy_env = True
[env:my-watcher]
PYTHON_EGG_CACHE = /tmp
PATH = /opt/apps/myapp/ENV/bin:$PATH
PYTHONPATH = /opt/apps/lib:/opt/apps/myapp:$PYTHONPATH
biozz commented
Hi!
I tried to reproduce this and was able to make the error happen, ex. [WARNING] error in 'my-watcher': [Errno 2] No such file or directory: 'uwsgi'
. You can see that the error shows that I don't have uwsgi
and it is strange that yours doesn't show that, can you please post the entire error message?
Other than that, circusd doesn't lie, you have to check each path in your config and make sure they exist and circusd has access to them.