(ERROR) Creating processlist failed, failed to get Datadir.
Hello!
I am having some problems getting cmon to work with MySQL Cluster.
Error log shows: (WARNING) Command executed on mgm1: /usr/bin///ndb_config --nodeid=1 --query=datadir --ndb-connectstring=\"mgm1\" failed
(ERROR) Creating processlist failed, failed to get Datadir.
When typing the same command to console it gives the same error but after removing slashes between mgm1 it gives correct answer:
[root@mgm1 ~]# /usr/bin///ndb_config --nodeid=1 --query=datadir --ndb-connectstring="mgm1"
/var/lib/mysql-cluster/data0
Any idea what could be wrong? OS is CentOS 6.2
Tried connectstring with IP also but same result.
-
Hi,
Sorry to hear about the problem.
* Can ssh from the controller to the other nodes without password?
If you can send me the /var/log/cmon.log file too that would be great. If you want to send it in private, you can send it to johan@severalnines.com , but we can continue the discussion here.Best regards
johan
-
Thank you for your answer!
I have attached log and conf file. No difference when using hostname as connectstring ( mgm1 ).
Cmon controller is running on the same management server ( 192.168.10.2 mgm1 ).
SSH to nodes is possible without passwords.
When removing the slashes between IP the command gives correct answer when run on console:
(WARNING) Command executed on localhost: /usr/bin///ndb_config --nodeid=6 --query=datadir --ndb-connectstring=\"192.168.10.2\" failed
Rene
Please sign in to leave a comment.
Comments
2 comments