When I tried to set it up,
root@mysql-firefallapi-08:/data/mysql# /etc/init.d/mysql bootstrap-pxc
- Bootstrapping Percona XtraDB Cluster database server mysqld * The server quit without updating PID file (/var/run/mysqld/mysqld.pid).
[fail]
root@mysql-firefallapi-08:/data/mysql#
looking in the error file, I get:
140605 20:39:15 mysqld_safe Starting mysqld daemon with databases from /data/mysql
140605 20:39:15 mysqld_safe Skipping wsrep-recover for empty datadir: /data/mysql
140605 20:39:15 mysqld_safe Assigning 00000000-0000-0000-0000-000000000000:-1 to wsrep_start_position
2014-06-05 20:39:15 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-06-05 20:39:15 0 [Note] WSREP: wsrep_start_position var submitted: ‘00000000-0000-0000-0000-000000000000:-1’
2014-06-05 20:39:15 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-06-05 20:39:15 25230 [ERROR] Can’t find messagefile ‘/opt/mysql/server-5.6/share/mysql/errmsg.sys’
2014-06-05 20:39:15 25230 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2014-06-05 20:39:15 25230 [Note] Plugin ‘FEDERATED’ is disabled.
2014-06-05 20:39:15 25230 [Note] InnoDB: The InnoDB memory heap is disabled
2014-06-05 20:39:15 25230 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-06-05 20:39:15 25230 [Note] InnoDB: Compressed tables use zlib 1.2.3.4
2014-06-05 20:39:15 25230 [Note] InnoDB: Using Linux native AIO
2014-06-05 20:39:15 25230 [Note] InnoDB: Using CPU crc32 instructions
2014-06-05 20:39:15 25230 [Note] InnoDB: Initializing buffer pool, size = 17.8G
2014-06-05 20:39:16 25230 [Note] InnoDB: Completed initialization of buffer pool
2014-06-05 20:39:16 25230 [Note] InnoDB: Highest supported file format is Barracuda.
2014-06-05 20:39:17 25230 [Note] InnoDB: 128 rollback segment(s) are active.
2014-06-05 20:39:17 25230 [Note] InnoDB: Waiting for purge to start
2014-06-05 20:39:17 25230 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.15-rel63.0 started; log sequence number 1349166538
2014-06-05 20:39:17 25230 [ERROR] Aborting
2014-06-05 20:39:17 25230 [Note] Binlog end
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘partition’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CHANGED_PAGES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_DELETED’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_METRICS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMPMEM’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMP_RESET’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_CMP’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_LOCKS’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘INNODB_TRX’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘XTRADB_RSEG’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘XTRADB_INTERNAL_HASH_TABLES’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘XTRADB_READ_VIEW’
2014-06-05 20:39:17 25230 [Note] Shutting down plugin ‘InnoDB’
2014-06-05 20:39:17 25230 [Note] InnoDB: FTS optimize thread exiting.
2014-06-05 20:39:17 25230 [Note] InnoDB: Starting shutdown…
2014-06-05 20:39:20 25230 [Note] InnoDB: Shutdown completed; log sequence number 1349166548
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘ARCHIVE’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘BLACKHOLE’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘MRG_MYISAM’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘CSV’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘MEMORY’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘MyISAM’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘sha256_password’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘mysql_old_password’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘mysql_native_password’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘wsrep’
2014-06-05 20:39:20 25230 [Note] Shutting down plugin ‘binlog’
2014-06-05 20:39:20 25230 [Note]
140605 20:39:20 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
root@mysql-firefallapi-08:/data/mysql#
What is the problem? Do I need to set wsrep_start_position? None of the example in the manual seem to set this.
Thanks,
Derek