커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
aws 아래 질문 잘못 눌러 다시 올립니다.
undefined주차
북마크
김*우
댓글
5
추천
0
조회수
24
조회수
24
답변 완료

https://spartacodingclub.kr/community/fastqna/all/645e0efdded1d8de3008c8ac/aws%20%EB%B0%B0%ED%8F%AC%20%EC%97%90%EB%9F%AC



$ eb logs

Retrieving logs...

============= i-07bbfd21a69b68003 ==============

----------------------------------------

/var/log/web.stdout.log

----------------------------------------

May 12 10:35:42 ip-172-31-15-37 web[2941]:  self.load_wsgi()

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi

May 12 10:35:42 ip-172-31-15-37 web[2941]:  self.wsgi = self.app.wsgi()

May 12 10:35:42 ip-172-31-15-37 web[2941]:        ^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi

May 12 10:35:42 ip-172-31-15-37 web[2941]:  self.callable = self.load()

May 12 10:35:42 ip-172-31-15-37 web[2941]:          ^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load

May 12 10:35:42 ip-172-31-15-37 web[2941]:  return self.load_wsgiapp()

May 12 10:35:42 ip-172-31-15-37 web[2941]:      ^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp

May 12 10:35:42 ip-172-31-15-37 web[2941]:  return util.import_app(self.app_uri)

May 12 10:35:42 ip-172-31-15-37 web[2941]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/util.py", line 359, in import_app

May 12 10:35:42 ip-172-31-15-37 web[2941]:  mod = importlib.import_module(module)

May 12 10:35:42 ip-172-31-15-37 web[2941]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module

May 12 10:35:42 ip-172-31-15-37 web[2941]:  return _bootstrap._gcd_import(name[level:], package, level)

May 12 10:35:42 ip-172-31-15-37 web[2941]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "<frozen importlib._bootstrap>", line 1206, in _gcd_import

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "<frozen importlib._bootstrap>", line 1178, in _find_and_load

May 12 10:35:42 ip-172-31-15-37 web[2941]: File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked

May 12 10:35:42 ip-172-31-15-37 web[2941]: ModuleNotFoundError: No module named 'application'

May 12 10:35:42 ip-172-31-15-37 web[2941]: [2023-05-12 10:35:42 +0000] [2941] [INFO] Worker exiting (pid: 2941)

May 12 10:35:42 ip-172-31-15-37 web[2937]: [2023-05-12 10:35:42 +0000] [2937] [INFO] Shutting down: Master

May 12 10:35:42 ip-172-31-15-37 web[2937]: [2023-05-12 10:35:42 +0000] [2937] [INFO] Reason: Worker failed to boot.

May 12 10:35:42 ip-172-31-15-37 web[2943]: [2023-05-12 10:35:42 +0000] [2943] [INFO] Starting gunicorn 20.1.0

May 12 10:35:42 ip-172-31-15-37 web[2943]: [2023-05-12 10:35:42 +0000] [2943] [INFO] Listening at: http://127.0.0.1:8000 (2943)    

May 12 10:35:42 ip-172-31-15-37 web[2943]: [2023-05-12 10:35:42 +0000] [2943] [INFO] Using worker: gthread

May 12 10:35:42 ip-172-31-15-37 web[2947]: [2023-05-12 10:35:42 +0000] [2947] [INFO] Booting worker with pid: 2947

May 12 10:35:42 ip-172-31-15-37 web[2947]: [2023-05-12 10:35:42 +0000] [2947] [ERROR] Exception in worker process

May 12 10:35:42 ip-172-31-15-37 web[2947]: Traceback (most recent call last):

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker

May 12 10:35:42 ip-172-31-15-37 web[2947]:  worker.init_process()

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/gthread.py", line 92, in init_process

May 12 10:35:42 ip-172-31-15-37 web[2947]:  super().init_process()

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process

May 12 10:35:42 ip-172-31-15-37 web[2947]:  self.load_wsgi()

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi

May 12 10:35:42 ip-172-31-15-37 web[2947]:  self.wsgi = self.app.wsgi()

May 12 10:35:42 ip-172-31-15-37 web[2947]:        ^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi

May 12 10:35:42 ip-172-31-15-37 web[2947]:  self.callable = self.load()

May 12 10:35:42 ip-172-31-15-37 web[2947]:          ^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load

May 12 10:35:42 ip-172-31-15-37 web[2947]:  return self.load_wsgiapp()

May 12 10:35:42 ip-172-31-15-37 web[2947]:      ^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp

May 12 10:35:42 ip-172-31-15-37 web[2947]:  return util.import_app(self.app_uri)

May 12 10:35:42 ip-172-31-15-37 web[2947]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/util.py", line 359, in import_app

May 12 10:35:42 ip-172-31-15-37 web[2947]:  mod = importlib.import_module(module)

May 12 10:35:42 ip-172-31-15-37 web[2947]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module

May 12 10:35:42 ip-172-31-15-37 web[2947]:  return _bootstrap._gcd_import(name[level:], package, level)

May 12 10:35:42 ip-172-31-15-37 web[2947]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "<frozen importlib._bootstrap>", line 1206, in _gcd_import

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "<frozen importlib._bootstrap>", line 1178, in _find_and_load

May 12 10:35:42 ip-172-31-15-37 web[2947]: File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked

May 12 10:35:42 ip-172-31-15-37 web[2947]: ModuleNotFoundError: No module named 'application'

May 12 10:35:42 ip-172-31-15-37 web[2947]: [2023-05-12 10:35:42 +0000] [2947] [INFO] Worker exiting (pid: 2947)

May 12 10:35:42 ip-172-31-15-37 web[2943]: [2023-05-12 10:35:42 +0000] [2943] [INFO] Shutting down: Master

May 12 10:35:42 ip-172-31-15-37 web[2943]: [2023-05-12 10:35:42 +0000] [2943] [INFO] Reason: Worker failed to boot.

May 12 10:35:43 ip-172-31-15-37 web[2949]: [2023-05-12 10:35:43 +0000] [2949] [INFO] Starting gunicorn 20.1.0

May 12 10:35:43 ip-172-31-15-37 web[2949]: [2023-05-12 10:35:43 +0000] [2949] [INFO] Listening at: http://127.0.0.1:8000 (2949)    

May 12 10:35:43 ip-172-31-15-37 web[2949]: [2023-05-12 10:35:43 +0000] [2949] [INFO] Using worker: gthread

May 12 10:35:43 ip-172-31-15-37 web[2953]: [2023-05-12 10:35:43 +0000] [2953] [INFO] Booting worker with pid: 2953

May 12 10:35:43 ip-172-31-15-37 web[2953]: [2023-05-12 10:35:43 +0000] [2953] [ERROR] Exception in worker process

May 12 10:35:43 ip-172-31-15-37 web[2953]: Traceback (most recent call last):

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker

May 12 10:35:43 ip-172-31-15-37 web[2953]:  worker.init_process()

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/gthread.py", line 92, in init_process

May 12 10:35:43 ip-172-31-15-37 web[2953]:  super().init_process()

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process

May 12 10:35:43 ip-172-31-15-37 web[2953]:  self.load_wsgi()

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi

May 12 10:35:43 ip-172-31-15-37 web[2953]:  self.wsgi = self.app.wsgi()

May 12 10:35:43 ip-172-31-15-37 web[2953]:        ^^^^^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi

May 12 10:35:43 ip-172-31-15-37 web[2953]:  self.callable = self.load()

May 12 10:35:43 ip-172-31-15-37 web[2953]:          ^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load

May 12 10:35:43 ip-172-31-15-37 web[2953]:  return self.load_wsgiapp()

May 12 10:35:43 ip-172-31-15-37 web[2953]:      ^^^^^^^^^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp

May 12 10:35:43 ip-172-31-15-37 web[2953]:  return util.import_app(self.app_uri)

May 12 10:35:43 ip-172-31-15-37 web[2953]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/var/app/venv/staging-LQM1lest/lib64/python3.11/site-packages/gunicorn/util.py", line 359, in import_app

May 12 10:35:43 ip-172-31-15-37 web[2953]:  mod = importlib.import_module(module)

May 12 10:35:43 ip-172-31-15-37 web[2953]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module

May 12 10:35:43 ip-172-31-15-37 web[2953]:  return _bootstrap._gcd_import(name[level:], package, level)

May 12 10:35:43 ip-172-31-15-37 web[2953]:      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "<frozen importlib._bootstrap>", line 1206, in _gcd_import

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "<frozen importlib._bootstrap>", line 1178, in _find_and_load

May 12 10:35:43 ip-172-31-15-37 web[2953]: File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked

May 12 10:35:43 ip-172-31-15-37 web[2953]: ModuleNotFoundError: No module named 'application'

May 12 10:35:43 ip-172-31-15-37 web[2953]: [2023-05-12 10:35:43 +0000] [2953] [INFO] Worker exiting (pid: 2953)

May 12 10:35:43 ip-172-31-15-37 web[2949]: [2023-05-12 10:35:43 +0000] [2949] [INFO] Shutting down: Master

May 12 10:35:43 ip-172-31-15-37 web[2949]: [2023-05-12 10:35:43 +0000] [2949] [INFO] Reason: Worker failed to boot.



----------------------------------------

/var/log/eb-engine.log

----------------------------------------

2023/05/12 10:35:38.532408 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:170964874889:stack/awseb-e-qmqp33zyjh-stack/d39fd830-f0ad-11ed-8343-06b22e8dc668 -r AWSEBBeanstalkMetadata --region ap-northeast-2   

2023/05/12 10:35:38.958927 [INFO] Generating rsyslog config from Procfile

2023/05/12 10:35:38.960691 [INFO] Running command /bin/sh -c systemctl restart rsyslog.service

2023/05/12 10:35:39.324395 [INFO] Executing instruction: PostBuildEbExtension

2023/05/12 10:35:39.324425 [INFO] Starting executing the config set Infra-EmbeddedPostBuild.

2023/05/12 10:35:39.324441 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:ap-northeast-2:170964874889:stack/awseb-e-qmqp33zyjh-stack/d39fd830-f0ad-11ed-8343-06b22e8dc668 -r AWSEBAutoScalingGroup --region ap-northeast-2 --configsets Infra-EmbeddedPostBuild

2023/05/12 10:35:39.668936 [INFO] Finished executing the config set Infra-EmbeddedPostBuild.


2023/05/12 10:35:39.668988 [INFO] Executing instruction: CleanEbExtensions

2023/05/12 10:35:39.669016 [INFO] Cleaned ebextensions subdirectories from app staging directory.

2023/05/12 10:35:39.669019 [INFO] Executing instruction: RunAppDeployPreDeployHooks

2023/05/12 10:35:39.669036 [INFO] Executing platform hooks in .platform/hooks/predeploy/

2023/05/12 10:35:39.669049 [INFO] The dir .platform/hooks/predeploy/ does not exist

2023/05/12 10:35:39.669051 [INFO] Finished running scripts in /var/app/staging/.platform/hooks/predeploy

2023/05/12 10:35:39.669056 [INFO] Executing instruction: stop X-Ray

2023/05/12 10:35:39.669059 [INFO] stop X-Ray ...

2023/05/12 10:35:39.669069 [INFO] Running command /bin/sh -c systemctl show -p PartOf xray.service

2023/05/12 10:35:39.682500 [WARN] stopProcess Warning: process xray is not registered

2023/05/12 10:35:39.682534 [INFO] Running command /bin/sh -c systemctl stop xray.service

2023/05/12 10:35:39.696022 [INFO] Executing instruction: stop proxy

2023/05/12 10:35:39.696060 [INFO] Running command /bin/sh -c systemctl show -p PartOf httpd.service

2023/05/12 10:35:39.709523 [WARN] deregisterProcess Warning: process httpd is not registered, skipping...


2023/05/12 10:35:39.709555 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service

2023/05/12 10:35:39.723263 [WARN] deregisterProcess Warning: process nginx is not registered, skipping...


2023/05/12 10:35:39.723297 [INFO] Executing instruction: FlipApplication

2023/05/12 10:35:39.723301 [INFO] Fetching environment variables...

2023/05/12 10:35:39.723427 [INFO] Purge old process...

2023/05/12 10:35:39.723440 [INFO] Removing /var/app/current/ if it exists

2023/05/12 10:35:39.723452 [INFO] Renaming /var/app/staging/ to /var/app/current/

2023/05/12 10:35:39.723472 [INFO] Register application processes...

2023/05/12 10:35:39.723477 [INFO] Registering the proc: web


2023/05/12 10:35:39.723489 [INFO] Running command /bin/sh -c systemctl show -p PartOf web.service

2023/05/12 10:35:39.734577 [INFO] Running command /bin/sh -c systemctl daemon-reload

2023/05/12 10:35:39.957502 [INFO] Running command /bin/sh -c systemctl reset-failed

2023/05/12 10:35:39.965517 [INFO] Running command /bin/sh -c systemctl is-enabled eb-app.target

2023/05/12 10:35:39.972411 [INFO] Copying file /opt/elasticbeanstalk/config/private/aws-eb.target to /etc/systemd/system/eb-app.target2023/05/12 10:35:39.973159 [INFO] Running command /bin/sh -c systemctl enable eb-app.target

2023/05/12 10:35:40.226413 [INFO] Created symlink /etc/systemd/system/multi-user.target.wants/eb-app.target → /etc/systemd/system/eb--app.target.


2023/05/12 10:35:40.226446 [INFO] Running command /bin/sh -c systemctl start eb-app.target

2023/05/12 10:35:40.235382 [INFO] Running command /bin/sh -c systemctl enable web.service

2023/05/12 10:35:40.486463 [INFO] Created symlink /etc/systemd/system/multi-user.target.wants/web.service → /etc/systemd/system/web.s-ervice.


2023/05/12 10:35:40.486504 [INFO] Running command /bin/sh -c systemctl show -p PartOf web.service

2023/05/12 10:35:40.497113 [INFO] Running command /bin/sh -c systemctl is-active web.service

2023/05/12 10:35:40.504254 [INFO] Running command /bin/sh -c systemctl start web.service

2023/05/12 10:35:40.576939 [INFO] Executing instruction: start X-Ray

2023/05/12 10:35:40.576961 [INFO] X-Ray is not enabled.

2023/05/12 10:35:40.576966 [INFO] Executing instruction: start proxy with new configuration

2023/05/12 10:35:40.576987 [INFO] Running command /bin/sh -c /usr/sbin/nginx -t -c /var/proxy/staging/nginx/nginx.conf

2023/05/12 10:35:40.621313 [INFO] nginx: [warn] could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size

nginx: the configuration file /var/proxy/staging/nginx/nginx.conf syntax is ok

nginx: configuration file /var/proxy/staging/nginx/nginx.conf test is successful


2023/05/12 10:35:40.621473 [INFO] Running command /bin/sh -c cp -rp /var/proxy/staging/nginx/* /etc/nginx

2023/05/12 10:35:40.628202 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service

2023/05/12 10:35:40.647352 [INFO] Running command /bin/sh -c systemctl daemon-reload

2023/05/12 10:35:40.984727 [INFO] Running command /bin/sh -c systemctl reset-failed

2023/05/12 10:35:41.015877 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service

2023/05/12 10:35:41.029451 [INFO] Running command /bin/sh -c systemctl is-active nginx.service

2023/05/12 10:35:41.038035 [INFO] Running command /bin/sh -c systemctl start nginx.service

2023/05/12 10:35:41.113541 [INFO] Executing instruction: configureSqsd

2023/05/12 10:35:41.113561 [INFO] This is a web server environment instance, skip configure sqsd daemon ...

2023/05/12 10:35:41.113565 [INFO] Executing instruction: startSqsd

2023/05/12 10:35:41.113569 [INFO] This is a web server environment instance, skip start sqsd daemon ...

2023/05/12 10:35:41.113572 [INFO] Executing instruction: Track pids in healthd

2023/05/12 10:35:41.113577 [INFO] This is an enhanced health env...

2023/05/12 10:35:41.113591 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf aws-eb.target | cut -d= -f2

2023/05/12 10:35:41.142268 [INFO] healthd.service nginx.service cfn-hup.service


2023/05/12 10:35:41.142305 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf eb-app.target | cut -d= -f2

2023/05/12 10:35:41.158648 [INFO] web.service


2023/05/12 10:35:41.159019 [INFO] Executing instruction: RunAppDeployPostDeployHooks

2023/05/12 10:35:41.159074 [INFO] Executing platform hooks in .platform/hooks/postdeploy/

2023/05/12 10:35:41.159093 [INFO] The dir .platform/hooks/postdeploy/ does not exist

2023/05/12 10:35:41.159096 [INFO] Finished running scripts in /var/app/current/.platform/hooks/postdeploy

2023/05/12 10:35:41.159103 [INFO] Executing cleanup logic

2023/05/12 10:35:41.159316 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment successfully generated a 'Procfile'.","timestamp":1683887737051,"severity":"INFO"},{"msg":"Instance deployment completed successfully.","timestamp":1683887741159,"severity":"INFO"}]}]}


2023/05/12 10:35:41.159486 [INFO] Platform Engine finished execution on command: app-deploy


2023/05/12 10:40:21.139093 [INFO] Starting...

2023/05/12 10:40:21.139142 [INFO] Starting EBPlatform-PlatformEngine

2023/05/12 10:40:21.139164 [INFO] reading event message file

2023/05/12 10:40:21.139380 [INFO] Engine received EB command cfn-hup-exec


2023/05/12 10:40:21.216803 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:170964874889:stack/awseb-e-qmqp33zyjh-stack/d39fd830-f0ad-11ed-8343-06b22e8dc668 -r AWSEBAutoScalingGroup --region ap-northeast-2    

2023/05/12 10:40:21.680735 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:170964874889:stack/awseb-e-qmqp33zyjh-stack/d39fd830-f0ad-11ed-8343-06b22e8dc668 -r AWSEBBeanstalkMetadata --region ap-northeast-2   

2023/05/12 10:40:22.051478 [INFO] checking whether command tail-log is applicable to this instance...

2023/05/12 10:40:22.051491 [INFO] this command is applicable to the instance, thus instance should execute command

2023/05/12 10:40:22.051493 [INFO] Engine command: (tail-log)


2023/05/12 10:40:22.051541 [INFO] Executing instruction: GetTailLogs

2023/05/12 10:40:22.051544 [INFO] Tail Logs...

2023/05/12 10:40:22.051852 [INFO] Running command /bin/sh -c tail -n 100 /var/log/web.stdout.log

2023/05/12 10:40:22.054117 [INFO] Running command /bin/sh -c tail -n 100 /var/log/eb-engine.log



----------------------------------------

/var/log/eb-hooks.log

----------------------------------------



----------------------------------------

/var/log/nginx/access.log

----------------------------------------

172.31.33.102 - - [12/May/2023:10:35:44 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:35:51 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:35:59 +0000] "GET / HTTP/1.1" 502 552 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "58.122.12.111"

172.31.33.102 - - [12/May/2023:10:35:59 +0000] "GET /favicon.ico HTTP/1.1" 502 552 "http://myweb.eba-fvcmibvj.ap-northeast-2.elasticbeanstalk.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" "58.122.12.111"

172.31.33.102 - - [12/May/2023:10:35:59 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:36:06 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:36:14 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:36:21 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:36:29 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:36:36 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:36:44 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:36:51 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:36:59 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:37:06 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:37:14 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:37:21 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:37:29 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:37:36 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:37:44 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:37:51 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:37:59 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:38:06 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:38:14 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:38:21 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:38:29 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:38:36 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:38:44 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:38:51 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:38:59 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:39:06 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:39:14 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:39:21 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:39:29 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:39:36 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:39:44 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:39:51 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:39:59 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:40:06 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.33.102 - - [12/May/2023:10:40:14 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"

172.31.3.134 - - [12/May/2023:10:40:21 +0000] "GET / HTTP/1.1" 502 150 "-" "ELB-HealthChecker/2.0" "-"



----------------------------------------

/var/log/nginx/error.log

----------------------------------------

2023/05/12 10:35:40 [warn] 2872#2872: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size

2023/05/12 10:35:41 [warn] 2906#2906: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size

2023/05/12 10:35:41 [warn] 2907#2907: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size

2023/05/12 10:35:44 [error] 2910#2910: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:35:51 [error] 2909#2909: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:35:59 [error] 2910#2910: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "myweb.eba-fvcmibvj.ap-northeast-2.elasticbeanstalk.com"

2023/05/12 10:35:59 [error] 2910#2910: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:8000/favicon.ico", host: "myweb.eba-fvcmibvj.ap-northeast-2.elasticbeanstalk.com", referrer: "http://myweb.eba-fvcmibvj.ap-northeast-2.elasticbeanstalk.com/"

2023/05/12 10:35:59 [error] 2910#2910: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:06 [error] 2910#2910: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:14 [error] 2910#2910: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:21 [error] 2910#2910: *14 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:29 [error] 2910#2910: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:36 [error] 2910#2910: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:44 [error] 2910#2910: *20 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:51 [error] 2910#2910: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:36:59 [error] 2910#2910: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:06 [error] 2910#2910: *26 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:14 [error] 2910#2910: *28 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:21 [error] 2910#2910: *30 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:29 [error] 2910#2910: *32 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:36 [error] 2910#2910: *34 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:44 [error] 2910#2910: *36 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:51 [error] 2909#2909: *38 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:37:59 [error] 2909#2909: *40 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:06 [error] 2909#2909: *42 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:14 [error] 2909#2909: *44 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:21 [error] 2909#2909: *46 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:29 [error] 2909#2909: *48 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:36 [error] 2909#2909: *50 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:44 [error] 2909#2909: *52 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:51 [error] 2909#2909: *54 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:38:59 [error] 2909#2909: *56 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:06 [error] 2909#2909: *58 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:14 [error] 2909#2909: *60 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:21 [error] 2909#2909: *62 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:29 [error] 2909#2909: *64 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:36 [error] 2909#2909: *66 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:44 [error] 2909#2909: *68 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:51 [error] 2910#2910: *70 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:39:59 [error] 2910#2910: *72 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:40:06 [error] 2910#2910: *74 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:40:14 [error] 2910#2910: *76 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.33.102, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

2023/05/12 10:40:21 [error] 2910#2910: *78 connect() failed (111: Connection refused) while connecting to upstream, client: 172.31.3.134, server: , request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8000/", host: "172.31.15.37"

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴