如果直接以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

 

相关文章:

  • 2021-09-09
  • 2021-09-03
  • 2021-10-28
  • 2022-02-20
  • 2021-11-14
  • 2021-06-11
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-07-26
  • 2021-04-28
  • 2021-11-27
相关资源
相似解决方案