Gearman 启动日志文件提示协议出错的BUG
2013-06-11 00:50 游乐场123 阅读(603) 评论(1) 编辑 收藏 举报如果直接以gearmand -d 启动
/usr/local/var/log/gearmand.log 里提示 Address family not supported by protocol
ERROR 2014-11-20 20:05:49.000000 [ main ] socket()(Address family not supported by protocol) -> libgearman-server/gearmand.cc:468
ERROR 2014-11-20 20:05:49.000000 [ main ] gearmand_sockfd_close() called with an invalid socket -> libgearman-server/io.cc:933
似乎会连IPV6协议也绑定端口,但是系统又没有打开IPV6然后就会报错,所以要多加一个参数启动,设置只监听IPV4协议
gearmand -d -L 0.0.0.0