haproxy does not stop when using service/invoke-rc.d

Bug #1493995 reported by Hans van den Bogert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trusty-backports
New
Undecided
Unassigned

Bug Description

When trying to stop haproxy using

sudo service haproxy stop

  or

sudo invoke-rc.d haproxy stop

The tools exit with status 0, but haproxy is still running.

Example:

    sudo invoke-rc.d haproxy start
 * Starting haproxy haproxy [ OK ]
be@fe2-lb1-test:~$ echo $?
0
be@fe2-lb1-test:~$ sudo invoke-rc.d haproxy stop
 * Stopping haproxy haproxy [ OK ]
be@fe2-lb1-test:~$ echo $?
0
be@fe2-lb1-test:~$ ps aux |grep haproxy
haproxy 31719 0.0 1.4 33500 7100 ? Ss 20:08 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid
be 31782 0.0 0.4 11748 2232 pts/2 S+ 20:09 0:00 grep --color=auto haproxy

Haproxy version:
$ aptitude show haproxy
Package: haproxy
State: installed
Automatically installed: no
Version: 1.5.4-1ubuntu2.1~ubuntu14.04.1

Tags: haproxy
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.