From: Andrew Morgan Date: October 4 2012 4:02pm Subject: RE: Problem with memcached List-Archive: http://lists.mysql.com/cluster/8409 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Maxime, could you please check the Cluster log (it should be located wit= h the ndb_mgmd) to see if there's evidence of the memcached trying to conne= ct? Otherwise, double check that the connect string is for the correct host= and port for the ndb_mgmd and that there are no firewall rules that would = block communication between these hosts. Regards, Andrew. Andrew Morgan | MySQL Principal Product Manager Mobile: +447833483595=20 Web: www.clusterdb.com United Kingdom ORACLE Corporation UK Ltd is a company incorporated in England & Wales | Co= mpany Reg. No. 1782505 | Reg. office: Oracle Parkway, Thames Valley Park, R= eading RG6 1RA=20 > -----Original Message----- > From: Maxime Th=E9bault [mailto:webmaster@stripped] > Sent: 04 October 2012 09:56 > To: cluster@stripped > Subject: Problem with memcached >=20 > Hello, >=20 > I try to configure memcached on my mysql cluster but i have an error. >=20 > Result of ndb_mgm -e show : > ndb_mgm -e show > Connected to Management Server at: 3.3.3.3:1186 Cluster Configuration > --------------------- > [ndbd(NDB)] 2 node(s) > id=3D3 @1.1.1.1 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0) > id=3D4 @2.2.2.2 (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master) >=20 > [ndb_mgmd(MGM)] 2 node(s) > id=3D1 @3.3.3.3 (mysql-5.5.22 ndb-7.2.6) > id=3D2 @4.4.4.4 (mysql-5.5.22 ndb-7.2.6) >=20 > [mysqld(API)] 14 node(s) > id=3D5 @2.2.2.2 (mysql-5.5.22 ndb-7.2.6) > id=3D6 @1.1.1.1 (mysql-5.5.22 ndb-7.2.6) > id=3D7 (not connected, accepting connect from any host) > id=3D8 (not connected, accepting connect from any host) > id=3D9 (not connected, accepting connect from any host) > id=3D10 (not connected, accepting connect from any host) > id=3D11 (not connected, accepting connect from any host) > id=3D12 (not connected, accepting connect from any host) > id=3D13 (not connected, accepting connect from any host) > id=3D14 (not connected, accepting connect from any host) > id=3D15 (not connected, accepting connect from any host) > id=3D16 (not connected, accepting connect from any host) > id=3D17 (not connected, accepting connect from any host) > id=3D18 (not connected, accepting connect from any host) >=20 > But when i execute the command from 1.1.1.1 (api node) : > memcached -E /usr/local/mysql/lib/ndb_engine.so -u mysql -e > "connectstring=3D3.3.3.3:1186;role=3Ddb-only;debug=3Dtrue" -vv -c 20 > (3.3.3.3 is the manager) >=20 > The result is : >=20 > main --> ndb_initialize() > main --> connect_to_primary_cluster() > 04-Oct-2012 10:54:42 CEST NDB Memcache 5.5.22-ndb-7.2.6 started [NDB > 7.2.6; MySQL 5.5.22] Contacting primary management server > (37.59.48.15:1186) ... > main --> ClusterConnectionPool::connect() FAILED. > Could not connect to NDB. Shutting down. > main --> ndb_destroy() > Failed to initialize instance. Error code: 255 >=20 > I try with localhost, without connectstring... >=20 > Can you help me ? >=20 > Many thanks ! >=20 >=20 >=20 >=20 > -- > MySQL Cluster Mailing List > For list archives: http://lists.mysql.com/cluster > To unsubscribe: http://lists.mysql.com/cluster >=20