Hi,

Is there any way to run haproxy as non-root with  backend configured inside the 
namespace  as seen below but the same shows “general socket error” , if we run 
the same by removing the user and group from haproxy and run the same as root 
the the same works fine.

Regards
Senthil


global
maxconn 10000
log 127.0.0.1 local0 notice
log 127.0.0.1 local1 notice
chroot /usr/haproxy
user haproxy
group haproxy
daemon

frontend  HTTP
bind 10.14.14.21:80 namespace red
mode http
log global
option httplog
option httpclose
option forwardfor
maxconn 2000
timeout client 180s
default_backend  HTTPBACK

backend HTTPBACK
balance roundrobin
mode http
log global
option httplog
option httpchk HEAD /
fullconn  2000
timeout server 180s
default-server inter 3s rise 2 fall 3 slowstart 0
server RHEL64 10.14.14.4:80 weight 12 maxconn 2000 check namespace red

Senthil Naidu
Deputy General Manager - IT Engineering
IT Engineering
Netmagic (An NTT Communications Company)
Direct: +91 22 40090100
Cell: 7738784713
Email: [email protected]
[http://www.netmagicsolutions.com/assets/images/EDM/press_release/2015/06-15/gartner-magic-quadrant.jpg]<https://www.netmagicsolutions.com/press-releases/ntt-communications-named-a-leader-in-2017-gartner-magic-quadrant-for-managed-hybrid-cloud-hosting-asia-pacific-for-third-year-in-a-row>
       NTT Communications Named a Leader in 'Gartner Magic Quadrant for Managed 
Hybrid Cloud Hosting, Asia/Pacific 2017', for Third Year in a 
Row.<https://www.netmagicsolutions.com/press-releases/ntt-communications-named-a-leader-in-2017-gartner-magic-quadrant-for-managed-hybrid-cloud-hosting-asia-pacific-for-third-year-in-a-row>


Data Center Services <http://www.netmagicsolutions.com/datacenter-services> | 
Hosted IT 
Infrastructure<http://www.netmagicsolutions.com/managed-dedicated-servers-hosting-in-india.html>
 | Cloud Services 
<http://www.netmagicsolutions.com/cloud-infrastructure-services> | Managed 
Services<http://www.netmagicsolutions.com/infrastructure-management-services> | 
Infrastructure Application<http://www.netmagicsolutions.com/simpliapp-overview> 
| Network Services<http://www.netmagicsolutions.com/network-services>


[http://www.netmagicsolutions.com/assets/images/EDM/press_release/2015/06-15/ntt-netmagic-logo.jpg]<http://www.netmagicsolutions.com>

Reply via email to