centos6.5 installation supervisor

    centos6.5 installation supervisor, there are many ways, but there are a lot of pits, in order not to repeat later stepped pit, recorded here.

First, if the yum install supervisor, version 2.1.9 is installed by default, 2.x version of a lot of problems, you can start supervisord process, but the use of supervisorctl command will report this error:

error: <class 'socket.error'>, [Errno 2] No such file or directory: file: <string> line: 1

Second, with pip install supervisor, the default install the latest version 4.0.3, but centos6.5 default only python2.6,4.0.3 the supervisor not up and running, there is no record of the specific error, you can upgrade to python2.7 ,kind of hard.

 

Third, the ultimate success of the method: specify the installation supervisor3.1.3, this version can be used python2.6, it can be directly installed with. You may pip install supervisor == 3.1.3 or easy_install supervisor == 3.1.3

Guess you like

Origin www.cnblogs.com/xiaxiaosheng/p/10937740.html