Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm restarting HAproxy (on Ubuntu Server x64 14.04) with the following command

haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/ -st $(cat /var/run/

However, when actually executing this command, I get the following error

cat: /var/run/ No such file or directory

Can anybody shed some light into the issue here?

share|improve this question

The /var/run/ file does not exist. There could be several reasons for that.

  • haproxy is not running at all
  • the pidfile got los
  • haproxy writes no pidfile at all
  • haproxy is configured to store the pidfile at a different location
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.