Greetings!

I am a newb to RabbitMQ and the whole Erlang thing :)

I compiled from source and installed RabbitMQ on my server (an Amazon EC2
instance). It was configured to run with CouchDB.

After that I tried to upgrade by using apt-get install. It did warn me that
it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since
my database was different, it will take a backup but old settings will be
lost. I was fine with it.

Now rabbitmq-server does not start, complaining

Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
Starting rabbitmq-server: FAILED - 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
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried apt-get remove rabbitmq-server and manually deleted the directory
/var/lib/rabbitmq and then again tried to do apt-get install but it gives
the same error.

Any help will be much appreciated!

startup logs are ...

# cat /var/log/rabbitmq/startup_err
Error: {node_start_failed,normal}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


# cat /var/log/rabbitmq/startup_log
Starting all nodes...
Starting node rabbit at ip-10-252-17-24...
{error_logger,{{2012,2,20},{21,12,19}},"Protocol: ~p: register error:
~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}
{error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}




regards,
Abhishek Singh Bailoo,
Platform Team
Knowlus, FreeSWITCH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120221/499e5cd4/attachment.htm>

Search Discussions

  • James Aimonetti at Feb 20, 2012 at 9:28 pm
    Salient error: {error,duplicate_name}

    Another rabbitmq is running. Check your process list. Perhaps you have a
    monit/bluepill type watchdog restarting it?

    On 02/20/2012 01:21 PM, Abhishek Singh Bailoo wrote:
    Greetings!

    I am a newb to RabbitMQ and the whole Erlang thing :)

    I compiled from source and installed RabbitMQ on my server (an Amazon EC2
    instance). It was configured to run with CouchDB.

    After that I tried to upgrade by using apt-get install. It did warn me that
    it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since
    my database was different, it will take a backup but old settings will be
    lost. I was fine with it.

    Now rabbitmq-server does not start, complaining

    Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
    Starting rabbitmq-server: FAILED - 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
    Errors were encountered while processing:
    rabbitmq-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried apt-get remove rabbitmq-server and manually deleted the directory
    /var/lib/rabbitmq and then again tried to do apt-get install but it gives
    the same error.

    Any help will be much appreciated!

    startup logs are ...

    # cat /var/log/rabbitmq/startup_err
    Error: {node_start_failed,normal}

    Crash dump was written to: erl_crash.dump
    Kernel pid terminated (application_controller)
    ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


    # cat /var/log/rabbitmq/startup_log
    Starting all nodes...
    Starting node rabbit at ip-10-252-17-24...
    {error_logger,{{2012,2,20},{21,12,19}},"Protocol: ~p: register error:
    ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}
    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
    {error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
    {"Kernel pid
    terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}




    regards,
    Abhishek Singh Bailoo,
    Platform Team
    Knowlus, FreeSWITCH.




    _______________________________________________
    rabbitmq-discuss mailing list
    rabbitmq-discuss at lists.rabbitmq.com
    https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

    - --
    James Aimonetti
    Distributed Systems Engineer / DJ MC_

    2600hz | http://2600hz.com
    sip:james at 2600hz.com
    tel: 415.886.7905
  • Abhishek Singh Bailoo at Feb 21, 2012 at 12:24 pm
    Thanks James! My old rabbitmq-server was still running!

    I stopped it, removed everything and apt-get install works just fine. Along
    the way, I picked up some commands using rabbitmqctl :)

    Cheers!

    regards,
    Abhishek Singh Bailoo,
    Platform Team
    Knowlus, FreeSWITCH.Message: 27

    Date: Mon, 20 Feb 2012 13:28:35 -0800
    From: James Aimonetti <james@2600hz.com>
    Subject: Re: [rabbitmq-discuss] Starting rabbitmq-server: FAILED
    To: <rabbitmq-discuss@lists.rabbitmq.com>
    Message-ID: <4f42bb03.9030403@2600hz.com>
    Content-Type: text/plain; charset="ISO-8859-1"

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Salient error: {error,duplicate_name}

    Another rabbitmq is running. Check your process list. Perhaps you have a
    monit/bluepill type watchdog restarting it?

    On 02/20/2012 01:21 PM, Abhishek Singh Bailoo wrote:
    Greetings!

    I am a newb to RabbitMQ and the whole Erlang thing :)

    I compiled from source and installed RabbitMQ on my server (an Amazon EC2
    instance). It was configured to run with CouchDB.

    After that I tried to upgrade by using apt-get install. It did warn me that
    it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since
    my database was different, it will take a backup but old settings will be
    lost. I was fine with it.

    Now rabbitmq-server does not start, complaining

    Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
    Starting rabbitmq-server: FAILED - 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
    Errors were encountered while processing:
    rabbitmq-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried apt-get remove rabbitmq-server and manually deleted the directory
    /var/lib/rabbitmq and then again tried to do apt-get install but it gives
    the same error.

    Any help will be much appreciated!

    startup logs are ...

    # cat /var/log/rabbitmq/startup_err
    Error: {node_start_failed,normal}

    Crash dump was written to: erl_crash.dump
    Kernel pid terminated (application_controller)
    ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

    # cat /var/log/rabbitmq/startup_log
    Starting all nodes...
    Starting node rabbit at ip-10-252-17-24...
    {error_logger,{{2012,2,20},{21,12,19}},"Protocol: ~p: register error:
    ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}

    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}

    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}

    {error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
    {"Kernel pid
    terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}



    regards,
    Abhishek Singh Bailoo,
    Platform Team
    Knowlus, FreeSWITCH.




    _______________________________________________
    rabbitmq-discuss mailing list
    rabbitmq-discuss at lists.rabbitmq.com
    https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120221/f581062d/attachment.htm>
  • Rikesh Gupta at Mar 16, 2013 at 7:42 am
    how do i stop any previous rabbitmq if running...


    On Tuesday, February 21, 2012 2:51:47 AM UTC+5:30, Abhishek Singh Bailoo
    wrote:
    Greetings!

    I am a newb to RabbitMQ and the whole Erlang thing :)

    I compiled from source and installed RabbitMQ on my server (an Amazon EC2
    instance). It was configured to run with CouchDB.

    After that I tried to upgrade by using apt-get install. It did warn me
    that it was upgrading from lesser than version 1.5.4 to version 1.6.0 and
    since my database was different, it will take a backup but old settings
    will be lost. I was fine with it.

    Now rabbitmq-server does not start, complaining

    Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
    Starting rabbitmq-server: FAILED - 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
    Errors were encountered while processing:
    rabbitmq-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried apt-get remove rabbitmq-server and manually deleted the directory
    /var/lib/rabbitmq and then again tried to do apt-get install but it gives
    the same error.

    Any help will be much appreciated!

    startup logs are ...

    # cat /var/log/rabbitmq/startup_err
    Error: {node_start_failed,normal}

    Crash dump was written to: erl_crash.dump
    Kernel pid terminated (application_controller)
    ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


    # cat /var/log/rabbitmq/startup_log
    Starting all nodes...
    Starting node rabbit at ip-10-252-17-24...
    {error_logger,{{2012,2,20},{21,12,19}},"Protocol: ~p: register error:
    ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}

    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}

    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}

    {error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
    {"Kernel pid
    terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}




    regards,
    Abhishek Singh Bailoo,
    Platform Team
    Knowlus, FreeSWITCH.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130316/98609f3e/attachment.htm>
  • Tim Watson at Mar 16, 2013 at 11:32 am
    You should issue the command like so:


    'sudo rabbitmqctl stop'


    Version 1.6 is ancient - use should consider downloading 3.0.4 from the website an installing that instead. Rea the upgrade instructions from the release notes carefully though.


    Cheers,
    Tim


    On 16 Mar 2013, at 07:42, Rikesh Gupta wrote:

    how do i stop any previous rabbitmq if running...

    On Tuesday, February 21, 2012 2:51:47 AM UTC+5:30, Abhishek Singh Bailoo wrote:
    Greetings!

    I am a newb to RabbitMQ and the whole Erlang thing :)

    I compiled from source and installed RabbitMQ on my server (an Amazon EC2 instance). It was configured to run with CouchDB.

    After that I tried to upgrade by using apt-get install. It did warn me that it was upgrading from lesser than version 1.5.4 to version 1.6.0 and since my database was different, it will take a backup but old settings will be lost. I was fine with it.

    Now rabbitmq-server does not start, complaining

    Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
    Starting rabbitmq-server: FAILED - 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
    Errors were encountered while processing:
    rabbitmq-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried apt-get remove rabbitmq-server and manually deleted the directory /var/lib/rabbitmq and then again tried to do apt-get install but it gives the same error.

    Any help will be much appreciated!

    startup logs are ...

    # cat /var/log/rabbitmq/startup_err
    Error: {node_start_failed,normal}

    Crash dump was written to: erl_crash.dump
    Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})


    # cat /var/log/rabbitmq/startup_log
    Starting all nodes...
    Starting node rabbit at ip-10-252-17-24...
    {error_logger,{{2012,2,20},{21,12,19}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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,2,20},{21,12,19}},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.10.0>]},{messages,[]},{links,[#Port<0.107>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,484}],[]]}
    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
    {error_logger,{{2012,2,20},{21,12,19}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
    {error_logger,{{2012,2,20},{21,12,19}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
    {"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}




    regards,
    Abhishek Singh Bailoo,
    Platform Team
    Knowlus, FreeSWITCH.

    _______________________________________________
    rabbitmq-discuss mailing list
    rabbitmq-discuss at lists.rabbitmq.com
    https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130316/9d4a60e5/attachment.htm>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedFeb 20, '12 at 9:21p
activeMar 16, '13 at 11:32a
posts5
users4
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2022 Grokbase