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
- Access EYC.
- On your Dashboard, click the environment name.
- Locate the instance with an issue.
- Click on the Copy PHA to clipboard option for the instance.
- Connect to the instance via SSH.
- Run
ps aux
to verify if all processes are running. - Run
monit summary
, to verify that all processes are running correctly according to monit. -
Check the nginx status:
/etc/init.d/nginx status
. - Review the available chef logs by running
ls -l /var/log/chef.*
. - Read any of the chef log files using the cat command.
- Review the available application logs by running
ls -l /var/log/engineyard/apps/[application_name]
- Review any of the application logs using the cat command.
- Navigate to the deploy folder:
cd /home/deploy/
. - List the available files using
ls -ltarh
to locate the log of the latest deployment. -
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.
-
You can also use the grep command to only show all stages.
grep '~>' [app_name]-integrate-ip-[ip].ec2.internal.log
-
You can also use the grep command to only show all stages.
Comments
Article is closed for comments.