I'm rebuilding a cluster. There appears to be something leftover from a previous installation but I cannot figure out where it is coming from.
On my datanode when I try to run ndbmtd I get this:
2017-08-02 18:19:15 [ndbd] INFO -- Angel connected to 'mysql-management:1186'
2017-08-02 18:19:15 [ndbd] INFO -- Angel allocated nodeid: 1
2017-08-02 18:19:15 [ndbd] WARNING -- Cannot change directory to '/home/mysql_ndb/MySQL_Cluster/1/', error: 2
2017-08-02 18:19:15 [ndbd] ERROR -- Couldn't start as daemon, error: 'Failed to open logfile '/home/mysql_ndb/MySQL_Cluster/1//ndb_1_out.log' for write, errno: 2'
I'm executing it as root. My data path should be /usr/mysql_cluster, it should not be using those paths in the error messages. Where is it getting these settings?
On my datanode when I try to run ndbmtd I get this:
2017-08-02 18:19:15 [ndbd] INFO -- Angel connected to 'mysql-management:1186'
2017-08-02 18:19:15 [ndbd] INFO -- Angel allocated nodeid: 1
2017-08-02 18:19:15 [ndbd] WARNING -- Cannot change directory to '/home/mysql_ndb/MySQL_Cluster/1/', error: 2
2017-08-02 18:19:15 [ndbd] ERROR -- Couldn't start as daemon, error: 'Failed to open logfile '/home/mysql_ndb/MySQL_Cluster/1//ndb_1_out.log' for write, errno: 2'
I'm executing it as root. My data path should be /usr/mysql_cluster, it should not be using those paths in the error messages. Where is it getting these settings?