I had a similar problem perhaps… at least related until I added this line to my /etc/hosts on My mac:<div><br></div><div>127.0.0.1 alvaro.local</div><div><br></div><div>of course adapt it to your environment and see if it helps.<br>
<br><div class="gmail_quote">On Wed, May 9, 2012 at 12:21 PM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
inet_gethost is a process that is started by the Erlang VM - it should always be there; it&#39;s not part of startup.<br>
<br>
It would be useful to know where rabbit is getting stuck on startup - what ends up in the logs?<br>
<br>
Cheers, Simon<div class="im"><br>
<br>
On 08/05/12 19:04, Nithya Vijayakumar wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
        We are using rabbitmq server 2.7.1 in two node auto clustering mode.<br>
<br>
            Once in a while we are getting complaint that rabbitmq did<br>
        not complete the installation. What is happening underneath is<br>
        &quot;service rabbitmq-server start&quot; is getting stuck,  and<br>
        subsequent installation steps also gets stuck going into loop<br>
        and many many runs trying to complete. I think &quot;inet_gethost 4&quot;<br>
        might be the culprit. Any suggestions on how to fix this?<br>
<br>
           ps awfux | more<br>
<br>
           root     19848  0.0  0.0 106412  1612 pts/0    S+   17:03<br>
           0:00  |       \_ /bin/sh /sbin/service puppet debug<br>
           root     19853  0.0  0.0 106624  1632 pts/0    S+   17:03<br>
           0:00  |           \_ /bin/bash /etc/init.d/puppet debug<br>
           root     19858  1.2  3.1 166288 64416 pts/0    S+   17:03<br>
           0:03  |               \_ /usr/bin/ruby /usr/sbin/puppetd<br>
        --server=<a href="http://director.ecp-deploy.com" target="_blank">director.ecp-deploy.<u></u>com</a><br></div>
        &lt;<a href="http://director.ecp-deploy.com" target="_blank">http://director.ecp-deploy.<u></u>com</a>&gt; --fqdn <a href="http://amq.ecp-deploy.com" target="_blank">amq.ecp-deploy.com</a><br>
        &lt;<a href="http://amq.ecp-deploy.com" target="_blank">http://amq.ecp-deploy.com</a>&gt; -o --no-daemonize -v<div class="im"><br>
           root     20390  0.0  0.0   9760  1516 ?        Ss   17:03<br>
           0:00  |                   \_ /bin/sh /sbin/service<br>
        rabbitmq-server start<br>
           root     20395  0.0  0.0   9500  1276 ?        S    17:03<br>
           0:00  |                       \_ /bin/sh<br>
        /etc/init.d/rabbitmq-server start<br>
           root     20422  0.0  0.0   9496  1196 ?        Ss   17:03<br>
           0:00  |                           \_ /bin/sh<br>
        /usr/sbin/rabbitmq-server<br>
           root     20433  0.0  0.0  42512  1384 ?        S    17:03<br>
           0:00  |                           |   \_ su rabbitmq -s<br>
        /bin/sh -c /usr/lib/rabbitmq/bin/<u></u>rabbitmq-server<br>
           rabbitmq 20436  0.2  1.6 585140 33536 ?        Ssl  17:03<br>
           0:00  |                           |       \_<br>
        /usr/lib64/erlang/erts-5.8.5/<u></u>bin/beam -W w -K true -A30 -P<br>
        1048576 -- -root /usr/lib64/erlang -progname erl -- -home /var/li<br>
           b/rabbitmq -- -noshell -noinput -name<br></div>
        _rabbit@amq.ecp-deploy.com_ -boot<br>
        _/opt/cisco/rabbitmq/data/<u></u>rabbit@amq.ecp-deploy.com-<u></u>plugins-expand/rabbit_<div class="im"><br>
        -config /etc/rabbitmq/rabbitmq -kernel inet_dist_listen_min<br>
        45001 -kernel inet_dist_li<br>
           sten_max 45002 -kernel inet_default_connect_options<br>
        [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger<br>
        false -rabbit error_logger<br></div>
        {file,&quot;_/opt/cisco/rabbitmq/<u></u>log/<a href="mailto:rabbit@amq.ecp-deploy.com" target="_blank">rabbit@amq.ecp-deploy.com</a>.<u></u>log_&quot;<br>
        &lt;_mailto:/opt/cisco/rabbitmq/<u></u>log/<a href="mailto:rabbit@amq.ecp-deploy.com" target="_blank">rabbit@amq.ecp-deploy.com</a>.<u></u>log_&gt;<br>
        } -rabbit sasl_error_log<br>
           ger<br>
        {file,&quot;_/opt/cisco/rabbitmq/<u></u>log/rabbit@amq.ecp-deploy.com-<u></u>sasl.log_&quot;<br>
        &lt;_mailto:/opt/cisco/rabbitmq/<u></u>log/rabbit@amq.ecp-deploy.com-<u></u>sasl.log_&gt;<div class="im"><br>
        } -os_mon start_cpu_sup true -os_mon start_disksup false -os_mon<br>
        start_memsup false -mnesia dir<br></div>
        &quot;_/opt/cisco/rabbitmq/data/<u></u>rabbit@amq.ecp-deploy.com_&quot;<br>
        &lt;_mailto:/opt/cisco/rabbitmq/<u></u>data/rabbit@amq.ecp-deploy.<u></u>com_&gt;<div class="im"><br>
           rabbitmq 20513  0.0  0.0  10844   496 ?        Ss   17:03<br>
           0:00  |                           |           \_ inet_gethost 4<br>
           rabbitmq 20514  0.0  0.0  11056   412 ?        S    17:03<br>
           0:00  |                           |               \_<br>
        inet_gethost 4<br>
           root     20423  0.0  0.0   9496  1216 ?        S    17:03<br>
           0:00  |                           \_ /bin/sh<br>
        /usr/sbin/rabbitmqctl wait /var/run/rabbitmq/pid<br>
           root     20439  0.0  0.0  42512  1384 ?        S    17:03<br>
           0:00  |                               \_ su rabbitmq -s<br>
        /bin/sh -c /usr/lib/rabbitmq/bin/<u></u>rabbitmqctl &quot;wait&quot;<br>
        &quot;/var/run/rabbitmq/pid&quot;<br>
           rabbitmq 20442  0.0  0.4  32312 10260 ?        Ss   17:03<br>
           0:00  |                                   \_<br>
        /usr/lib64/erlang/erts-5.8.5/<u></u>bin/beam -- -root /usr/lib64/erlang<br>
        -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/ra<br>
           bbitmq/lib/rabbitmq_server-2.<u></u>7.1/sbin/../ebin -noshell<br>
        -noinput -hidden -name rabbitmqctl20442 -s rabbit_control<br></div>
        -nodename _rabbit@amq.ecp-deploy.com_ -extra wait<div class="im"><br>
        /var/run/rabbitmq/pid<br>
           rabbitmq 20468  0.0  0.0  10844   492 ?        Ss   17:03<br>
           0:00  |                                       \_ inet_gethost 4<br>
           rabbitmq 20469  0.0  0.0  11056   360 ?        S    17:03<br>
           0:00  |                                           \_<br>
        inet_gethost 4<br>
<br>
        Thanks,<br>
        Nithya<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><span class="HOEnZb"><font color="#888888"><br>

</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</font></span></blockquote></div><br></div>