[rabbitmq-discuss] Problem installing rabbitmq-server on ubuntu
Simon MacMullen
simon at rabbitmq.com
Wed Oct 10 11:19:25 BST 2012
Which version of RabbitMQ are you running?
There are various networking misconfigurations that can cause this sort
of error message. I had hoped we had made such errors clearer and more
readable, but if you're running an old version that won't help.
Some things you might check:
1) Is the hostname resolvable?
1a) Does "ping $(hostname -s)" work?
2) Do you have working localhost?
2a) Does "ping localhost" work?
3) Is there something stopping RabbitMQ from seeing epmd?
3a) Does an epmd process get started?
3b) If it does, is something blocking port 4369 on localhost? Can you
telnet to that port?
Cheers, Simon
On 09/10/12 21:36, Shang Wang wrote:
> 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.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list