«   2018/12   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Archives
Today
424
Total
1,190,725
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

HAProxy Stats Scoket Path Error 본문

Server Side/HAProxy

HAProxy Stats Scoket Path Error

푸른바람 C/H 2017.05.02 08:30

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 Stats Scoket Path Error  (0) 2017.05.02
HAProxy Multi Process Warning  (0) 2017.05.01
HAProxy Install  (0) 2017.04.28
0 Comments
댓글쓰기 폼