EMR Troubleshooting
Requirements:
- OPEN VPN - https://ec2-3-19-254-74.us-east-2.compute.amazonaws.com/ (download here)
Connect to environment:
- Connect to OPENVPN VPN connection
- Open TERMINAL and SSH to the main server
ssh -i /Users/*/Documents/ssh_key [email protected]
If you get an error stating your ssh file doesn't have the correct permissions, you need to run the following as SUDO
sudo chmod 600 ssh_key
This will configure the SSH key to be only read by the user
Verify Code Deploy Agent is running
## STATUS
sudo service codedeploy-agent status
## Start
sudo service codedeploy-agent start
## if error =
## Failed to start codedeploy-agent.service: Unit not found.
## Re-Install CODEDEPLOY
sudo yum update
sudo yum install ruby
sudo yum install wget
wget https://aws-codedeploy-us-east-1.s3.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
##NOTE
##If you get an UNSIGNED ERROR
nano install
## scroll to
install_cmd = ['/usr/bin/yum', '-y', 'localinstall']
## change to
install_cmd = ['/usr/bin/yum', '-y', '--nogpgcheck', 'localinstall']
## This disabled the signing check