Hi Ricardo, Le lundi 31 octobre 2011 17:23:13, Ricardo F a écrit : > > Hello, > I can start and stop haproxy withouth problem, but when i reload its > configuration, it print the following: > # /usr/local/sbin/haproxy -f /etc/haproxy/haproxy.conf -p > /var/run/haproxy.pid -st $(/var/run/haproxy.pid) > -bash: /var/run/haproxy.pid: Permission denied
Your issue is in $(/var/run/haproxy.pid). You forgot to add "cat", which results in your command line to try to execute the file /var/run/haproxy.pid Try this : /usr/local/sbin/haproxy -f /etc/haproxy/haproxy.conf -p /var/run/haproxy.pid -st $(cat /var/run/haproxy.pid) > [ALERT] 303/172211 (6281) : Starting proxy proxy-idealista.com-http: cannot > bind socket > [ALERT] 303/172211 (6281) : Starting proxy proxy-stats: cannot bind socket > I googled, but i can't find anything, in the same machine, there aren't any > other service listen in these ports, only haproxy. > Thanks -- Cyril Bonté