# HAProxy active by not working

**URL:** <https://discourse.haproxy.org/t/haproxy-active-by-not-working/7579>\
**Category:** Help!\
**Created:** [April 17, 2022, 10:59am UTC](https://discourse.haproxy.org/t/haproxy-active-by-not-working/7579 "2022-04-17T10:59:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@Ravi](https://discourse.haproxy.org/u/Ravi)\
**Post date:** [April 17, 2022, 10:59am UTC](https://discourse.haproxy.org/t/haproxy-active-by-not-working/7579/1 "2022-04-17T10:59:33Z")

</div>

I have installed HAProxy on DigitalOcean droplet Ubuntu 20.04, HAProxy version 2.5  
It is active but not working  
**systemctl status haproxy**  
● haproxy.service - HAProxy Load Balancer  
Loaded: loaded (/lib/systemd/system/haproxy.service; enabled; vendor preset: enabled)  
Active: active (running) since Sun 2022-04-17 10:27:57 UTC; 24min ago  
Docs: man:haproxy(1)  
file:/usr/share/doc/haproxy/configuration.txt.gz  
Main PID: 24536 (haproxy)  
Tasks: 2 (limit: 1132)  
Memory: 72.2M  
CGroup: /system.slice/haproxy.service  
├─24536 /usr/sbin/haproxy -x /run/haproxy/admin.sock -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -S /run/haproxy-master.sock  
└─24548 /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -S /run/haproxy-master.sock

Apr 17 10:51:34 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:51:34.248] stats stats/ 0/0/0/0/0 200 43743 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:51:39 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:51:39.789] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:51:45 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:51:45.304] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:51:50 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:51:50.886] stats stats/ 0/0/0/0/0 200 43743 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:51:56 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:51:56.514] stats stats/ 0/0/0/0/0 200 43704 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:52:02 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:52:02.104] stats stats/ 0/0/0/0/0 200 43730 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:52:07 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:52:07.715] stats stats/ 0/0/0/0/0 200 43743 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:52:13 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:52:13.222] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:52:18 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:52:18.830] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 "GET /monit\>  
Apr 17 10:52:24 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:52:24.385] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 "GET /monit

**haproxy -c -f /etc/haproxy/haproxy.cfg**  
Configuration file is valid

**sudo tail -n 2 /var/log/haproxy.log**  
Apr 17 10:49:03 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:49:03.768] stats stats/ 0/0/0/0/0 200 43730 - - LR-- 1/1/0/0/0 0/0 “GET /monitor HTTP/1.1”  
Apr 17 10:49:09 dns haproxy[24548]: 121.45.115.236:60638 [17/Apr/2022:10:49:09.287] stats stats/ 0/0/0/0/0 200 43742 - - LR-- 1/1/0/0/0 0/0 “GET /monitor HTTP/1.1”

 ![Screen Shot 2022-04-17 at 8.57.18 pm](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/4/438e58a86ce60111f670c26311bfeafb24c0529a.jpeg)

Please help, Thanks all
