sudo service supervisord start && sudo supervisorctl reload
Nov 26, 2016
7
Level 7
Getting Python Socket Error When Starting Supervisor
Hi,
I am trying to setup the production version of my project in digital ocean droplet.
Currently trying to setup the Supervisor and following the documentation https://laravel.com/docs/5.3/queues#supervisor-configuration
I have tried these to start after I have configured my program, but I am getting following error:
sudo supervisorctl reread
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228
sudo supervisorctl update
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228
What is this error mean? and how to look for to solve this?
Level 7
Ok, found out that supervisord was not running. Manually running the program solved the problem.
1 like
Please or to participate in this conversation.