<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Anthony Oduor</b> <span dir="ltr">&lt;<a href="mailto:antouboduor@gmail.com">antouboduor@gmail.com</a>&gt;</span><br>
Date: Wed, Jan 30, 2013 at 9:41 AM<br>Subject: Re: [rabbitmq-discuss] Cannot access rabbitmqadmin.<br>To: Simon MacMullen &lt;<a href="mailto:simon@rabbitmq.com">simon@rabbitmq.com</a>&gt;<br><br><br>Yes. That&#39;s the command I am using to start RabbitMQ. The problem seems to have disappeared after restarting the machine, I will add the echo for future debug  purposes in-case it happens again. Both scripts had the same value when I added the echo:<div>

<br></div><div>RABBITMQ_ENABLED_PLUGINS_FILE=./../etc/rabbitmq/enabled_plugins</div><div><br></div><div>Thank you Simon.<div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 7:17 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">Hmm. I just downloaded the 2.8.4 tarball and tried this out - both rabbitmq-plugins and rabbitmq-server picked up the same location for the file.<br>


<br>
It might be worth editing the two scripts to add:<br>
<br>
echo RABBITMQ_ENABLED_PLUGINS_FILE=<u></u>$RABBITMQ_ENABLED_PLUGINS_FILE<br>
<br>
just before the &quot;exec erl&quot; so you can see what the two scripts are seeing.<br>
<br>
Just to be clear, you are starting rabbitmq-server by invoking &quot;./rabbitmq-server&quot;?<br>
<br>
Cheers, Simon<div><br>
<br>
On 29/01/13 11:20, Anthony Oduor wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your reply.<br>
<br>
Yes, installed via /rabbitmq-server-generic-unix-<u></u>2.8.4.tar.gz/ on my<div><br>
/home/anthony/rabbitmq/<br>
<br>
I am able to access the sbin and run the rabbitmq-* scripts with the<br>
same user. In this case, I am not sure how they could be reading<br>
different values of RABBITMQ_ENABLED_PLUGINS_FILE. This just happened<br>
yesterday when restarted the rabbitmq-server, I haven&#39;t encountered this<br>
before.<br>
<br>
<br>
On Tue, Jan 29, 2013 at 1:31 PM, Simon MacMullen &lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a><br></div><div>
&lt;mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;&gt; wrote:<br>
<br>
    Hmm. Your symptoms are consistent with rabbitmq-plugins and<br>
    rabbitmq-server using a different enabled_plugins file. How did you<br>
    install RabbitMQ? I notice that you are invoking rabbitmq-plugins<br>
    from the current directory as a normal user, so did you perform a<br>
    manual installation?<br>
<br>
    If so, make sure that both rabbitmq-plugins and rabbitmq-server see<br>
    the same value for RABBITMQ_ENABLED_PLUGINS_FILE.<br>
<br>
    Cheers, Simon<br>
<br>
<br>
    On 29/01/13 07:39, Anthony Oduor wrote:<br>
<br>
        Hello,<br>
<br>
        Encountered this issue too. Everything is running fine, ports<br>
        4369 with<br>
        epmd is up, but cannot access the web management page.<br>
<br>
        $ ./rabbitmq-plugins list<br>
        [e] amqp_client                       2.8.4<br>
        [ ] eldap                             2.8.4-git<br>
        [ ] erlando                           2.8.4<br>
        [e] mochiweb                          1.3-rmq2.8.4-git<br>
        [ ] rabbitmq_auth_backend_ldap        2.8.4<br>
        [ ] rabbitmq_auth_mechanism_ssl       2.8.4<br></div>
        [ ] rabbitmq_consistent_hash___<u></u>exchange 2.8.4<div><br>
        [ ] rabbitmq_federation               2.8.4<br>
        [ ] rabbitmq_federation_management    2.8.4<br>
        [ ] rabbitmq_jsonrpc                  2.8.4<br>
        [ ] rabbitmq_jsonrpc_channel          2.8.4<br></div>
        [ ] rabbitmq_jsonrpc_channel___<u></u>examples 2.8.4<div><div><br>
        [E] rabbitmq_management               2.8.4<br>
        [e] rabbitmq_management_agent         2.8.4<br>
        [E] rabbitmq_management_visualiser    2.8.4<br>
        [e] rabbitmq_mochiweb                 2.8.4<br>
        [ ] rabbitmq_shovel                   2.8.4<br>
        [ ] rabbitmq_shovel_management        2.8.4<br>
        [ ] rabbitmq_stomp                    2.8.4<br>
        [ ] rabbitmq_tracing                  2.8.4<br>
        [ ] rfc4627_jsonrpc                   2.8.4-git<br>
        [e] webmachine                        1.7.0-rmq2.8.4-hg<br>
<br>
        But it still failed to activate the plugins this time.<br>
<br>
        The log ends without activating the plugins, see below:<br>
<br>
        ...<br>
        -- message delivery logic ready<br>
        starting error log relay<br>
           ...done<br>
        starting networking<br>
        ...done<br>
        starting direct client<br>
           ...done<br>
        starting notify cluster nodes<br>
        ...done<br>
<br>
        broker running<br>
        ** Found 0 name clashes in code paths<br>
<br>
        RabbitMQ v2.8.4, Ubuntu 10.04<br>
<br>
        Thanks!<br>
<br>
        On Thu, Jan 24, 2013 at 4:26 PM, Simon MacMullen<br>
        &lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> &lt;mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;<br></div></div><div><div>
        &lt;mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> &lt;mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;&gt;&gt; wrote:<br>
<br>
             Ah - so you were using &quot;rabbitmqctl stop_app&quot; and &quot;rabbitmqctl<br>
             start_app&quot; - yes that would not work since they never halt the<br>
             Erlang VM. &quot;service rabbitmq-server restart&quot; would have worked<br>
             without a reboot.<br>
<br>
             I guess we should try to make that clearer.<br>
<br>
             Cheers, Simon<br>
<br>
<br>
             On 24/01/13 05:56, Alex Damian wrote:<br>
<br>
                 I finally got it working. Restarting and stopping the<br>
        server with<br>
                 rabbitmqctl did not work. So I rebooted then restarted<br>
        directly<br>
                 with the<br>
                 rabbitmq-server start command and this time it seemed<br>
        to load<br>
                 all the<br>
                 plugins including Mochiweb and I was able to open the admin<br>
                 webpage. I&#39;m<br>
                 not sure why it did not work immediately after the<br>
        plugins were<br>
                 enabled...however I&#39;m happy with this solution albeit<br>
        not ideal<br>
                 since it<br>
                 required a reboot.<br>
<br>
                 On Tuesday, January 22, 2013 5:23:24 PM UTC-5, Alex<br>
        Damian wrote:<br>
<br>
                      Hi<br>
<br>
                      I have followed all the instructions on<br></div></div>
        <a href="http://www.rabbitmq.com/____management.html" target="_blank">http://www.rabbitmq.com/____<u></u>management.html</a><br>
        &lt;<a href="http://www.rabbitmq.com/__management.html" target="_blank">http://www.rabbitmq.com/__<u></u>management.html</a>&gt;<br>
                 &lt;<a href="http://www.rabbitmq.com/__management.html" target="_blank">http://www.rabbitmq.com/__<u></u>management.html</a><br>
        &lt;<a href="http://www.rabbitmq.com/management.html" target="_blank">http://www.rabbitmq.com/<u></u>management.html</a>&gt;&gt;<br>
                      &lt;<a href="http://www.rabbitmq.com/____management.html" target="_blank">http://www.rabbitmq.com/____<u></u>management.html</a><br>
        &lt;<a href="http://www.rabbitmq.com/__management.html" target="_blank">http://www.rabbitmq.com/__<u></u>management.html</a>&gt;<div><div><br>
<br>
                 &lt;<a href="http://www.rabbitmq.com/__management.html" target="_blank">http://www.rabbitmq.com/__<u></u>management.html</a><br>
        &lt;<a href="http://www.rabbitmq.com/management.html" target="_blank">http://www.rabbitmq.com/<u></u>management.html</a>&gt;&gt;&gt; and enabled the plugin,<br>
                      but after than there is no webserver running<br>
        anywhere on my<br>
                 machine.<br>
                      There is no way to connect to Mochiweb at all. I have<br>
                 restarted the<br>
                      service and still nothing. I have also tried the<br>
                      &quot;http:///server-name/:15672/&quot; URL with &quot;localhost&quot;,<br>
                 127.0.0.1 and<br>
<br>
                      also the full server name, all of which are<br>
        /etc/hosts file. My<br>
                      vhost is the default &quot;/&quot;. Should I add something in my<br>
                 config file<br>
                      perhaps? I have also tried a /curl/ command and<br>
        still nothing.<br>
<br>
<br>
                      I am running on Fedora Core 17 with all latest libs<br>
                 including latest<br>
                      rabbitMQ sw. I have checked the listening ports on the<br>
                 server and i<br>
                      only see the AMQP one.<br>
                      Also I can run rabbitmq-server and rabbitmqctl without<br>
                 issues. I<br>
                      have also been able to create exchanges/queues via<br>
        rabbit.js on<br>
                      Node. However not having a proper admin tool is a bit<br>
                 drawback. I<br>
                      wonder why it&#39;s not possible to supply one like<br>
        (or enhance)<br>
                      rabbitmqctl. Seems to do the job just fine.<br>
<br>
                      Any help would be greatly appreciated!<br>
<br>
<br>
<br></div></div>
                 ______________________________<u></u>_____________________<br>
                 rabbitmq-discuss mailing list<br>
                 rabbitmq-discuss@lists.__<a href="http://rabbi__tmq.com" target="_blank">rabbi<u></u>__tmq.com</a><br>
        &lt;<a href="http://rabbitmq.com" target="_blank">http://rabbitmq.com</a>&gt;<br>
                 &lt;mailto:<a href="mailto:rabbitmq-discuss@" target="_blank">rabbitmq-discuss@</a>__<a href="http://lists.rabbitmq.com" target="_blank">lis<u></u>ts.rabbitmq.com</a><br>
        &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;&gt;<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>
        &lt;<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>&gt;<div>
<br>
<br>
<br>
        &lt;<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>
        &lt;<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>&gt;&gt;<br>
<br>
<br>
<br>
             --<br>
             Simon MacMullen<br>
             RabbitMQ, VMware<br></div>
             ______________________________<u></u>_____________________<br>
             rabbitmq-discuss mailing list<br>
             rabbitmq-discuss@lists.__<a href="http://rabbi__tmq.com" target="_blank">rabbi<u></u>__tmq.com</a> &lt;<a href="http://rabbitmq.com" target="_blank">http://rabbitmq.com</a>&gt;<br>
             &lt;mailto:<a href="mailto:rabbitmq-discuss@" target="_blank">rabbitmq-discuss@</a>__<a href="http://lists.rabbitmq.com" target="_blank">lis<u></u>ts.rabbitmq.com</a><br>
        &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;&gt;<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>
        &lt;<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>&gt;<div>
<br>
<br>
<br>
        &lt;<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>
        &lt;<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>&gt;&gt;<br>
<br>
<br>
<br>
<br>
        --<br>
<br>
        <a href="http://about.me/outhorand/bio" target="_blank">http://about.me/outhorand/bio</a><br>
<br>
<br>
<br></div><div>
        ______________________________<u></u>___________________<br>
        rabbitmq-discuss mailing list<br>
        rabbitmq-discuss@lists.__<a href="http://rabbitmq.com" target="_blank">rabbi<u></u>tmq.com</a><br>
        &lt;mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.rabbitmq.com</a>&gt;<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>
        &lt;<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>&gt;<br>
<br>
<br>
<br>
    --<br>
    Simon MacMullen<br>
    RabbitMQ, VMware<br>
<br>
<br>
<br>
<br></div><span><font color="#888888">
--<br>
<br>
<a href="http://about.me/outhorand/bio" target="_blank">http://about.me/outhorand/bio</a><br>
<br>
</font></span></blockquote><div><div>
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><p><a href="http://about.me/outhorand/bio" target="_blank">http://about.me/outhorand/bio</a></p>

</font></span></div>
</div><br><br clear="all"><div><br></div>-- <br><p><a href="http://about.me/outhorand/bio" target="_blank">http://about.me/outhorand/bio</a></p>