Open shimguh opened 8 months ago
$ sudo docker logs lb /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2024/02/14 02:18:15 [notice] 1#1: using the "epoll" event method 2024/02/14 02:18:15 [notice] 1#1: nginx/1.25.3 2024/02/14 02:18:15 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14) 2024/02/14 02:18:15 [notice] 1#1: OS: Linux 5.15.133.1-microsoft-standard-WSL2 2024/02/14 02:18:15 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2024/02/14 02:18:15 [notice] 1#1: start worker processes 2024/02/14 02:18:15 [notice] 1#1: start worker process 29 2024/02/14 02:18:15 [notice] 1#1: start worker process 30 2024/02/14 02:18:15 [notice] 1#1: start worker process 31 2024/02/14 02:18:15 [notice] 1#1: start worker process 32 2024/02/14 02:18:15 [notice] 1#1: start worker process 33 2024/02/14 02:18:15 [notice] 1#1: start worker process 34 2024/02/14 02:18:15 [notice] 1#1: start worker process 35 2024/02/14 02:18:15 [notice] 1#1: start worker process 36 172.17.0.1 - - [14/Feb/2024:03:02:40 +0000] "GET / HTTP/1.1" 200 615 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 2024/02/14 03:02:40 [error] 29#29: *1 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 172.17.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:8001/" 172.17.0.1 - - [14/Feb/2024:03:02:40 +0000] "GET /favicon.ico HTTP/1.1" 404 555 "http://localhost:8001/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:08:59 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:08:59 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:08:59 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:08:59 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:00 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:04 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:04 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 172.17.0.1 - - [14/Feb/2024:03:09:05 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" "-" 2024/02/14 03:11:13 [notice] 1#1: signal 3 (SIGQUIT) received, shutting down 2024/02/14 03:11:13 [notice] 29#29: gracefully shutting down 2024/02/14 03:11:13 [notice] 30#30: gracefully shutting down 2024/02/14 03:11:13 [notice] 31#31: gracefully shutting down 2024/02/14 03:11:13 [notice] 32#32: gracefully shutting down 2024/02/14 03:11:13 [notice] 33#33: gracefully shutting down 2024/02/14 03:11:13 [notice] 30#30: exiting 2024/02/14 03:11:13 [notice] 31#31: exiting 2024/02/14 03:11:13 [notice] 29#29: exiting 2024/02/14 03:11:13 [notice] 34#34: gracefully shutting down 2024/02/14 03:11:13 [notice] 35#35: gracefully shutting down 2024/02/14 03:11:13 [notice] 32#32: exiting 2024/02/14 03:11:13 [notice] 33#33: exiting 2024/02/14 03:11:13 [notice] 34#34: exiting 2024/02/14 03:11:13 [notice] 33#33: exit 2024/02/14 03:11:13 [notice] 30#30: exit 2024/02/14 03:11:13 [notice] 31#31: exit 2024/02/14 03:11:13 [notice] 29#29: exit 2024/02/14 03:11:13 [notice] 34#34: exit 2024/02/14 03:11:13 [notice] 32#32: exit 2024/02/14 03:11:13 [notice] 35#35: exiting 2024/02/14 03:11:13 [notice] 35#35: exit 2024/02/14 03:11:13 [notice] 36#36: gracefully shutting down 2024/02/14 03:11:13 [notice] 36#36: exiting 2024/02/14 03:11:13 [notice] 36#36: exit 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 31 2024/02/14 03:11:13 [notice] 1#1: worker process 31 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: signal 29 (SIGIO) received 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 33 2024/02/14 03:11:13 [notice] 1#1: worker process 33 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: worker process 34 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: signal 29 (SIGIO) received 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 35 2024/02/14 03:11:13 [notice] 1#1: worker process 35 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: worker process 36 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: signal 29 (SIGIO) received 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 29 2024/02/14 03:11:13 [notice] 1#1: worker process 29 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: signal 29 (SIGIO) received 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 32 2024/02/14 03:11:13 [notice] 1#1: worker process 32 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: signal 29 (SIGIO) received 2024/02/14 03:11:13 [notice] 1#1: signal 17 (SIGCHLD) received from 30 2024/02/14 03:11:13 [notice] 1#1: worker process 30 exited with code 0 2024/02/14 03:11:13 [notice] 1#1: exit /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2024/02/14 03:11:17 [emerg] 1#1: host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2 nginx: [emerg] host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2024/02/14 03:18:38 [emerg] 1#1: host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2 nginx: [emerg] host not found in upstream "serv-a:80" in /etc/nginx/conf.d/default.conf:2
증상
로그