List:Cluster« Previous MessageNext Message »
From:Magnus Svensson Date:August 3 2004 8:46am
Subject:Re: Fault ID: 2350 (ndbd: Could not fetch configuration/invalid
configuration)
View as plain text  
On Fri, 2004-07-30 at 11:18, Gowrynath Sivaganeshamoorthy wrote:
> folks,
> 
> I've downloaded mysql-4.1.4-beta-nightly-20040727 and installed, as
> described in the cluster for mysql users documentation on a linux
> (redhat 9, 2.4.20-8smp) system.
> 
> my config.ini:
> 
> [COMPUTER]
> Id:1
> HostName: localhost
> ByteOrder: Little
> 
> [MGM]
> Id:1
> ExecuteOnComputer: 1
> 
> [DB]
> Id: 2
> NoOfReplicas: 1
> ExecuteOnComputer: 1
> FileSystemPath: /export/home/gowry/MySQL/ndb_data1
> 
> [API]
> Id: 3
> ExecuteOnComputer: 1
> 
> [TCP DEFAULT]
> PortNumber: 10002
> 
> my Ndb.cfg:
> 
> nodeid=1
> host=127.0.0.1:2200

> 
> starting ndb_mgmd works, as it seems:
> 
> $ /usr/local/mysql/libexec/ndb_mgmd -c config.ini
> NDB Cluster Management Server. Version 3.5.0 (beta)
> Command port: 2200, Statistics port: 0
> NDB>
> 
> but when I try to start ndbd, the following happens:
> 
> $ /usr/local/mysql/libexec/ndbd
> Error handler shutting down system
> Error handler shutdown completed - exiting
> $

The Ndb.cfg from where you start your ndbd process must say nodeid=2, in
order to tell the MGM server(from which the config is fetched) that this
is node 2(which is a DB node) starting up.
Like this:

nodeid=2
host=127.0.0.1:2200


Best regards
Magnus 


> 
> the error.log says:
> 
> Date/Time: Friday 30 July 2004 - 11:16:10
> Type of error: error
> Message: Invalid Configuration fetched from Management Server
> Fault ID: 2350
> Problem data: Could not fetch configuration/invalid configuration
> Object of reference: Supplied node type(0) and config node type(2)
> don't match
> ProgramName: NDB Kernel
> ProcessID: 23410
> TraceFile: NDB_TraceFile_1.trace
> ***EOM***
> 
> the trace file looks like:
> 
> $ cat NDB_TraceFile_1.trace
> JAM CONTENTS up->down left->right ?=not block entry
> BLOCK   ADDR   ADDR   ADDR   ADDR   ADDR   ADDR   ADDR   ADDR
> BLOCK#0?000000 000000 000000 000000 000000 000000 000000 000000
>         000000 000000 000000 000000 000000 000000 000000 000000
>         [... zero's ...]
> 
> any idea how to fix this? seems like that the process can't handle
> the configuration it gets from the management server? is my
> configuration not sane enough or something?
> 
> thanks,
>  --g.
-- 
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com
Office: +46 709 164 491

Thread
Fault ID: 2350 (ndbd: Could not fetch configuration/invalid configuration)Gowrynath Sivaganeshamoorthy30 Jul
  • Re: Fault ID: 2350 (ndbd: Could not fetch configuration/invalidconfiguration)Magnus Svensson3 Aug