9
haproxy无法启动
安装了新的Ubuntu 10.04服务器并以root用户身份登录,我使用apt-get安装了haproxy。 我可以将haproxy直接作为守护程序运行,但是当我什么/etc/init.d/haproxy start也不做时..甚至没有错误消息。 netstat -a 显示没有任何内容正在使用我试图与haproxy保持平衡的http端口... 有想法吗? 编辑 我注意到apt-get install haproxy最后说的是: update-rc.d:警告:/etc/init.d/haproxy缺少LSB信息update-rc.d:请参见http://wiki.debian.org/LSBInitScripts /etc/default/haproxy 说 ENABLED=1 调试输出 sh -xv /etc/init.d/haproxy start #!/bin/sh # # chkconfig: - 85 15 # description: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited \ # for high availability environments. # processname: haproxy # …