Re: [rabbitmq-discuss] rabbitmq-server ignoring /etc/rabbitmq/rabbitmq-env.conf

2011-11-01 Thread Raymond Barlow
Hi Simon,

yep, just to confirm, I put
NODENAME=rabbit@localhost

and it still hangs on trying to start rabbit. ctrl-c and it starts

the "config file(s) : (none)" from below suggests to me that the config
file is being ignored. True?

/Raymond

$ rabbitmq-server
Activating RabbitMQ plugins ...
6 plugins activated:
* amqp_client-2.6.1
* mochiweb-1.3-rmq2.6.1-git9a53dbd
* rabbitmq_management-2.6.1
* rabbitmq_management_agent-2.6.1
* rabbitmq_mochiweb-2.6.1
* webmachine-1.7.0-rmq2.6.1-hg0c4b60a

^C
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
   (v)ersion (k)ill (D)b-tables (d)istribution
a

+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +---+
|   |
| RabbitMQ  +---+   |
|   |   |   |
|   v2.6.1  +---+   |
|   |
+---+
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2011 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

node   : rabbit@agentdarkbooty
app descriptor :
/usr/local/Cellar/rabbitmq/2.6.1/lib/rabbitmq/erlang/lib/rabbitmq-2.6.1/ebin/rabbit.app
home dir   : /Users/rbarlow
config file(s) : (none)
cookie hash: 69hWSm3y5SfIaTNKKCj3sQ==
log: /usr/local/var/log/rabbitmq/[email protected]
sasl log   : /usr/local/var/log/rabbitmq/[email protected]
database dir   : /usr/local/var/lib/rabbitmq/mnesia/rabbit@agentdarkbooty
erlang version : 5.8.5

-- rabbit boot start
starting file handle cache server
...done
starting worker pool
 ...done
starting database
...done
starting codec correctness check
 ...done
-- external infrastructure ready
starting plugin registry
 ...done
starting auth mechanism cr-demo
...done
starting auth mechanism amqplain
 ...done
starting auth mechanism plain
...done
starting statistics event manager
...done
starting logging server
...done
starting exchange type direct
...done
starting exchange type fanout
...done
starting exchange type headers
 ...done
starting exchange type topic
 ...done
-- kernel ready
starting alarm handler
 ...done
starting node monitor
...done
starting cluster delegate
...done
starting guid generator
...done
starting memory monitor
...done
-- core initialized
starting empty DB check
...done
starting management agent
...done
starting exchange, queue and binding recovery
...done
starting mirror queue slave sup
...done
starting adding mirrors to queues
...done
-- message delivery logic ready
starting error log relay
 ...done
starting networking
...done
starting direct_client
 ...done
starting notify cluster nodes
...done

broker running
** Found 0 name clashes in code paths


On 28 October 2011 12:25, Simon MacMullen  wrote:

> On 27/10/11 23:31, Raymond Barlow wrote:
>
>> After a day of pain, I finally managed to get rabbitmq installed, via
>> homebrew, on my mac (lion).
>>
>
> What was painful installing on homebrew? Not that we do the packaging, but
> if there's anything we can help make easier that would be cool.
>
>
>  Now, I'm having trouble with starting the server. It hangs (I guess
>> trying to resolve the hostname). If I ctrl-c during the hang, the broker
>> seems to start anyway.
>>
>> So, I thought I'd add NODENAME=localhost to
>> /etc/rabbitmq/rabbitmq-env.**conf (as suggested in other posts).
>> But, even after I have created this file, and put the above in it,
>> rabbitmq-server still fails connect (just hangs).
>>
>
> I think you need:
>
> RABBITMQ_NODENAME=rabbit@**localhost
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
> __**_
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.**rabbitmq.com
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss
>
> --
> You received this message because you are subscribed to the Google Groups
> "rabbitmq-discuss" group.
> To post to this group, send email to 
> rabbitmq-discuss@googlegroups.**com
> .
> To unsubscribe from this group, send email to
> rabbitmq-discuss+unsubscribe@**googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/**
> group/rabbitmq-discuss?hl=en
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.



Re: [rabbitmq-discuss] rabbitmq-server ignoring /etc/rabbitmq/rabbitmq-env.conf

2011-11-01 Thread Raymond Barlow
+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +---+
|   |
| RabbitMQ  +---+   |
|   |   |   |
|   v2.6.1  +---+   |
|   |
+---+
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2011 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

node   : rabbit@agentdarkbooty
app descriptor :
/usr/local/Cellar/rabbitmq/2.6.1/lib/rabbitmq/erlang/lib/rabbitmq-2.6.1/ebin/rabbit.app
home dir   : /Users/rbarlow
config file(s) : (none)
cookie hash: 69hWSm3y5SfIaTNKKCj3sQ==
log: /usr/local/var/log/rabbitmq/[email protected]
sasl log   : /usr/local/var/log/rabbitmq/[email protected]
database dir   : /usr/local/var/lib/rabbitmq/mnesia/rabbit@agentdarkbooty
erlang version : 5.8.5

-- rabbit boot start
starting file handle cache server
...done
starting worker pool
 ...done
starting database
...done
starting codec correctness check
 ...done
-- external infrastructure ready
starting plugin registry
 ...done
starting auth mechanism cr-demo
...done
starting auth mechanism amqplain
 ...done
starting auth mechanism plain
...done
starting statistics event manager
...done
starting logging server
...done
starting exchange type direct
...done
starting exchange type fanout
...done
starting exchange type headers
 ...done
starting exchange type topic
 ...done
-- kernel ready
starting alarm handler
 ...done
starting node monitor
...done
starting cluster delegate
...done
starting guid generator
...done
starting memory monitor
...done
-- core initialized
starting empty DB check
...done
starting management agent
...done
starting exchange, queue and binding recovery
...done
starting mirror queue slave sup
...done
starting adding mirrors to queues
...done
-- message delivery logic ready
starting error log relay
 ...done
starting networking
...done
starting direct_client
 ...done
starting notify cluster nodes
...done

broker running
** Found 0 name clashes in code paths


On 28 October 2011 09:43, Alvaro Videla  wrote:

> Can you include what you omitted with the (etc) to see at which boot step
> RabbitMQ hangs on?
>
> Cheers,
>
> -Alvaro
>
>
> On Fri, Oct 28, 2011 at 12:31 AM, Raymond Barlow <
> [email protected]> wrote:
>
>> Hi,
>>
>> After a day of pain, I finally managed to get rabbitmq installed, via
>> homebrew, on my mac (lion).
>>
>> Now, I'm having trouble with starting the server. It hangs (I guess
>> trying to resolve the hostname). If I ctrl-c during the hang, the broker
>> seems to start anyway.
>>
>> So, I thought I'd add NODENAME=localhost to /etc/rabbitmq/rabbitmq-env.conf
>> (as suggested in other posts).
>> But, even after I have created this file, and put the above in it,
>> rabbitmq-server still fails connect (just hangs).
>>
>> If I ctrl-c, the broker still starts, and it shows that it hasn't picked
>> up the config file (I think):
>>
>> +---+   +---+
>> |   |   |   |
>> |   |   |   |
>>  |   |   |   |
>> |   +---+   +---+
>> |   |
>> | RabbitMQ  +---+   |
>> |   |   |   |
>> |   v2.6.1  +---+   |
>> |   |
>> +---+
>> AMQP 0-9-1 / 0-9 / 0-8
>> Copyright (C) 2007-2011 VMware, Inc.
>> Licensed under the MPL.  See http://www.rabbitmq.com/
>>
>> node   : rabbit@agentdarkbooty
>> app descriptor :
>> /usr/local/Cellar/rabbitmq/2.6.1/lib/rabbitmq/erlang/lib/rabbitmq-2.6.1/ebin/rabbit.app
>> home dir   : /Users/rbarlow
>> config file(s) : (none)
>> (etc)
>>
>> Any suggestions?
>>
>> Regards,
>> Raymond Barlow
>>
>> ___
>> rabbitmq-discuss mailing list
>> [email protected]
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "rabbitmq-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rabbitmq-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.



Re: [rabbitmq-discuss] rabbitmq-server ignoring /etc/rabbitmq/rabbitmq-env.conf

2011-10-28 Thread Raymond Barlow
On 28 October 2011 12:25, Simon MacMullen  wrote:

> On 27/10/11 23:31, Raymond Barlow wrote:
>
>> After a day of pain, I finally managed to get rabbitmq installed, via
>> homebrew, on my mac (lion).
>>
>
> What was painful installing on homebrew? Not that we do the packaging, but
> if there's anything we can help make easier that would be cool.
>
> It was actually the Erlang install that was the problem. I had to change
the recipe, in the install step:
# Don't use optimizations. Fixes build on Lion/Xcode 4.2
ENV.remove_from_cflags /-O./
ENV.append_to_cflags '-O0'

So, not actually a rabbit problem :)


>  Now, I'm having trouble with starting the server. It hangs (I guess
>> trying to resolve the hostname). If I ctrl-c during the hang, the broker
>> seems to start anyway.
>>
>> So, I thought I'd add NODENAME=localhost to
>> /etc/rabbitmq/rabbitmq-env.**conf (as suggested in other posts).
>> But, even after I have created this file, and put the above in it,
>> rabbitmq-server still fails connect (just hangs).
>>
>
> I think you need:
>
> RABBITMQ_NODENAME=rabbit@**localhost
>

Yep, I pretty sure I tried that too, still hung. I'll give it another go
next time I'm at home. (weirdly it works fine when I'm at work with the same
machine).

Cheers,
Raymond




> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
> __**_
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.**rabbitmq.com
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss
>
> --
> You received this message because you are subscribed to the Google Groups
> "rabbitmq-discuss" group.
> To post to this group, send email to 
> rabbitmq-discuss@googlegroups.**com
> .
> To unsubscribe from this group, send email to
> rabbitmq-discuss+unsubscribe@**googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/**
> group/rabbitmq-discuss?hl=en
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.



Re: [rabbitmq-discuss] rabbitmq-server ignoring /etc/rabbitmq/rabbitmq-env.conf

2011-10-28 Thread Alvaro Videla
Can you include what you omitted with the (etc) to see at which boot step
RabbitMQ hangs on?

Cheers,

-Alvaro


On Fri, Oct 28, 2011 at 12:31 AM, Raymond Barlow
wrote:

> Hi,
>
> After a day of pain, I finally managed to get rabbitmq installed, via
> homebrew, on my mac (lion).
>
> Now, I'm having trouble with starting the server. It hangs (I guess trying
> to resolve the hostname). If I ctrl-c during the hang, the broker seems to
> start anyway.
>
> So, I thought I'd add NODENAME=localhost to /etc/rabbitmq/rabbitmq-env.conf
> (as suggested in other posts).
> But, even after I have created this file, and put the above in it,
> rabbitmq-server still fails connect (just hangs).
>
> If I ctrl-c, the broker still starts, and it shows that it hasn't picked up
> the config file (I think):
>
> +---+   +---+
> |   |   |   |
> |   |   |   |
> |   |   |   |
> |   +---+   +---+
> |   |
> | RabbitMQ  +---+   |
> |   |   |   |
> |   v2.6.1  +---+   |
> |   |
> +---+
> AMQP 0-9-1 / 0-9 / 0-8
> Copyright (C) 2007-2011 VMware, Inc.
> Licensed under the MPL.  See http://www.rabbitmq.com/
>
> node   : rabbit@agentdarkbooty
> app descriptor :
> /usr/local/Cellar/rabbitmq/2.6.1/lib/rabbitmq/erlang/lib/rabbitmq-2.6.1/ebin/rabbit.app
> home dir   : /Users/rbarlow
> config file(s) : (none)
> (etc)
>
> Any suggestions?
>
> Regards,
> Raymond Barlow
>
> ___
> rabbitmq-discuss mailing list
> [email protected]
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.



Re: [rabbitmq-discuss] rabbitmq-server ignoring /etc/rabbitmq/rabbitmq-env.conf

2011-10-28 Thread Raymond Barlow
I should also add, this only happens when I'm at home, and my wifi is
connected. If I disable wifi, the broker starts immediately.

Furthermore, it seems that the broker is trying to connect to hostname,
instead of hostname.local. Can I get the broker to connect to hostname.local
instead?

Regards,
Raymond

On 27 October 2011 23:31, Raymond Barlow  wrote:

> Hi,
>
> After a day of pain, I finally managed to get rabbitmq installed, via
> homebrew, on my mac (lion).
>
> Now, I'm having trouble with starting the server. It hangs (I guess trying
> to resolve the hostname). If I ctrl-c during the hang, the broker seems to
> start anyway.
>
> So, I thought I'd add NODENAME=localhost to /etc/rabbitmq/rabbitmq-env.conf
> (as suggested in other posts).
> But, even after I have created this file, and put the above in it,
> rabbitmq-server still fails connect (just hangs).
>
> If I ctrl-c, the broker still starts, and it shows that it hasn't picked up
> the config file (I think):
>
> +---+   +---+
> |   |   |   |
> |   |   |   |
> |   |   |   |
> |   +---+   +---+
> |   |
> | RabbitMQ  +---+   |
> |   |   |   |
> |   v2.6.1  +---+   |
> |   |
> +---+
> AMQP 0-9-1 / 0-9 / 0-8
> Copyright (C) 2007-2011 VMware, Inc.
> Licensed under the MPL.  See http://www.rabbitmq.com/
>
> node   : rabbit@agentdarkbooty
> app descriptor :
> /usr/local/Cellar/rabbitmq/2.6.1/lib/rabbitmq/erlang/lib/rabbitmq-2.6.1/ebin/rabbit.app
> home dir   : /Users/rbarlow
> config file(s) : (none)
> (etc)
>
> Any suggestions?
>
> Regards,
> Raymond Barlow
>
> ___
> rabbitmq-discuss mailing list
> [email protected]
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> --
> You received this message because you are subscribed to the Google Groups
> "rabbitmq-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rabbitmq-discuss/-/gKPjdaWFC8AJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rabbitmq-discuss?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.