What's new

Need little help with HAProxy getting it to run (no permission)???

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

minhgi

Regular Contributor
Just asking for help with getting HAProxy run on my AC5300. Linux command isn't my strong suite. My haproxy.cfg is already configured i'm getting permission deny to run it. Picture should be more sufficient. Let me know if I need to provide any more information.

AsusRouter:/tmp/home/root# /opt/etc/init.d/S22haproxy
-sh: /opt/etc/init.d/S22haproxy: Permission denied

#!/bin/sh
# Tweak for performance
MAX_RAM="64" # Ram in MB
MAX_CONNECTIONS="165530"
CONFIGFILE="/opt/etc/haproxy.cfg"
PIDFILE="/var/run/haproxy.pid"
DIR="/opt/tmp"
ENABLED=yes
PROCS=haproxy
ARGS="-f $CONFIGFILE -p $PIDFILE -m $MAX_RAM -n $MAX_CONNECTIONS -q -C $DIR -D"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
 
The startup script is running but still can't get haproxy to stay alive. Could be my haproxy.cfg isn't configured properly. That I need to figure myself.

Sent from my Lenovo TB-8704X using Tapatalk
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top