środa, kwietnia 30, 2014

Case when EMS FT cluster fails to start

[ems1]
[ems1] TIBCO Enterprise Message Service.
[ems1] Copyright 2003-2013 by TIBCO Software Inc.
[ems1] All rights reserved.
[ems1]
[ems1] Version 8.0.0 V9 6/7/2013
[ems1]
[ems1] 2014-04-30 16:59:43.262 Process started from 'C:\tibco\ems\8.0\bin\tibemsd.exe'.
[ems1] 2014-04-30 16:59:43.262 Process Id: 5248
[ems1] 2014-04-30 16:59:43.262 Hostname: localhost
[ems1] 2014-04-30 16:59:43.262 Hostname IP address: [fe80::9550:65b9:f97:8d4e%27]
[ems2]
[ems2] TIBCO Enterprise Message Service.
[ems2] Copyright 2003-2013 by TIBCO Software Inc.
[ems2] All rights reserved.
[ems2]
[ems2] Version 8.0.0 V9 6/7/2013
[ems2]
[ems2] 2014-04-30 16:59:43.262 Process started from 'C:\tibco\ems\8.0\bin\tibemsd.exe'.
[ems2] 2014-04-30 16:59:43.262 Process Id: 5260
[ems2] 2014-04-30 16:59:43.262 Hostname: localhost
[ems2] 2014-04-30 16:59:43.262 Hostname IP address: [fe80::9550:65b9:f97:8d4e%27]
[ems2] 2014-04-30 16:59:43.262 Hostname IP address: 192.168.27.1
[ems2] 2014-04-30 16:59:43.262 Reading configuration from 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/tibemsd2.conf'.
[ems1] 2014-04-30 16:59:43.262 Hostname IP address: 192.168.27.1
[ems1] 2014-04-30 16:59:43.262 Reading configuration from 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/tibemsd1.conf'.
[ems1] 2014-04-30 16:59:43.475 Logging into file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore/logfile'
[ems2] 2014-04-30 16:59:43.475 Logging into file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore/logfile'
[ems1] 2014-04-30 16:59:43.506 Server name: 'EMS-SERVER-DC2'.
[ems2] 2014-04-30 16:59:43.506 Server name: 'EMS-SERVER-DC2'.
[ems1] 2014-04-30 16:59:43.506 Storage Location: 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore'.
[ems2] 2014-04-30 16:59:43.506 Storage Location: 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore'.
[ems1] 2014-04-30 16:59:43.506 Routing is enabled.
[ems1] 2014-04-30 16:59:43.506 Authorization is disabled.
[ems2] 2014-04-30 16:59:43.506 Routing is enabled.
[ems2] 2014-04-30 16:59:43.506 Authorization is disabled.
[ems1] 2014-04-30 16:59:48.124 Active server 'tcp://localhost:8222' not found.
[ems1] 2014-04-30 16:59:48.124 Continuing as active server.
[ems2] 2014-04-30 16:59:48.124 Active server 'tcp://localhost:7222' not found.
[ems2] 2014-04-30 16:59:48.124 Continuing as active server.
[ems2] 2014-04-30 16:59:48.125 Accepting connections on tcp://[::]:8222.
[ems2] 2014-04-30 16:59:48.125 Accepting connections on tcp://0.0.0.0:8222.
[ems1] 2014-04-30 16:59:48.125 Accepting connections on tcp://[::]:7222.
[ems1] 2014-04-30 16:59:48.125 Accepting connections on tcp://0.0.0.0:7222.
[ems2] 2014-04-30 16:59:48.156 Recovering state, please wait.
[ems1] 2014-04-30 16:59:48.156 Recovering state, please wait.
[ems2] 2014-04-30 16:59:48.505 ERROR: Unable to open store file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore\meta.db', file may be locked.
[ems1] 2014-04-30 16:59:48.596 ERROR: Unable to open store file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore\async-msgs.db', file may be locked.
[ems1] 2014-04-30 16:59:48.596 ERROR: Unable to open store file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore\sync-msgs.db', file may be locked.
[ems1] 2014-04-30 16:59:48.596 Server is in standby mode for 'tcp://localhost:8222'.
[ems1] 2014-04-30 17:00:18.569 Missing heartbeats from primary server 'tcp://localhost:8222'.
[ems1] 2014-04-30 17:00:18.569 Server activating on failure of 'tcp://localhost:8222'.
[ems1] 2014-04-30 17:00:18.569 Server rereading configuration.
[ems1] 2014-04-30 17:00:18.662 Recovering state, please wait.
[ems1] 2014-04-30 17:00:18.662 ERROR: Unable to open store file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore\async-msgs.db', file may be locked.
[ems1] 2014-04-30 17:00:18.859 ERROR: Unable to open store file 'C:/tibco/TIBCO_HOME/tibco/cfgmgmt/ems/data/datastore\sync-msgs.db', file may be locked.
[ems1] 2014-04-30 17:00:18.874 ERROR: Server failed to recover state.

It is wise not to start EMS FT instances in the same time. Always add random sleep.

0 komentarze: