- HAproxy stat 出現 "Proxy 'stats': in multi-process mode, stats will be limited to process assigned to the current request"
- HAProxy Failed to start SYSV
WARNING MESSAGE
service haproxy check /etc/init.d/haproxy: line 26: [: =: unary operator expected [WARNING] 117/112607 (19530) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per socket using the 'process' attribute. [WARNING] 117/112607 (19530) : Proxy 'frontend_domain1': in multi-process mode, stats will be limited to process assigned to the current request. [WARNING] 117/112607 (19530) : Proxy 'frontend_domain1.81': in multi-process mode, stats will be limited to process assigned to the current request. [WARNING] 117/112607 (19530) : Proxy 'backend_server': in multi-process mode, stats will be limited to process assigned to the current request. Configuration file is valid
in multi-process mode, stats will be limited to process assigned to the current request.
frontend frontend_domain1 bind-process 1 # append frontend_domain1.81 bind-process 1 # append
systemctl status haproxy.service ● haproxy.service - SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. Loaded: loaded (/etc/rc.d/init.d/haproxy; bad; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2017-05-01 14:14:58 KST; 22s ago Docs: man:systemd-sysv-generator(8) Process: 31958 ExecStart=/etc/rc.d/init.d/haproxy start (code=exited, status=1/FAILURE) May 01 14:14:58 haproxy1.localdomain systemd[1]: Starting SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments.... May 01 14:14:58 haproxy1.localdomain haproxy[31958]: /etc/rc.d/init.d/haproxy: line 26: [: =: unary operator expected May 01 14:14:58 haproxy1.localdomain haproxy[31958]: Starting haproxy: [ALERT] 120/141458 (31962) : Starting frontend GLOBAL: cannot bind UNIX socket [/var/lib/haproxy/stats] May 01 14:14:58 haproxy1.localdomain haproxy[31958]: [FAILED] May 01 14:14:58 haproxy1.localdomain systemd[1]: haproxy.service: control process exited, code=exited status=1 May 01 14:14:58 haproxy1.localdomain systemd[1]: Failed to start SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments.. May 01 14:14:58 haproxy1.localdomain systemd[1]: Unit haproxy.service entered failed state. May 01 14:14:58 haproxy1.localdomain systemd[1]: haproxy.service failed.
Socket Foler Create
sudo mkdir -p /var/lib/haproxy/stats
반응형
'server-side > haproxy' 카테고리의 다른 글
HAProxy Mysql 'Reading initial communication packet' (0) | 2017.05.12 |
---|---|
HAProxy MySQL replication, cluster (0) | 2017.05.10 |
HAProxy COMODO Wildcard SSL (0) | 2017.05.08 |
HAProxy Multi Process Warning (0) | 2017.05.01 |
HAProxy Install (0) | 2017.04.28 |