Article Content
Article Number | 000030934 |
Applies To | RSA Product Set: Security Analytics RSA Product/Service Type: Log Collector RSA Version/Condition: 10.3.x, 10.4.x, 10.5.x Platform: CentOS Platform (Other): RabbitMQ O/S Version: EL6 |
Issue | RabbitMQ service does not start on the Log Collector after upgrading as the mnesia database has been corrupted. As soon as the RabbitMQ service is started, it stops and shows the following error in the /var/log/rabbitmq/sa@localhost.log file: starting file handle cache server ...done starting worker pool ...done starting database ...BOOT ERROR: FAILED Reason: {error,previous_upgrade_failed} Stacktrace: [{rabbit_upgrade,apply_upgrades,1}, {rabbit_upgrade,with_upgrade_graph,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}] {"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}}"} |
Workaround | An interim workaround that fixes the problem would be to move the contents of /var/lib/rabbitmq/mnesia/sa@localhost and the sa@localhost-upgrade-backup folder to another location. CAUTION: All persistent messages and broker configurations (such as persistent queues, exchanges, and users) will be lost through this workaround. Follow the steps below to perform the workaround.
|