If you have problems to run deploy.sh this may be helpful to nail down the issues:
- Check 's9s_deploy.log' (located in your HOME folder of the user you are install as, e.g. /home/<myusername>/s9s_deploy.log. It shows if e.g, an RPM has failed to install and why.
- EC2: Upload your keypair to $EC2_KEYPAIR on the clustercontrol server
- Verify you have installed libaoi1 (ubuntu: apt-get install libaio1 redhat: yum install libaio )
- Verify SELinux settings, firewalls, and /etc/hosts
- 'hostname -i' must not resolve to 127.0.0.1, or 127.0.1.1. If it does you must write /etc/hosts file.
- 'hostname' must not resolve to 'localhost'. If it does you must write /etc/hosts file.
- Check that you have disk space
- Verify you can ping the hosts
- Verify that you have enough RAM
- Verify that you have enough cores for the MySQL Servers and Data Nodes (setting the number of Cores to more than you have affects stability and can cause lockups).
- Verify that you haven't installed a 64-bit version on 32-bit machines
- Verify that you haven't got any conflicting RPMs installed. Run ./uninstall-rpm.sh. E.g, it may be needed to remove php-mysql (rpm -e php-mysql from the ClusterController
And you are of course welcome to create a ticket and we will help you get going.
Comments
5 comments
Hello
If you encounter issues running
deploy.sh
, follow these troubleshooting steps:Check 's9s_deploy.log': Review the 's9s_deploy.log' in your user's home folder to diagnose installation errors, especially any RPM installation failures.
EC2 Key Pair: If using Amazon EC2, ensure your keypair is uploaded to the
$EC2_KEYPAIR
location on the ClusterControl server.Install libaio1: On Ubuntu, run
apt-get install libaio1
, and on Red Hat, useyum install libaio
to install libaio1.System Configuration: Verify SELinux settings, firewall rules, and the
/etc/hosts
file to ensure proper system configuration.Hostname Resolution: Ensure 'hostname -i' doesn't resolve to 127.0.0.1 or 127.0.1.1. If it does, update the
/etc/hosts
file.Hostname: Your hostname should not resolve to 'localhost.' Adjust the
/etc/hosts
file if needed.Disk Space: Check available disk space on your servers.
Network Connectivity: Confirm that you can ping the hosts without issues.
RAM: Verify you have sufficient RAM for MySQL Servers and Data Nodes.
CPU Cores: Ensure you have enough CPU cores for the MySQL Servers and Data Nodes. Avoid setting the core count higher than available, as it can lead to instability.
32-bit vs. 64-bit: Ensure software architecture matches your machine's architecture.
Conflicting RPMs: Remove conflicting RPM packages if necessary using './uninstall-rpm.sh.' For example, 'rpm -e php-mysql' from the ClusterController.
If problems persist, consider creating a support ticket http://support.severalnines.com/tickets/new/CCSP Training
Thank you.
Submit a request to support@clientsuccess.com via the in-app Help geometry dash or email direct with the name of the solution
A troubleshooting manual is a type of it documentation that lists common problems a user might encounter while using a product and drift hunters offers solutions to these problems.
Thanks for the helpful troubleshooting checklist! I'll be sure to review the s9s_deploy.log file and double-check the system requirements like disk space, RAM, and cores - especially since my location. If I run into any other issues, I'll be sure to reach out for assistance.
Running into issues with deploy.sh can be frustrating, but checking the 's9s_deploy.log' is definitely a good way to pinpoint the problem. Verifying SELinux settings, firewalls, and the /etc/hosts file can also help resolve common setup problems. It's always important to ensure that 'hostname -i' and 'hostname' aren't resolving to incorrect addresses like 127.0.0.1 or 'localhost.' Also, make sure you’ve got the right system specs, like enough RAM, disk space, and cores. If all else fails, uninstall conflicting RPMs and consider creating a support ticket for further help. While doing all such things, you may get tired and hungry, so I recommened you to eat Sonic mozzarella sticks price are economical and taste is the best!
Please sign in to leave a comment.