Haproxy Error:
[WARNING] 000/231555 (73783) : Can't open server state file '/var/state/haproxy/global': No such file or directory
Starting frontend GLOBAL: cannot bind UNIX socket [/var/run/haproxy/admin.sock]
How to fix this:
Login to the server
mkdir -p /var/run/haproxy/
Start haproxy service
It works.
Haproxy needs to write to /var/run/haproxy/admin.sock but it wont create the directory for you. Create the directory /var/run/haproxy
[WARNING] 000/231555 (73783) : Can't open server state file '/var/state/haproxy/global': No such file or directory
Starting frontend GLOBAL: cannot bind UNIX socket [/var/run/haproxy/admin.sock]
How to fix this:
Login to the server
mkdir -p /var/run/haproxy/
Start haproxy service
It works.
Haproxy needs to write to /var/run/haproxy/admin.sock but it wont create the directory for you. Create the directory /var/run/haproxy
Thank you very much - this solved my issue!
ReplyDelete