Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Rabbitmqctl issue

Guest
Posted: Tue Feb 19, 2008 11:51 pm Reply with quote
Guest
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}],[]]}
{error_logger,{{2008,2,19},{12,25,21}},supervisor_report,[{supervisor,{local
,net_sup}},{errorContext,start_error},{reason,{{case_clause,eof},[{auth,read
_cookie,2},{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_l
ib,init_p,5}]}},{offender,[{pid,undefined},{name,auth},{mfa,{auth,start_link
,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2008,2,19},{12,25,21}},supervisor_report,[{supervisor,{local
,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,u
ndefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_typ
e,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2008,2,19},{12,25,21}},crash_report,[[{pid,<0.7.0>},{registe
red_name,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_cal
l,{application_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_c
ontroller,erl_reply,auth,boot_server,code_server,disk_log_server,disk_log_su
p,erl_prim_loader,error_logger,file_server_2,fixtable_server,global_group,gl
obal_name_server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,
user,os_server,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[appl
ication,application_controller,application_master,application_starter,auth,c
ode,code_aux,packages,code_server,dist_util,erl_boot_server,erl_distribution
,erl_prim_loader,erl_reply,erlang,error_handler,error_logger,file,file_serve
r,file_io_server,prim_file,global,global_group,global_search,group,heart,hip
e_unified_loader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,i
net_gethost_native,inet_tcp_dist,init,kernel,kernel_config,net,net_adm,net_k
ernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_1,disk_log_se
rver,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,prim_
inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,pg2,seq_tra
ce,wrap_log_reader,zlib,otp_ring0],[],infinity,infinity},normal]}},{ancestor
s,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},
{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_siz
e,21},{reductions,2079}],[]]}
{error_logger,{{2008,2,19},{12,25,21}},std_info,[{application,kernel},{exite
d,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{shutd
own,{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


What is wrong on my installation ?

Thanks
Sebastien Plisson


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Wed Feb 20, 2008 9:23 am Reply with quote
Guest
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.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Wed Feb 20, 2008 2:36 pm Reply with quote
Guest
Eventually I was runnning rabbitmq-server directly.

Now when I try with the invoke-rc.d command, I get :
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

Thanks
Sebastien


On 2/20/08 1:25 AM, "Matthias Radestock" <matthias@lshift.net> wrote:

> 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.


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Wed Feb 20, 2008 4:18 pm Reply with quote
Guest
After cleaning the processes, it finally worked fine !

Thanks for the help

Sebastien


On 2/20/08 6:36 AM, "Sebastien PLISSON" <splisson@veodia.com> wrote:

> Eventually I was runnning rabbitmq-server directly.
>
> Now when I try with the invoke-rc.d command, I get :
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
> Thanks
> Sebastien
>
>
> On 2/20/08 1:25 AM, "Matthias Radestock" <matthias@lshift.net> wrote:
>
>> 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.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum