2014-09-26 97 views
0

在我有這個錯誤文件。無法添加新節點到現有的加萊拉羣集

WSREP:wsrep_load():加載提供程序庫 '無'

,但在配置文件中/etc/mysql/config.d/galera.conf有這個

[mysqld] 
#mysql settings 
binlog_format=ROW 
default-storage-engine=innodb 
innodb_autoinc_lock_mode=2 
query_cache_size=0 
query_cache_type=0 
bind-address=0.0.0.0 
#galera settings 
wsrep_provider=/usr/lib/galera/libgalera_smm.so 
wsrep_cluster_name="pivotrac_cluster" 
wsrep_cluster_address="gcomm://192.168.1.113,192.168.1.119,192.168.1.126,192.168.1.129" 
wsrep_sst_method=rsync 
wsrep_sst_auth=geek:snape99 
wsrep_sst_donor='dot129' 
wsrep_provider_options=」gcache.size = 5G」 

和文件/ usr/lib/galera/libgalera_smm.so存在。

有什麼想法?

這裏是在日誌文件中培訓相關信息

140926 13:40:52 InnoDB: The InnoDB memory heap is disabled 
140926 13:40:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins 
140926 13:40:52 InnoDB: Compressed tables use zlib 1.2.8 
140926 13:40:52 InnoDB: Using Linux native AIO 
140926 13:40:52 InnoDB: Initializing buffer pool, size = 100.0G 
140926 13:40:57 InnoDB: Completed initialization of buffer pool 
140926 13:40:57 InnoDB: highest supported file format is Barracuda. 
140926 13:41:01 InnoDB: Waiting for the background threads to start 
140926 13:41:02 Percona XtraDB (http://www.percona.com) 5.5.38-MariaDB-35.2 started; log sequence number 1598129 
140926 13:41:02 [Note] Plugin 'FEEDBACK' is disabled. 
140926 13:41:02 [Note] Server socket created on IP: '0.0.0.0'. 
140926 13:41:02 [Note] Event Scheduler: Loaded 0 events 
140926 13:41:02 [Note] WSREP: Read nil XID from storage engines, skipping position init 
140926 13:41:02 [Note] WSREP: wsrep_load(): loading provider library 'none' 
140926 13:41:02 [Note] mysqld: ready for connections. 
Version: '5.5.39-MariaDB-1~trusty-wsrep' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution, wsrep_25.10.r4014 

一些筆記 該服務器的Ubuntu 14.04的人則12.04(我希望能在一個時間來升級他們的操作系統之一)

我還可以登錄到用root用戶名和密碼MariaDB的服務器..

希望有人能幫助我在這..感謝所有

回答

0

我昨天遇到同樣的問題。有兩個地方需要檢查:

  1. 確保/usr/lib/galera/libgalera_smm.so存在COS,將在/usr/lib64/galera/libgalera_smm.so位於針對x64文件平臺

  2. 將這些設置/etc/mysql/config.d/server.cnf代替//etc/mysql/config.d/galera.cnf

希望它能幫助。

+0

謝謝你對此的幫助,自從它發生以來它一直是個謎。我確實停止了重新安裝,並且這也起作用了。儘管我會保留這些筆記,因爲本月晚些時候我將重建兩臺服務器。 – skrite 2014-11-20 14:39:51

1

galera.conf應該按順序命名爲galera.cnf爲MySQL加載它,假設您的主MySQL配置(/etc/mysql/my.cnf)具有!includedir /etc/mysql/config.d/

+0

我不敢相信我犯了這個愚蠢的錯誤。非常感謝給我指針。如果你曾經在新西蘭,我欠你一個巧克力魚(這裏是感謝的標準單位);) – 2016-07-26 22:28:45

相關問題