Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 09:29:05 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339337 - in head/net/rabbitmq: . files
Message-ID:  <201401100929.s0A9T55P020806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Jan 10 09:29:04 2014
New Revision: 339337
URL: http://svnweb.freebsd.org/changeset/ports/339337

Log:
  Reset ERL_LIBS before running RabbitMQ.
  
  ERL_LIBS was inherited from the current environment, and it may
  contain paths to older versions of amqp_client, which may not be
  compatible with the current RabbitMQ management plugin.
  
  As a result, RabbitMQ would not start when the management plugin was
  enabled, with this error:
  
  {could_not_start,amqp_client,
   {{supervisor_data,{invalid_strategy,simple_one_for_one_terminate}},
    {amqp_client,start,[normal,[]]}}}

Modified:
  head/net/rabbitmq/Makefile
  head/net/rabbitmq/files/rabbitmq.in   (contents, props changed)

Modified: head/net/rabbitmq/Makefile
==============================================================================
--- head/net/rabbitmq/Makefile	Fri Jan 10 09:05:46 2014	(r339336)
+++ head/net/rabbitmq/Makefile	Fri Jan 10 09:29:04 2014	(r339337)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rabbitmq
 PORTVERSION=	3.2.2
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
 DISTNAME=	${PORTNAME}-server-${PORTVERSION}

Modified: head/net/rabbitmq/files/rabbitmq.in
==============================================================================
--- head/net/rabbitmq/files/rabbitmq.in	Fri Jan 10 09:05:46 2014	(r339336)
+++ head/net/rabbitmq/files/rabbitmq.in	Fri Jan 10 09:29:04 2014	(r339337)
@@ -36,6 +36,7 @@ extra_commands="rotate_logs status"
 rabbitmq_start()
 {
 	HOME=/var/db/rabbitmq
+	unset ERL_LIBS
 	su -m ${rabbitmq_user} \
 		-c "sh -c \"${rabbitmq_server} -detached\""
 # Grab pid (it appears that parsing the output of



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100929.s0A9T55P020806>