简体   繁体   中英

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

When I execute supervisorctl reload , an error appears:

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

Before executing supervisorctl reload , I needed to run the following command:

/data/service/jg/Python/bin/supervisord -c /data/service/jg/Python/supervisord.conf

Replace your paths ( /data/service/jg/Python/bin/ and /data/service/jg/Python/ ) accordingly!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM