If I start MYSQL cluster server with this command I get an error:
root@v-server1:/usr/local/mysql-cluster# /etc/init.d/mysql.server start
Starting MySQL
The server quit without updating PID file (/var/lib/mysql/v-server1.pid).
root@v-server1:/usr/local/mysql-cluster#
But if I start via this command the server starts without problems:
root@v-server1:/usr/local# cd mysql-cluster
root@v-server1:/usr/local/mysql-cluster# bin/mysqld_safe --defaults-extra-file=/etc/mysqld-cluster.cf --user=mysql --datadir=/var/lib/mysql --basedir=/usr/local/mysql-cluster &
[1] 29119
120404 13:44:00 mysqld_safe Logging to '/var/log/mysql/error.log'.
120404 13:44:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
^C
root@v-server1:/usr/local/mysql-cluster# /etc/init.d/mysql.server status
MySQL running (29524)
My problem is that I want to have the server started automatically when I switch on the system.