Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

NDB_FS appears on the SHOW DATABASES; API command

From: Sebastien LELIEVRE <slelievre(at)tbs-internet.com>
Date: Mon Jul 23 2007 - 06:06:50 EDT


Hi everyone,

I'm experiencing some odd behaviour between API and DATA nodes.

Here as it goes :

Cluster Configuration



[ndbd(NDB)] 1 node(s)

id=4 @192.168.11.139 (Version: 5.1.20, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)

id=1 @192.168.11.139 (Version: 5.1.20)

[mysqld(API)] 2 node(s)

id=3 @192.168.11.139 (Version: 5.1.20) id=5 (not connected, accepting connect from 192.168.11.65)

config is as follows :

[NDB_MGMD DEFAULT]

[NDBD DEFAULT]

NoOfReplicas=1
DataMemory=128M
IndexMemory=32M
RedoBuffer=16M
MaxNoOfAttributes = 5000
MaxNoOfOrderedIndexes = 1024

Do you need help?X

[MYSQLD DEFAULT]

[TCP DEFAULT]

SendBufferMemory=1024K
ReceiveBufferMemory=256K

# Managment Node
[NDB_MGMD]

HostName=192.168.11.139
id=1
LogDestination=FILE:filename=/var/log/mysql/ndb_mgmd.log,maxsize=1000000,maxfiles=9

# Storage Nodes
[NDBD]

hostname=192.168.11.139
datadir=/var/lib/mysql
id=4

# API Nodes
[MYSQLD]

Id=3
hostname=192.168.11.139
[MYSQLD]

Id=5
hostname=192.168.11.65

And when I perform a SHOW DATABASES; from the MySQL CLuster API Node, here is what I get:

mysql> SHOW DATABASES;

+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| ndb_4_fs           |
| test               |
+--------------------+

4 rows in set (0.02 sec)

Obviously, the ndb_4_fs should be visible, but I can't figure what is causing this.

When I try this (from
http://dev.mysql.com/doc/refman/5.0/fr/information-schema.html to know which tables are ndbclustered) :
SELECT table_name, table_type, engine
FROM information_schema.tables
ORDER BY table_name DESC;

Do you need more help?X

I get this :

ERROR 1018 (HY000): Can't read dir of './ndb_4_fs/' (errno: 13)

mysql> SHOW WARNINGS;
+-------+------+---------------+
| Level | Code | Message |
+-------+------+---------------+
| Error | 1105 | Unknown error |
+-------+------+---------------+
1 row in set (0.00 sec)

I tried re-install the whole (tes, of course) cmuster but even after a fresh install, I come back at this point.

Do you know what may be causing all this mess? (fuzzy config, maybe?)

Best regards,

Sebastien LELIEVRE

slelievre@tbs-internet.com           Services to ISP
TBS-internet                   
http://www.TBS-internet.com

# cat /etc/mysql/my.cnf
[mysqld]

Can we help you?X

skip-innodb
skip-locking

log-output=FILE

thread_cache_size=52
key_buffer=160M
join_buffer=1M
table_cache=512

sort_buffer_size=1M
read_buffer_size=1M
read_rnd_buffer_size=768K

thread_concurrency=2
tmp_table_size = 64M
max_allowed_packet = 160M
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1

Received on Mon Jul 23 13:19:20 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:30:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library