I am having trouble getting HAProxy to start. I am running on a raspberry pi 3b+ with the lastest version of raspbian buster. i tried to manually stop and start the service with no luck.
what does journalctl -xeu haproxy say ?
that isn’t helpful. Perhaps if you scroll up to when you started haproxy. Otherwise you can try a config check with haproxy -c -f /path/to/config/file.cfg
please copy the text and don’t attach images.
Try directly. Stop everything systemd related and run from command line.
$ sudo su -
$ systemctl stop haproxy
$ haproxy -db -f /path/to/config/file.cfg
Either you are not root (required for binding to privileged ports < 1024) or there is already something bound to port 80.
I would also verify that 10.0.0.1 is assigned to one of your interfaces, if your bind line is ‘bind 10.0.0.1:80 …’
I’m not sure what this is supposed to do, or whether there is just a visualization issue here in the forum (please use code tag </>
to format the configuration):
This should be either :80
or *:80
.
That doesn’t make sense. Maybe you mean:
server camera1 camera1.local:80
server camera2 camera2.local:80
?