Hi,
1 node is not starting with the following error:
Starting MySQL (Percona XtraDB Cluster)… ERROR! The server quit without updating PID file (/var/lib/mysql/tree.flyheight.com.pid).
ERROR! MySQL (Percona XtraDB Cluster) server startup failed!
Here is the error log:
cat /var/log/mysql.log
150408 16:11:10 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150408 16:11:10 mysqld_safe WSREP: Running position recovery with --log_error=‘/var/lib/mysql/wsrep_recovery.5CgAuw’ --pid-file=‘/var/lib/mysql/tree.flyheight.com-recover.pid’
2015-04-08 16:11:11 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
150408 16:11:31 mysqld_safe WSREP: Failed to recover position: 2015-04-08 16:11:11 14080 [Warning] Using unique option prefix innodb_log_group_home instead of innodb-log-group-home-dir is deprecated and will be removed in a future release. Please use the full name instead. 2015-04-08 16:11:11 14080 [Note] Plugin ‘FEDERATED’ is disabled. 2015-04-08 16:11:11 14080 [Note] InnoDB: Using atomics to ref count buffer pool pages 2015-04-08 16:11:11 14080 [Note] InnoDB: The InnoDB memory heap is disabled 2015-04-08 16:11:11 14080 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2015-04-08 16:11:11 14080 [Note] InnoDB: Memory barrier is not used 2015-04-08 16:11:11 14080 [Note] InnoDB: Compressed tables use zlib 1.2.3 2015-04-08 16:11:11 14080 [Note] InnoDB: Using Linux native AIO 2015-04-08 16:11:11 14080 [Note] InnoDB: Using CPU crc32 instructions 2015-04-08 16:11:11 14080 [Note] InnoDB: Initializing buffer pool, size = 108.0G 2015-04-08 16:11:15 14080 [Note] InnoDB: Completed initialization of buffer pool 2015-04-08 16:11:16 14080 [Note] InnoDB: Setting log file /var/lib/mysql/ib_logfile101 size to 512 MB InnoDB: Progress in MB: 100 200 300 400 500 2015-04-08 16:11:20 14080 [Note] InnoDB: Setting log file /var/lib/mysql/ib_logfile1 size to 512 MB InnoDB: Progress in MB: 100 200 300 400 500 2015-04-08 16:11:24 14080 [Note] InnoDB: Renaming log file /var/lib/mysql/ib_logfile101 to /var/lib/mysql/ib_logfile0 2015-04-08 16:11:24 14080 [Warning] InnoDB: New log files created, LSN=342478053398 2015-04-08 16:11:24 14080 [Note] InnoDB: Highest supported file format is Barracuda. InnoDB: Transaction 13230725930 was in the XA prepared state. InnoDB: 1 transaction(s) which must be rolled back or cleaned up InnoDB: in total 0 row operations to undo InnoDB: Trx id counter is 13230743808 2015-04-08 16:11:26 14080 [Note] InnoDB: 128 rollback segment(s) are active. InnoDB: Starting in background the rollback of uncommitted transactions 2015-04-08 16:11:26 7fcf68280700 InnoDB: Rollback of non-prepared transactions completed 2015-04-08 16:11:26 14080 [Note] InnoDB: Waiting for purge to start 2015-04-08 16:11:26 14080 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.20-68.0 started; log sequence number 342478053900 2015-04-08 16:11:26 14080 [Warning] InnoDB: Skipping buffer pool dump/restore during wsrep recovery. 2015-04-08 16:11:26 7febc83567e0 InnoDB: Starting recovery for XA transactions… 2015-04-08 16:11:26 7febc83567e0 InnoDB: Transaction 13230725930 in prepared state after recovery 2015-04-08 16:11:26 7febc83567e0 InnoDB: Transaction contains changes to 1 rows 2015-04-08 16:11:26 7febc83567e0 InnoDB: 1 transactions in prepared state after recovery 2015-04-08 16:11:26 14080 [Note] Found 1 prepared transaction(s) in InnoDB 2015-04-08 16:11:26 14080 [ERROR] Found 1 prepared transactions! It means that mysqld was not shut down properly last time and critical recovery information (last binlog or tc.log file) was manually deleted after a crash. You have to start mysqld with --tc-heuristic-recover switch to commit or rollback pending transactions. 2015-04-08 16:11:26 14080 [ERROR] Aborting 2015-04-08 16:11:26 14080 [Note] Binlog end 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘partition’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘ARCHIVE’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘BLACKHOLE’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CHANGED_PAGES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_DELETED’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_METRICS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMPMEM’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMP_RESET’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_CMP’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_LOCKS’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘INNODB_TRX’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘XTRADB_RSEG’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘XTRADB_INTERNAL_HASH_TABLES’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘XTRADB_READ_VIEW’ 2015-04-08 16:11:26 14080 [Note] Shutting down plugin ‘InnoDB’ 2015-04-08 16:11:26 14080 [Note] InnoDB: FTS optimize thread exiting. 2015-04-08 16:11:26 14080 [Note] InnoDB: Starting shutdown… 2015-04-08 16:11:31 14080 [Note] InnoDB: Shutdown completed; log sequence number 342478053910 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘CSV’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘MyISAM’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘MRG_MYISAM’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘MEMORY’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘sha256_password’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘mysql_old_password’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘mysql_native_password’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘wsrep’ 2015-04-08 16:11:31 14080 [Note] Shutting down plugin ‘binlog’ 2015-04-08 16:11:31 14080 [Note] /usr/sbin/mysqld: Shutdown complete
Appreciate anyone’s help