MySQL Forums
Forum List  »  NDB clusters

ndbd can't connect to mgm - ERROR 2805
Posted by: Alexandra
Date: April 28, 2006 07:03AM

Hi,

I'm trying to set up a basic configuration for MySQL Cluster - with only one storage node, one mgm node and one sql node (it's only for testing purpose of course).
Mgm node is running on a separate machine. SQL node seems to run properly too.
Now, I'm trying to run ndbd process on the same machine as SQL node is running (ip: 10.0.0.72) - and it ends with no error messages. What I did was checking the Cluster error log and here is what I found:

2006-04-28 14:36:00 [MgmSrvr] INFO -- Mgmt server state: nodeid 2 reserved for ip 10.0.0.72, m_reserved_nodes 0000000000000006.
2006-04-28 14:36:00 [MgmSrvr] INFO -- Mgmt server state: nodeid 2 freed, m_reserved_nodes 0000000000000002.
2006-04-28 14:36:00 [MgmSrvr] ALERT -- Node 2: Forced node shutdown completed. Occured during startphase 0. Initiated by signal 0. Caused by error 2805: 'Illegal file system path(Configuration error). Permanent error, external action needed'.

nodeid 2 is assigned for the only one ndbd node in the config.ini file for the cluster.

In the file ndb_1_out.log on the mgm node I have following message:

Unable to connect to our own ndb_mgmd (Error -1)
This is probably a bug.
NDB Cluster Management Server. Version 5.1.9 (beta)
Id: 1, Command port: 1186


What's more I somehow cannot use mgm client - I get the message below:

-- NDB Cluster -- Management Client --
ndb_mgm> show
Unable to connect with connect string: nodeid=0,localhost:1186
Retrying every 5 seconds. Attempts left: 2 1, failed.


Here are my configuration files:

config.ini on 10.0.0.71:
[NDBD DEFAULT]
NoOfReplicas=1
DataMemory=80M
IndexMemory=18M

[TCP DEFAULT]

[NDB_MGMD]
hostname=10.0.0.71
datadir=/mnt/disk/rso/rso7/mysql/mysql-cluster

[NDBD]
hostname=10.0.0.72
datadir=/mnt/disk/rso/rso7/mysql/data

[MYSQLD]
hostname=10.0.0.72
----------------------------------------------------

my.cnf on 10.0.0.72:
[MYSQLD]
ndbcluster
ndb-connectstring=10.0.0.71
basedir=/mnt/disk/rso/rso7/mysql
datadir=/mnt/disk/rso/rso7/mysql/data

[ndbd]
connect-string=10.0.0.71

[ndb_mgm]
connect-string=10.0.0.71

[ndb_mgmd]
datadir=/mnt/disk/rso/rso7/mysql/mysql-cluster

[MYSQL_CLUSTER]
ndb-connectstring=10.0.0.71

------------------------------------------------------


What might be wrong?



Edited 2 time(s). Last edit at 04/28/2006 07:14AM by Alexandra .

Options: ReplyQuote


Subject
Views
Written By
Posted
ndbd can't connect to mgm - ERROR 2805
10187
April 28, 2006 07:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.