Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question
send the output from uname -n and env –  silviud Dec 29 '10 at 21:05
uname -n gives: db env gives: SHELL=/bin/bash TERM=linux HUSHLOGIN=FALSE USER=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/root PS1=\h:\w\$ SHLVL=1 HOME=/root LOGNAME=root _=/usr/bin/env –  Champion Dec 30 '10 at 5:50
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.