Start a conversation

Troubleshooting Instance Issues

Overview

If you are having issues with an instance in your environment and the cause of the issue is not apparent in the UI, you will need to access the instance to review the available logs and the application's status in order to find the cause for the issue. 

Solution

  1. Access EYC.
  2. On your Dashboard, click the environment name.
  3. Locate the instance with an issue.
  4. Click on the Copy PHA to clipboard option for the instance.
  5. Connect to the instance via SSH
  6. Run ps aux to verify if all processes are running.  
    mceclip0.png
  7. Run monit summary, to verify that all processes are running correctly according to monit.
    mceclip5.png
  8. Check the nginx status: /etc/init.d/nginx status.
  9. Review the available chef logs by running ls -l /var/log/chef.*.
  10. Read any of the chef log files using the cat command. 
  11. Review the available application logs by running ls -l /var/log/engineyard/apps/[application_name]
  12. Review any of the application logs using the cat command. 
  13. Navigate to the deploy folder: cd /home/deploy/.
  14. List the available files using ls -ltarh to locate the log of the latest deployment
  15. Review the file with the following name: [app_name]-integrate-ip-[ip].ec2.internal.log using the less command. less [app_name]-integrate-ip-[ip].ec2.internal.log. In this log, the symbol ~> is included before each stage of the process.
    mceclip1.png
    • You can also use the grep command to only show all stages. grep '~>' [app_name]-integrate-ip-[ip].ec2.internal.log
      mceclip4.png

mceclip0.png

  1. 719 KB
  2. View
  3. Download

mceclip1.png

  1. 264 KB
  2. View
  3. Download

mceclip2.png

  1. 264 KB
  2. View
  3. Download

mceclip3.png

  1. 264 KB
  2. View
  3. Download

mceclip4.png

  1. 227 KB
  2. View
  3. Download

mceclip5.png

  1. 174 KB
  2. View
  3. Download
Download all
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments