[SOLVED]Supervisor cannot run

Hi,

I was trying to do bench update to the latest version, everything went fine and when I tried to reload supervisor i got this error mesage.

error: <class ‘socket.error’>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 224

When I go to the path file mentioned, it is already have the socket.py file/

Anybody can help me with this issue?

Thanks

Hi @Aswin_Aswin
Try this
sudo service supervisord start
After this you can run:
sudo supervisorctl reload

Thanks
Sagar Shiragawakar

1 Like

Thanks Sagar,

But I finally found out what happen. it is because supervisor was not running properly. I use " sudo service supervisor start " and then bench restart and everything works fine.

1 Like