[rabbitmq-discuss] Rabbitmqctl issue

Matthias Radestock matthias at lshift.net
Wed Feb 20 09:25:53 GMT 2008


Sebastien,

Sebastien PLISSON wrote:
> Hello,
> 
> I installed rabbitmq server using the debian repository.
> 
> The rabbitmqserver seems to work well when I use it but I have errors when I
> try to use rabbitmqctl :
> 
> rabbitmqctl list_users
> {error_logger,{{2008,2,19},{12,25,21}},crash_report,[[{pid,<0.19.0>},{regist
> ered_name,auth},{error_info,{{case_clause,eof},[{auth,read_cookie,2},{auth,i
> nit_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}},{i
> nitial_call,{gen,init_it,[gen_server,<0.17.0>,<0.17.0>,{local,auth},auth,[],
> []]}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.17.0
>> ,#Port<0.7>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,
> 377},{stack_size,21},{reductions,2652}],[]]}

It looks like rabbitmqctl encounters an eof reading the ~/.erlang.cookie 
file.

In the debian package, rabbitmqctl is a wrapper script that calls the 
real rabbitmqctl script as the 'rabbitmq' user. Please check that 
~rabbitmq/.erlang.cookie exists, is readable by the rabbitmq user and 
non-empty.

The recommended way to start the server under Debian is with 
'invoke-rc.d rabbitmq-server stop/start/etc', which starts RabbitMQ as 
the 'rabbitmq' user. Did you perhaps run 'rabbitmq-server' directly?


Matthias.




More information about the rabbitmq-discuss mailing list