Добрый день!
Помогите, пожалуйста, разобраться.
В нашей организации был написан сервис на Rust-е, который работает на сервере под Linux. Этот сервис несколько лет работал нормально. Недавно при перезапуске сервера этот сервис не запустился. Мы его вроде бы запустили, в списке процессов он появился, но он все равно не функционирует.
Суть сервиса: по http-запросу этот сервис предоставляет дополнительные возможности для работы с Честным знаком. Название сервиса: arm-marking (АРМ маркировки).
Вот что выдается в логах Nginx-серврера:
error.log
2024/01/09 13:13:24 [error] 2281#0: *522 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9090/", host: "marking-arm.corp.pskovmol.ru"
2024/01/09 13:13:25 [error] 2281#0: *522 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:9090/favicon.ico", host: "marking-arm.corp.pskovmol.ru", referrer: "http://marking-arm.corp.pskovmol.ru/"
2024/01/09 13:15:23 [error] 2283#0: *551 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9090/", host: "marking-arm.corp.pskovmol.ru"
2024/01/09 13:15:27 [error] 2283#0: *551 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9090/", host: "marking-arm.corp.pskovmol.ru"
2024/01/09 14:42:32 [error] 2286#0: *4856 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9090/", host: "marking-arm.corp.pskovmol.ru"
2024/01/09 14:42:32 [error] 2285#0: *4726 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9090/", host: "marking-arm.corp.pskovmol.ru"
2024/01/09 14:42:32 [error] 2286#0: *4856 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.33.10, server: marking-arm.corp.pskovmol.ru, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:9090/favicon.ico", host: "marking-arm.corp.pskovmol.ru", referrer: "http://marking-arm.corp.pskovmol.ru/"
2024/01/09 14:42:39 [alert] 2286#0: *4924 open socket #21 left in connection 5
2024/01/09 14:42:39 [alert] 2286#0: aborting
2024/01/09 15:29:06 [alert] 2295#0: *2358 open socket #21 left in connection 4
2024/01/09 15:29:06 [alert] 2295#0: aborting
2024/01/09 15:29:06 [alert] 2293#0: *2357 open socket #25 left in connection 4
2024/01/09 15:29:06 [alert] 2293#0: aborting
marking-arm.host.access.log
192.168.33.10 - - [09/Jan/2024:14:58:48 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:14:58:48 +0300] "GET /favicon.png HTTP/1.1" 200 360 "http://marking-arm.corp.pskovmol.ru/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:14:58:49 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:14:58:49 +0300] "GET /favicon.png HTTP/1.1" 200 360 "http://marking-arm.corp.pskovmol.ru/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:00:48 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:00:48 +0300] "GET /favicon.png HTTP/1.1" 200 360 "http://marking-arm.corp.pskovmol.ru/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:00:52 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:00:53 +0300] "GET /favicon.png HTTP/1.1" 200 360 "http://marking-arm.corp.pskovmol.ru/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4137.1 SputnikBrowser/5.6.6290.0 (GOST) Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:23:58 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
192.168.33.10 - - [09/Jan/2024:15:23:59 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
192.168.33.10 - - [09/Jan/2024:15:29:40 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
192.168.33.10 - - [09/Jan/2024:15:29:50 +0300] "GET / HTTP/1.1" 200 9111 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:29:57 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:33:32 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
192.168.33.10 - - [09/Jan/2024:15:34:29 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" "-"
192.168.33.10 - - [09/Jan/2024:15:35:04 +0300] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
Как найти почему не работает сервис? Подскажите направление, в котором надо искать.
Исходники сервиса есть. Но они не менялись.
Раньше при работающем сервисе мы заходили в браузере на страницу «http://marking-arm.corp.pskovmol.ru/», на странице отображалась определенная информация, и мы выполняли нужные действия.
Сейчас при заходе на эту страницу она просто пустая. Из-за чего это может быть?