ports/160027: Rabbitmq daemon fails to restart half of the time

NIcolas Szalay nico at rottenbytes.info
Tue Aug 23 14:00:03 UTC 2011


>Number:         160027
>Category:       ports
>Synopsis:       Rabbitmq daemon fails to restart half of the time
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 23 14:00:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     NIcolas Szalay
>Release:        8.1-RELEASE
>Organization:
Fotolia
>Environment:
FreeBSD vbox04.XXX 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Fri Mar 18 14:02:33 CET 2011     root at vbox04.XXXX:/usr/obj/usr/src/sys/ZOMG  amd64

>Description:
The rabbitmq daemon (installed from ports) fails to restart half of the time. 


>How-To-Repeat:
vbox04# /usr/local/etc/rc.d/rabbitmq start                                                                   
Activating RabbitMQ plugins ...
0 plugins activated:

vbox04# /usr/local/etc/rc.d/rabbitmq restart
Stopping and halting node rabbit at vbox04 ...
..done.
Activating RabbitMQ plugins ...
0 plugins activated:

node with name "rabbit" already running on "vbox04"
diagnostics:
- nodes and their ports on vbox04: [{rabbit,27363},
                                    {rabbitmqprelaunch20882,25425}]
- current node: rabbitmqprelaunch20882 at vbox04
- current node home dir: /var/db/rabbitmq
- current node cookie hash: VBVdVm8OLvK9ASW3FXlWOg==


>Fix:
This is because it needs a small delay between the start and the stop action.

I hacked the rc script to add a sleep at the end of the stop command, but it would be nice if the package maintainer could do this in a clean way.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list