Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1562

sql node do not restart after ndb_restore (no replies)

$
0
0
Hi,

I did a restore after an error whoe was almost impossible to recover. I use ma lasted mackup to recover using: ndb_restore -r -m -n ID -B ID I did it on my 4 nodes. In the mng, everything looks ok. If I call ndb_show_tables, I see a lot of stuff.

Now, I started my sql node. Boom! They can't start.I got:

Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/sql02.cubiculestudio.com.pid).

/usr/local/mysql/bin/mysqld: Incorrect information in file: './mysql/user.frm'
2014-11-21 20:10:29 5265 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist


I didn't change anything on my slq Node. So then, I run ./scripts/mysql_install_db --user=mysql

I tryed again to start the server and it start!! Problem: I can't see any of my DBS on all data node. If I create a new DB with some ndbcluster engin table, I can see those table using ndb_show_tables. Bit If I look using the second sql node, I can't see the new DB created.

If look like my sql node can't update.

Here the error log after all that:

2014-11-21 23:00:47 2551 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.14-ndb-7.3.3-cluster-gpl' socket: '/tmp/mysql.sock' port: 3306 MySQL Cluster Community Server (GPL)
2014-11-21 23:00:47 2551 [Note] NDB Binlog: DISCOVER TABLE Event: REPL$mysql/ndb_schema
2014-11-21 23:00:47 2551 [Note] NDB Binlog: logging ./mysql/ndb_schema (UPDATED,USE_WRITE)
2014-11-21 23:00:47 2551 [Note] NDB Binlog: DISCOVER TABLE Event: REPL$mysql/ndb_apply_status
2014-11-21 23:00:47 2551 [Note] NDB Binlog: logging ./mysql/ndb_apply_status (UPDATED,USE_WRITE)
2014-11-21 23:00:47 2551 [Note] NDB: Cleaning stray tables from database 'information_schema'
2014-11-21 23:00:47 2551 [Note] NDB: Cleaning stray tables from database 'ndbinfo'
2014-11-21 23:00:47 2551 [Note] NDB: Cleaning stray tables from database 'performance_schema'
2014-11-21 23:00:47 2551 [Note] NDB: Cleaning stray tables from database 'test'
2014-11-21 23:00:47 2551 [Note] NDB: Discovered remaining database 'test'
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_tables_priv_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.db_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_db_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.user_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.tables_priv_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_columns_priv_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_procs_priv_backup, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_index_stat_head, discovering...
2014-11-21 23:00:47 2551 [Note] NDB: missing frm for mysql.ndb_index_stat_sample, discovering...
2014-11-21 23:00:48 2551 [Note] NDB: missing frm for mysql.ndb_user_backup, discovering...
2014-11-21 23:00:48 2551 [Note] NDB: missing frm for mysql.ndb_proxies_priv_backup, discovering...
2014-11-21 23:00:48 [NdbApi] INFO -- Flushing incomplete GCI:s < 4777/19
2014-11-21 23:00:48 [NdbApi] INFO -- Flushing incomplete GCI:s < 4777/19
2014-11-21 23:00:48 2551 [Note] NDB Binlog: starting log at epoch 4777/19
2014-11-21 23:00:48 2551 [Note] NDB Binlog: ndb tables writable


Thanks for your help!

PS, I run (mysql-5.6.21 ndb-7.3.7)

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>