Problem while Installing mysql cluster

Posted by Champion on Server Fault See other posts from Server Fault or by Champion
Published on 2010-12-29T13:57:03Z Indexed on 2010/12/29 14:56 UTC
Read the original article Hit count: 442

I downloaded latest mysql cluster file 64 bit (mysql-cluster-gpl-7.1.9-linux-x86_64-glibc23) from mysql site. Ran following command to install mysql server.

/home/mysql_cluster/mysqlc/scripts/mysql_install_db --no-defaults --basedir=/home/mysql_cluster/mysqlc --datadir=/home/mysql_cluster/my_cluster/mysqld_data

It's giving following issues.
/home/mysql_cluster/mysqlc/scripts/mysql_install_db: line 245: /home/mysql_cluster/mysqlc/bin/my_print_defaults: No such file or directory Neither host 'db' nor 'localhost' could be looked up with /home/mysql_cluster/mysqlc/bin/resolveip Please configure the 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with the --force option

My host is pinging and hostname command gives correct hostname.

I tried also with --force option force but still not working giving following issues:

/home/mysql_cluster/mysqlc/scripts/mysql_install_db: line 245: /home/mysql_cluster/mysqlc/bin/my_print_defaults: No such file or directory

Installing MySQL system tables...
/home/mysql_cluster/mysqlc/scripts/mysql_install_db: line 393: /home/mysql_cluster/mysqlc/bin/mysqld: No such file or directory

Installation of system tables failed! Examine the logs in /home/mysql_cluster/my_cluster/mysqld_data for more information.

It says above files doesn't exist but this files are present checked with ls command.

We are using XEN VM with 64 bit debian lenny os. How this issue can be resolved ?

© Server Fault or respective owner

Related posts about mysql

Related posts about replication