1
23.1 Legacy Series / [BUG] haproxy failing to start
« on: July 07, 2023, 06:49:39 pm »
Hello Everyone,
I am using haproxy plugin and can't started, based on shell debug limit has wrong arguments to start haproxy proxy
I am using haproxy plugin and can't started, based on shell debug limit has wrong arguments to start haproxy proxy
Code: [Select]
+ _cd=''
+ _doit='/usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid '
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ _doit=' limits -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid '
+ _run_rc_doit ' limits -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid '
+ debug 'run_rc_command: doit: limits -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid '
+ eval ' limits -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid '
+ limits -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid
+ _return=1
+ [ 1 -ne 0 ]
+ [ -z '' ]
+ return 1
+ warn 'failed to start haproxy'
+ [ -x /usr/bin/logger ]
+ logger '/usr/local/etc/rc.d/haproxy: WARNING: failed to start haproxy'
+ echo '/usr/local/etc/rc.d/haproxy: WARNING: failed to start haproxy'
/usr/local/etc/rc.d/haproxy: WARNING: failed to start haproxy
+ return 1
root@fw01:~ # usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pidusr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haprox
usr/local/sbin/haproxy: Command not found.
root@fw01:~ # limit -c daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid
limit: Too many arguments.
root@fw01:~ # limit -C daemon /usr/local/sbin/haproxy -q -f /usr/local/etc/haproxy.conf -p /var/run/haproxy.pid
limit: Too many arguments.