[ERROR] Can't read from messagefile '/usr/share/mysql/english/errmsg.sys'
Not solved yet
1. ref
http://serverfault.com/questions/482297/mysql-5-6-wont-start-or-log-to-a-log-file
http://askubuntu.com/questions/102875/mysql-5-5-starts-and-then-instantly-stops
https://bugs.mysql.com/bug.php?id=69677
2. Solution
Haan Mo Johng, Ph.D. Candidate at UT Dallas, imaginejhm@gmail.com
PostList
2015년 7월 28일 화요일
ERROR -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid= on command line
1. Description
Situation:
Error when clustering MySQL on AWS EC2 Ubuntu instances.
Error message:
ERROR -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid=<nodeid> on command line
2. Main Reason
It was because of mismatch between Elastic IP of AWS instances and IP in config.ini file.
3. Solution
1) Install MySQL
2) Write internal IP of each EC2 instances.
You need to check eth0 IP address of the AWS instances and write it on config.ini file. (Using ifconfig)
Then you can use this commend
Situation:
Error when clustering MySQL on AWS EC2 Ubuntu instances.
Error message:
ERROR -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid=<nodeid> on command line
2. Main Reason
It was because of mismatch between Elastic IP of AWS instances and IP in config.ini file.
3. Solution
1) Install MySQL
sudo apt-get install mysql-server
ref: https://help.ubuntu.com/12.04/serverguide/mysql.html2) Write internal IP of each EC2 instances.
You need to check eth0 IP address of the AWS instances and write it on config.ini file. (Using ifconfig)
Then you can use this commend
ndb_mgmd -f /usr/local/mysql/mysql-cluster/config.ini --configdir=/usr/local/mysql/mysql-cluster
2015년 2월 15일 일요일
Can't access to ec2 instance with WinSCP
1. check private key.
click configuration -> click SSH -> click auth -> add private key
click configuration -> click SSH -> click auth -> add private key
gcc: command not found
1 Install gcc, make, and autoconf.
[ec2-user ~]$ sudo yum groupinstall "Development Tools"
2. Reference
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/compile-software.html
[ec2-user ~]$ sudo yum groupinstall "Development Tools"
2. Reference
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/compile-software.html
2015년 2월 14일 토요일
bind failed. Error: Address already in use
1. Cause
port is already used. check this command
2. Solution
netstat -tulpn
check the PID, then
kill <pid>
3. Reference
http://stackoverflow.com/questions/15198834/bind-failed-error-address-already-in-use
http://stackoverflow.com/questions/8688949/how-to-close-tcp-and-udp-ports-via-windows-command-line
port is already used. check this command
2. Solution
netstat -tulpn
check the PID, then
kill <pid>
3. Reference
http://stackoverflow.com/questions/15198834/bind-failed-error-address-already-in-use
http://stackoverflow.com/questions/8688949/how-to-close-tcp-and-udp-ports-via-windows-command-line
2015년 2월 13일 금요일
Connecting EC2 instance using Elastic IP is not working
1. Ping to the EC2 instance. not working.
1) check security group
2) assign Elastic IP to the instance.
Solution
Add All ICMP Inbound rule in Inbound tap of Security group.
still not working. why?
2. Connecting EC2 instance using Elastic IP is not working.
1) When running echo client-server program on same node,
connecting to server with inet address(ifconfig) works, but Elastic IP.
2) Connecting EC2 instance with PuTTY is working, but this program.
Solution
Add All TCP Inbound rule in Inbound tap of Security group.
1) check security group
2) assign Elastic IP to the instance.
Solution
Add All ICMP Inbound rule in Inbound tap of Security group.
still not working. why?
2. Connecting EC2 instance using Elastic IP is not working.
1) When running echo client-server program on same node,
connecting to server with inet address(ifconfig) works, but Elastic IP.
2) Connecting EC2 instance with PuTTY is working, but this program.
Solution
Add All TCP Inbound rule in Inbound tap of Security group.
피드 구독하기:
글 (Atom)