[rabbitmq-discuss] Should I upgrade all clients if I upgrade the server to 2.2.0

Jon Brisbin jon.brisbin at npcinternational.com
Tue Nov 30 14:54:33 GMT 2010


On Nov 30, 2010, at 8:38 AM, Matthew Sackman wrote:

> Certainly should have done. Can you send us the logs and error message -
> you said "the broker wouldn't start" - with what error? It's sounding as
> if something's gone wrong.

The log file was huge (225MB), so I just excerpted it, the apt log, and a console transcript that shows the startup_[err|log]:

Apt log...

Setting up rabbitmq-server (2.2.0-1) ...
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up rabbitmq-server (2.2.0-1) ...
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
Press return to continue.

Trying to start the broker manually...

+-( ~ ):> sudo service rabbitmq-server start
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
rabbitmq-server.

+-( ~ ):> cat /var/log/rabbitmq/startup_err 
Erlang has closed
Error: {node_start_failed,normal}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}})

+-( ~ ):> cat /var/log/rabbitmq/startup_log 
Starting all nodes...
Starting node rabbit at warehouse2...
Activating RabbitMQ plugins ...
0 plugins activated:


+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +-------+
|                   |
| RabbitMQ  +---+   |
|           |   |   |
|   v2.2.0  +---+   |
|                   |
+-------------------+
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
Licensed under the MPL.  See http://www.rabbitmq.com/

node           : rabbit at warehouse2
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.2.0/sbin/../ebin/rabbit.app
home dir       : /var/lib/rabbitmq
cookie hash    : LEz6QvNGm+HR8egGn/MvzQ==
log            : /var/log/rabbitmq/rabbit at warehouse2.log
sasl log       : /var/log/rabbitmq/rabbit at warehouse2-sasl.log
database dir   : /var/lib/rabbitmq/mnesia/rabbit at warehouse2
erlang version : 5.7.4

starting file handle cache server                                     ...done
starting worker pool                                                  ...done
starting database                                                     ...BOOT ERROR: FAILED
Reason: {error,{schema_mismatch,[add_ip_to_listener,add_queue_ttl,
                                 hash_passwords,remove_user_scope],
                                []}}
Stacktrace: [{rabbit_mnesia,ensure_version_ok,1},
             {rabbit_mnesia,init_db,2},
             {rabbit_mnesia,init,0},
             {rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
             {rabbit,run_boot_step,1},
             {rabbit,'-start/2-lc$^0/1-0-',1},
             {rabbit,start,2},
             {application_master,start_it_old,4}]
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}}"}

From the log:

=ERROR REPORT==== 30-Nov-2010::08:17:12 ===
FAILED
Reason: {error,{schema_mismatch,[add_ip_to_listener,add_queue_ttl,
                                 hash_passwords,remove_user_scope],
                                []}}
Stacktrace: [{rabbit_mnesia,ensure_version_ok,1},
             {rabbit_mnesia,init_db,2},
             {rabbit_mnesia,init,0},
             {rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
             {rabbit,run_boot_step,1},
             {rabbit,'-start/2-lc$^0/1-0-',1},
             {rabbit,start,2},
             {application_master,start_it_old,4}]

=INFO REPORT==== 30-Nov-2010::08:17:13 ===
    application: rabbit
    exited: {bad_return,{{rabbit,start,[normal,[]]},
                         {'EXIT',{rabbit,failure_during_boot}}}}
    type: permanent


Jon Brisbin
Portal Webmaster
NPC International, Inc.





More information about the rabbitmq-discuss mailing list