MySQL Cluster Manager (MCM) Agent (mcmd) Fails to Start or MCM CLI Not Working (Doc ID 1993684.1)

Last updated on AUGUST 03, 2016

Applies to:

MySQL Cluster - Version 7.0 and later
Information in this document applies to any platform.

Symptoms

MySQL Cluster Manager (MCM) Agent (mcmd) crashed and is unable to be started.

Errors seen so far:

2015-03-25 14:23:34.932: (message) [T0x1c5f010 chass]: Setting locale directory to /apps/mysql/mcm-1.3.4/share/locale
2015-03-25 14:23:34.933: (message) [T0x1c5f010 chass]: Loading MySQL Cluster Manager 1.3.4 plugin (64bit)
2015-03-25 14:23:34.937: (warning) [T0x1c5f010 chass]: verify_rep_checksum actual checksum 00d8aa818eb4468582c4f21beb515953 disk checksum 8001219902d1dd90e4338e4195e8ca6c

2015-03-25 14:23:34.938: (warning) [T0x1c5f010 chass]: The agent encountered fatal error 1010: Checksum error for repository directory
2015-03-25 14:23:35.938: (critical) chassis-mainloop.c:270: applying config of plugin manager failed
2015-03-25 14:23:35.938: (critical) Failure from chassis_mainloop. Shutting down.
2015-03-25 14:23:35.938: (message) Initiating shutdown, requested from /export/home/pb2/build/sb_0-14473416-1424341799.19/cluster-manager-1.3.4-release-export-7620132/plugins/manager/mcmd-cli.c:678
2015-03-25 14:23:35.938: (message) Shutting down normally. Exit code 1
2015-03-25 14:23:35.938: (message) [T0x1c5f010 chass]: Stopping MySQL Cluster Manager 1.3.4 plugin...
2015-03-25 14:23:35.938: (warning) [T0x1c5f010 chass]: verify_rep_checksum actual checksum 00d8aa818eb4468582c4f21beb515953 disk checksum 8001219902d1dd90e4338e4195e8ca6c

2015-03-25 14:23:35.938: (warning) [T0x1c5f010 chass]: Error when shutting down store: 'Checksum error for repository directory'
2015-03-25 14:23:35.938: (message) [T0x1c5f010 chass]: Stopped MySQL Cluster Manager 1.3.4 plugin

[mysql@host ~]$ /opt/mcm/mcm1.3.3/bin/mcmd --defaults-file=/opt/mcm/mcm1.3.3/etc/mcmd.ini --daemon --pid-file=/opt/mcm/mcm1.3.3/mcmd.pid
** ERROR:(/export/home/pb2/build/sb_0-13741461-1416839764.77/cluster-manager-1.3.3-release-export-7311923/plugins/manager/manager-util.c:190):apply_xdrmem: assertion failed: (s != 0)


Another possibility is MCM Agent being able to start but MCM Client is not able to run any command, it simply hangs. This being on a specific MCM Client, where all the other MCM Agents and respective Clients work properly.

So, running a simple command as below, the command just hangs:

mcm> list sites;

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms