aleksandrkorovkin
Member
Добрый день!
Я использую для работы образы docker.
Во время развертывания ошибок не возникало, как я понимаю. Прикрепляю логи с докер контейнеров.
Где elastic_villani - это nwaf-api
cranky_black - nwaf-cabinet
nwaf-db - postgres
priceless_snyder - nwaf-dyn-ce
cranky_black:
Restarting memcached: memcached.
sed: can't read /etc/init.d/rldscupd: No such file or directory
[uWSGI] getting INI configuration from /var/www/app/cabinet.ini
*** Starting uWSGI 2.0.26 (64bit) on [Wed Sep 18 09:56:55 2024] ***
compiled with version: 12.2.0 on 27 August 2024 11:44:11
os: Linux-5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024
nodename: 4fc806a1a4ef
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /var/www/app
detected binary path: /var/www/app/venv/bin/uwsgi
Starting nginx: nginx.
elastic_villani:
start-stop-daemon: warning: failed to kill 686: No such process
Restarting memcached: memcached.
chown: cannot access '/var/www/app/': No such file or directory
chown: cannot access '/var/log/uwsgi/cabinet': No such file or directory
[uWSGI] getting INI configuration from /var/www/nw-api/api.ini
Starting nginx: nginx.
nwaf-db:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-09-18 09:52:53.596 UTC [1] LOG: starting PostgreSQL 16.4 (Debian 16.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-09-18 09:52:53.597 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-09-18 09:52:53.597 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-09-18 09:52:53.599 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-09-18 09:52:53.604 UTC [28] LOG: database system was shut down at 2024-09-18 09:49:06 UTC
2024-09-18 09:52:53.611 UTC [1] LOG: database system is ready to accept connections
2024-09-18 09:53:31.520 UTC [37] WARNING: no privileges were granted for "waf"
2024-09-18 09:57:53.687 UTC [26] LOG: checkpoint starting: time
2024-09-18 09:57:56.706 UTC [26] LOG: checkpoint complete: wrote 33 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.012 s, sync=0.004 s, total=3.020 s; sync files=21, longest=0.002 s, average=0.001 s; distance=140 kB, estimate=140 kB; lsn=0/2165738, redo lsn=0/2165700
2024-09-18 10:07:53.797 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:07:54.605 UTC [26] LOG: checkpoint complete: wrote 9 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.804 s, sync=0.002 s, total=0.809 s; sync files=9, longest=0.001 s, average=0.001 s; distance=9 kB, estimate=127 kB; lsn=0/2167D38, redo lsn=0/2167D00
2024-09-18 10:32:53.951 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:32:54.662 UTC [26] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.704 s, sync=0.003 s, total=0.711 s; sync files=8, longest=0.002 s, average=0.001 s; distance=10 kB, estimate=115 kB; lsn=0/216A788, redo lsn=0/216A750
2024-09-18 10:47:23.052 UTC [820] FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
2024-09-18 10:47:23.164 UTC [821] FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
2024-09-18 10:47:23.261 UTC [822] FATAL: no PostgreSQL user name specified in startup packet
2024-09-18 10:52:53.916 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:52:54.627 UTC [26] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.704 s, sync=0.003 s, total=0.711 s; sync files=8, longest=0.003 s, average=0.001 s; distance=10 kB, estimate=105 kB; lsn=0/216D240, redo lsn=0/216D208
priceless_snyder:
start-stop-daemon: warning: failed to kill 1054: No such process
Restarting memcached: memcached.
Starting RabbitMQ Messaging Server: rabbitmq-server.
При попытке зайти в кабинет по порту :8090 у меня ошибка "404 Not Found"
Подскажите, в чем может быть проблема?
Так же могу прислать мои настроенные конфигурации, может, я где-то допустил ошибку в настройке или еще какие-нибудь логи.
Я использую для работы образы docker.
Во время развертывания ошибок не возникало, как я понимаю. Прикрепляю логи с докер контейнеров.
Где elastic_villani - это nwaf-api
cranky_black - nwaf-cabinet
nwaf-db - postgres
priceless_snyder - nwaf-dyn-ce
cranky_black:
Restarting memcached: memcached.
sed: can't read /etc/init.d/rldscupd: No such file or directory
[uWSGI] getting INI configuration from /var/www/app/cabinet.ini
*** Starting uWSGI 2.0.26 (64bit) on [Wed Sep 18 09:56:55 2024] ***
compiled with version: 12.2.0 on 27 August 2024 11:44:11
os: Linux-5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024
nodename: 4fc806a1a4ef
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /var/www/app
detected binary path: /var/www/app/venv/bin/uwsgi
Starting nginx: nginx.
elastic_villani:
start-stop-daemon: warning: failed to kill 686: No such process
Restarting memcached: memcached.
chown: cannot access '/var/www/app/': No such file or directory
chown: cannot access '/var/log/uwsgi/cabinet': No such file or directory
[uWSGI] getting INI configuration from /var/www/nw-api/api.ini
Starting nginx: nginx.
nwaf-db:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-09-18 09:52:53.596 UTC [1] LOG: starting PostgreSQL 16.4 (Debian 16.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-09-18 09:52:53.597 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-09-18 09:52:53.597 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-09-18 09:52:53.599 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-09-18 09:52:53.604 UTC [28] LOG: database system was shut down at 2024-09-18 09:49:06 UTC
2024-09-18 09:52:53.611 UTC [1] LOG: database system is ready to accept connections
2024-09-18 09:53:31.520 UTC [37] WARNING: no privileges were granted for "waf"
2024-09-18 09:57:53.687 UTC [26] LOG: checkpoint starting: time
2024-09-18 09:57:56.706 UTC [26] LOG: checkpoint complete: wrote 33 buffers (0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.012 s, sync=0.004 s, total=3.020 s; sync files=21, longest=0.002 s, average=0.001 s; distance=140 kB, estimate=140 kB; lsn=0/2165738, redo lsn=0/2165700
2024-09-18 10:07:53.797 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:07:54.605 UTC [26] LOG: checkpoint complete: wrote 9 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.804 s, sync=0.002 s, total=0.809 s; sync files=9, longest=0.001 s, average=0.001 s; distance=9 kB, estimate=127 kB; lsn=0/2167D38, redo lsn=0/2167D00
2024-09-18 10:32:53.951 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:32:54.662 UTC [26] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.704 s, sync=0.003 s, total=0.711 s; sync files=8, longest=0.002 s, average=0.001 s; distance=10 kB, estimate=115 kB; lsn=0/216A788, redo lsn=0/216A750
2024-09-18 10:47:23.052 UTC [820] FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
2024-09-18 10:47:23.164 UTC [821] FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
2024-09-18 10:47:23.261 UTC [822] FATAL: no PostgreSQL user name specified in startup packet
2024-09-18 10:52:53.916 UTC [26] LOG: checkpoint starting: time
2024-09-18 10:52:54.627 UTC [26] LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.704 s, sync=0.003 s, total=0.711 s; sync files=8, longest=0.003 s, average=0.001 s; distance=10 kB, estimate=105 kB; lsn=0/216D240, redo lsn=0/216D208
priceless_snyder:
start-stop-daemon: warning: failed to kill 1054: No such process
Restarting memcached: memcached.
Starting RabbitMQ Messaging Server: rabbitmq-server.
При попытке зайти в кабинет по порту :8090 у меня ошибка "404 Not Found"
Подскажите, в чем может быть проблема?
Так же могу прислать мои настроенные конфигурации, может, я где-то допустил ошибку в настройке или еще какие-нибудь логи.