[rabbitmq-discuss] Problem installing rabbitmq-server on ubuntu

Shang Wang swang at nopsec.com
Tue Oct 9 21:36:13 BST 2012


Dear all:

I have never met this issue before, and I searched but no result was found
so far.

I tried to install rabbitmq-server on ubuntu 11.04, but I got following
error:

    Starting rabbitmq-server: TIMEOUT - check
/var/log/rabbitmq/startup_{log,err}
    rabbitmq-server.
    invoke-rc.d: initscript rabbitmq-server, action "start" failed.
    dpkg: error processing rabbitmq-server (--configure):
     subprocess installed post-installation script returned error exit
status 1
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
     rabbitmq-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

I looked into the file /var/log/rabbitmq/startup_log:

    {error_logger,{{2012,10,9},{20,20,34}},"Protocol: ~p: register error:
~p~n",["inet_tcp",{{badmatch,{error,etimedout}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}

{error_logger,{{2012,10,9},{20,20,34}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,510}],[]]}

{error_logger,{{2012,10,9},{20,20,34}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[rabbitmq_multi7006,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}

{error_logger,{{2012,10,9},{20,20,34}},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,{{2012,10,9},{20,20,34}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
    {"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}

in the file /var/log/rabbitmq/startup_err:

    Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

I honestly do not have much knowledge about using rabbitmq, and I did many
installations before and were all working fine. I looked up a little and
found this<http://www.mentby.com/Group/rabbitmq-discuss/having-trouble-installing-on-ubuntu.html>
and
this<http://serverfault.com/questions/225795/error-when-installing-rabbitmq-server-on-ubuntu-10-10>,
and they addressed that it might be the DNS that caused the problem. I
looked into /etc/hosts and shows like this:
127.0.0.1     localhost localhost.localdomain
184.106.149.253     NopSec

So what seems to be the problem? Non of the results that I found seem to
provide useful information, please help, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121010/be6a0d9f/attachment.htm>


More information about the rabbitmq-discuss mailing list