Skip to main content

EMR Troubleshooting

Requirements:

Connect to environment:

  1. Connect to OPENVPN VPN connection
  2. 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