Jan 10, 2013

openSUSE Forums: haproxy init.d/systemctl issue

openSUSE Forums
openSUSE Forums
haproxy init.d/systemctl issue
Jan 10th 2013, 10:52

Hello all,
Recently (hard to say when, within the last few months) something seems to have gone wrong with the haproxy init.d script. I'm running 64bit openSUSE 12.2; the start/stop on the script works fine but reload causes it to stop essentially --

Code:

linux-91ug:/etc/init.d # /etc/init.d/haproxy start
redirecting to systemctl

linux-91ug:/etc/init.d # /etc/init.d/haproxy status
redirecting to systemctl
haproxy.service - LSB: haproxy
          Loaded: loaded (/etc/init.d/haproxy)
          Active: active (running) since Thu, 10 Jan 2013 12:35:40 +0200; 1s ago
        Process: 2902 ExecStop=/etc/init.d/haproxy stop (code=exited, status=0/SUCCESS)
        Process: 2889 ExecReload=/etc/init.d/haproxy reload (code=exited, status=0/SUCCESS)
        Process: 3025 ExecStart=/etc/init.d/haproxy start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/haproxy.service
                  â 3035 /usr/sbin/haproxy -D -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid


Jan 10 12:35:40 linux-91ug haproxy[3025]: Starting haproxy ..done

linux-91ug:/etc/init.d # /etc/init.d/haproxy reload
redirecting to systemctl

linux-91ug:/etc/init.d # /etc/init.d/haproxy status
redirecting to systemctl
haproxy.service - LSB: haproxy
          Loaded: loaded (/etc/init.d/haproxy)
          Active: inactive (dead) since Thu, 10 Jan 2013 12:35:43 +0200; 1s ago
        Process: 3055 ExecStop=/etc/init.d/haproxy stop (code=exited, status=0/SUCCESS)
        Process: 3043 ExecReload=/etc/init.d/haproxy reload (code=exited, status=0/SUCCESS)
        Process: 3025 ExecStart=/etc/init.d/haproxy start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/haproxy.service


Jan 10 12:35:40 linux-91ug haproxy[3025]: Starting haproxy ..done
Jan 10 12:35:43 linux-91ug haproxy[3043]: Reload service haproxy ..done
Jan 10 12:35:43 linux-91ug haproxy[3055]: Shutting down haproxy ..done

linux-91ug:/etc/init.d # ps ax|grep haproxy
 3080 pts/0    S+    0:00 grep --color=auto haproxy

As you can see a reload kills the task. Am I missing something?

Just to be clear if I take what it should run out of init.d/haproxy and run it myself it works fine - something like this: haproxy -p /var/run/haproxy.pid -D -f /etc/haproxy/haproxy.cfg -sf 4238

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: