[rabbitmq-discuss] RabbitMQ on OSX - Having Problems...

Tim Perrett tperrett at googlemail.com
Sat May 16 18:47:51 BST 2009


Ok, so I completely scrapped this and started again, this time with
macports to ensure it was nothing stupid i was doing causing the
problem. So, I installed via macports, and following the instructions:

sudo -H -u rabbitmq rabbitmq-server

Great I thought! It works out of the box... however, if i open another
terminal, the rabbitmqctl doesnt find the running server still.

Any ideas? This is really starting to do my head in!

Cheers, Tim

On Sat, May 16, 2009 at 11:37 AM, Tim Perrett <tperrett at googlemail.com> wrote:
> Sorry, just to add some more information - when I run:
>
> macbookpro:~ timperrett$ sudo rabbitmq-server
> RabbitMQ 1.5.4 (AMQP 8-0)
> Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies
> LLC., and Rabbit Technologies Ltd.
> Licensed under the MPL.  See http://www.rabbitmq.com/
>
> Logging to "/var/log/rabbitmq/rabbit.log"
> SASL logging to "/var/log/rabbitmq/rabbit-sasl.log"
>
> starting database             ...done
> starting core processes       ...done
> starting recovery             ...done
> starting persister            ...done
> starting guid generator       ...done
> starting builtin applications ...done
> starting TCP listeners        ...done
>
> broker running
>
> Then in another terminal I run:
>
> macbookpro:~ timperrett$ sudo rabbitmqctl status
> Status of node rabbit at macbookpro ...
> {badrpc,nodedown}
> ...done.
>
> I then tried:
>
> timperrett$ sudo -u rabbitmq rabbitmq-server
> {error_logger,{{2009,5,16},{11,34,45}},"Failed to create cookie file",[]}
> {error_logger,{{2009,5,16},{11,34,45}},crash_report,[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{"Failed
> to create cookie
> file",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[<0.18.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,580}],[]]}
> {error_logger,{{2009,5,16},{11,34,45}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{"Failed
> to create cookie
> file",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{offender,[{pid,undefined},{name,auth},{mfa,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
> {error_logger,{{2009,5,16},{11,34,45}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
> {error_logger,{{2009,5,16},{11,34,45}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
> {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
>
> Crash dump was written to: erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
> Thanks
>
> Tim
>
>
> On Sat, May 16, 2009 at 11:22 AM, Tim Perrett <tperrett at googlemail.com> wrote:
>> Guys,
>>
>> This is probably a very noobie question, but everything was previously
>> working perfectly, and now its just broken. For some reason
>> rabbitmqctl appears to not be able to see the running broker? I worked
>> through this post:
>>
>> http://somic.org/2009/02/19/on-rabbitmqctl-and-badrpcnodedown/
>>
>> And based on whats detailed there, he suggests its an issue with
>> rabbitmq not running as the rabbitmq user? Im running on OSX and did a
>> manual install.
>>
>> Any advice / help is greatly appreciated.
>>
>> Thanks, Tim
>>
>




More information about the rabbitmq-discuss mailing list