Haproxy service doesn't start
-
Hi all,
Last year I bought a pfSense router from Netgate, and I really love using it. Right now I'm looking at fine tuning my router, what I need and what I don't need. I would like to get started with haproxy. The only problem is that after I set up a backend and a frontend for haproxy, I discovered that it didn't work. I saw that the haproxy service wasn't started, so I tried to start it. This didn't work as after a few seconds the page reloaded and the state had not changed. I tried uninstalling and reinstalling. I tried the devel package, but that also didn't work. After that I ssh'd into pfSense and went to the command line. Only problem is that I don't know how the BSD terminal works, so I couldn't figure out how to manually start the service. I also get no error messages when I try to start haproxy. I have no idea how to start the service, so I was hoping someone here knows how to fix the issue or has had a similar situation once.
-
Edit: The last couple of days I have tried to gather some information of why the service won't start. Unfortunately there is not much information that can help me for specific installations on FreeBSD. But I have tried the following commands, with the output I get. I don't know if someone can see why it fails.
/usr/local/etc/rc.d/haproxy start:
WARNING: failed precmd routine for haproxy
/usr/local/etc/rc.d/haproxy enable:
haproxy enabled in /etc/rc.conf
/usr/local/etc/rc.d/haproxy status:
haproxy is not running.
/usr/local/etc/rc.d/haproxy configtest:
Configuration file has no error but will not start (no listener) => exit(2).
haproxy -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid:
[ALERT] 070/102644 (18074) : [haproxy.main()] No enabled listener found (check for 'bind' directives) ! Exiting.Also, what I've done so far:
- Set the protocol for the webConfigurator to https
- Changed the TCP port to something other than 443
- Turned on the Disable webConfigurator redirect rule
Some other information that might be important:
- When I click on the (I don't know what else to call it) play button, the gear will load for a few seconds, then reload and then silently fail.
- Because the Haproxy service isn't enabled, I can't save the change made in settings of; Enable HAProxy.
If anyone has an idea of what might be happening, please let me know because I'm out of idea's.