Unable to start service with nohup due to 'INFO spawnerr: unknown error making dispatchers for 'app_name': EACCES'

后端 未结 5 924
闹比i
闹比i 2021-02-13 17:44

I\'m trying to start a service with supervisor, but I get an error saying

INFO spawnerr: unknown error making dispatchers for \'app_name\': EACCES

5条回答
  •  Happy的楠姐
    2021-02-13 18:14

    I had the same issue - the celery sub program logs were being written in the logs subfolder under my app folder and turns out I had set the owner to www-user while I was debugging an issue with Nginx. I changed the owner of the app folder back to ubuntu (>> whoami)

    sudo chown -R ubuntu:ubuntu /var/www/myapp/
    

    to get it to work.

提交回复
热议问题