我是靠谱客的博主 温婉萝莉,这篇文章主要介绍HAProxy 后启动报错“cannot bind UNIX socket [/var/lib/haproxy/stats]”解决,现在分享给大家,希望可以做个参考。
报错信息:
-- Unit haproxy.service has begun starting up.
5月 21 18:33:40 minbo.centos haproxy[16266]: Starting haproxy: [WARNING] 140/183340 (16277) : [/usr/sbin/haproxy.main()] Cannot raise FD limit to 1638478, limit is 4096.
5月 21 18:33:40 minbo.centos haproxy[16266]: [ALERT] 140/183340 (16277) : Starting frontend GLOBAL: cannot bind UNIX socket [/var/lib/haproxy/stats]
5月 21 18:33:40 minbo.centos haproxy[16266]: [失败]
5月 21 18:33:40 minbo.centos systemd[1]: haproxy.service: control process exited, code=exited status=1
5月 21 18:33:40 minbo.centos systemd[1]: Failed to start SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments..
-- Subject: Unit haproxy.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit haproxy.service has failed.
--
-- The result is failed.
解决方法:
mkdir -p /var/lib/haproxy
touch /var/lib/haproxy/stats
最后
以上就是温婉萝莉最近收集整理的关于HAProxy 后启动报错“cannot bind UNIX socket [/var/lib/haproxy/stats]”解决的全部内容,更多相关HAProxy内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复