| Bug #47000 | error "ndb_mgmd: unknown option '--~'" while starting the mgmt nodes. | ||
|---|---|---|---|
| Submitted: | 31 Aug 2009 5:29 | Modified: | 31 Aug 2009 8:23 |
| Reporter: | Manoj Burande | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
| Version: | MySQL 5.1.34-ndb-7.0.6 | OS: | Linux (Fedora 10) |
| Assigned to: | CPU Architecture: | Any | |
[31 Aug 2009 6:29]
Sveta Smirnova
Thank you for the report. I can not repeat described behavior. Also it looks like you have some invisible character in the configuration file. Please attach configuration file as attachment to the bug report, so we can test if this is the case.
[31 Aug 2009 7:47]
Manoj Burande
Hi Sveta Smirnova , Issue has been resolved from my side. Thanks for your reply.
[31 Aug 2009 8:23]
Sveta Smirnova
Thank you for the feedback. Closed as "Can't repeat" because last comment.

Description: [root@ns mysql-cluster]# vim config.ini [tcp default] portnumber=2202 # This the default; however, you can use any port that is free # for all the hosts in the cluster # Note: It is recommended that you do not specify the port # number at all and allow the default value to be used instead [ndb_mgmd default] DataDir=/var/lib/mysql-cluster [ndb_mgmd] hostname=192.168.1.107 id=1 [ndb_mgmd] hostname=192.168.1.125 id=2 [ndbd default] noofreplicas=2 LockPagesInMainMemory=1 DataMemory=3072M IndexMemory=384M NoOfFragmentLogFiles=300 DataDir=/usr/local/mysql/data MaxNoOfConcurrentOperations=100000 TimeBetweenGlobalCheckpoints=1000 TimeBetweenEpochs=200 DiskCheckpointSpeed=10M DiskCheckpointSpeedInRestart=100M RedoBuffer=32M MaxNoOfTables=1024 [ndbd] hostname=192.168.1.107 id=3 [ndbd] hostname=192.168.1.125 id=4 # SQL NODE / API NODE PARAMETERS [mysqld] id=7 hostname=192.168.1.107 [mysqld] id=6 hostname=192.168.1.125 Whenever I tries to start the "ndb_mgmd" I got the error message as, [root@ns mysql-cluster]# ndb_mgmd -f /var/lib/mysql-cluster/config.ini ndb_mgmd: unknown option '--~' Please help me. How to repeat: [root@ns mysql-cluster]# ndb_mgmd -f /var/lib/mysql-cluster/config.ini