CentOS 6.5
php版本
PHP 5.3.3
安装之后还是可以管理进程的,但是网页管理就是打不开。。
[root@localhost tmp]# supervisorctl
http://127.0.0.1:9001 refused connectionsupervisor>
CentOS 6.5
php版本
PHP 5.3.3
安装之后还是可以管理进程的,但是网页管理就是打不开。。
[root@localhost tmp]# supervisorctl
http://127.0.0.1:9001 refused connection
可以加上-c supervisord.conf试试。例如:
supervisorctl -c supervisord.conf
/usr/local/saltstack/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
路径替换为自己的
问题解决了
;[inet_http_server]
这个前面的分号必须去掉,要不然不管用。我靠,居然没有意识到
[inet_http_server] ; inet (TCP) server disabled by default
port=127.0.0.1:9001 ; ip_address:port specifier, *:port for all iface
username=user ; default is no username (open server)
password=123 ; default is no password (open server)
这几项的前面都把;移除
启动的时候使用-c 加载该配置文件
ip修改成 0.0.0.0