Установленный по мануалу https://nemesida-waf.ru/community/2511
Не стартует api_firewall
× api_firewall.service - Nemesida API Firewall
Loaded: loaded (/lib/systemd/system/api_firewall.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-09-13 21:31:45 MSK; 1min 2s ago
Duration: 9ms
Process: 4400 ExecStart=/usr/share/nwaf/venv/bin/gunicorn -c naf.py api:app -k uvicorn.workers.UvicornWorker --log-file /var/log/nwaf/naf/gunicorn.log -->
Main PID: 4400 (code=exited, status=200/CHDIR)
CPU: 1ms
Sep 13 21:31:45 deb12 systemd[1]: Started api_firewall.service - Nemesida API Firewall.
Sep 13 21:31:45 deb12 (gunicorn)[4400]: api_firewall.service: Changing to the requested working directory failed: No such file or directory
Sep 13 21:31:45 deb12 (gunicorn)[4400]: api_firewall.service: Failed at step CHDIR spawning /usr/share/nwaf/venv/bin/gunicorn: No such file or directory
Sep 13 21:31:45 deb12 systemd[1]: api_firewall.service: Main process exited, code=exited, status=200/CHDIR
Sep 13 21:31:45 deb12 systemd[1]: api_firewall.service: Failed with result 'exit-code'.
ls /etc/nginx/nwaf/ -la
total 68
drwxr-xr-x 5 root root 4096 Sep 13 21:31 .
drwxr-xr-x 4 root root 4096 Sep 13 21:31 ..
-rw-r--r-- 1 root root 2170 Aug 26 10:39 ca.crt
drwxr-xr-x 5 root root 4096 Sep 13 21:31 conf
drwxr-xr-x 3 root root 4096 Sep 13 21:31 ml
-rw-r--r-- 1 root root 105 Aug 26 10:39 mla.conf
drwxr-xr-x 2 root root 4096 Sep 13 21:31 naf
-rw-r--r-- 1 root root 39578 Sep 13 21:31 rules.bin
Не стартует api_firewall
× api_firewall.service - Nemesida API Firewall
Loaded: loaded (/lib/systemd/system/api_firewall.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-09-13 21:31:45 MSK; 1min 2s ago
Duration: 9ms
Process: 4400 ExecStart=/usr/share/nwaf/venv/bin/gunicorn -c naf.py api:app -k uvicorn.workers.UvicornWorker --log-file /var/log/nwaf/naf/gunicorn.log -->
Main PID: 4400 (code=exited, status=200/CHDIR)
CPU: 1ms
Sep 13 21:31:45 deb12 systemd[1]: Started api_firewall.service - Nemesida API Firewall.
Sep 13 21:31:45 deb12 (gunicorn)[4400]: api_firewall.service: Changing to the requested working directory failed: No such file or directory
Sep 13 21:31:45 deb12 (gunicorn)[4400]: api_firewall.service: Failed at step CHDIR spawning /usr/share/nwaf/venv/bin/gunicorn: No such file or directory
Sep 13 21:31:45 deb12 systemd[1]: api_firewall.service: Main process exited, code=exited, status=200/CHDIR
Sep 13 21:31:45 deb12 systemd[1]: api_firewall.service: Failed with result 'exit-code'.
ls /etc/nginx/nwaf/ -la
total 68
drwxr-xr-x 5 root root 4096 Sep 13 21:31 .
drwxr-xr-x 4 root root 4096 Sep 13 21:31 ..
-rw-r--r-- 1 root root 2170 Aug 26 10:39 ca.crt
drwxr-xr-x 5 root root 4096 Sep 13 21:31 conf
drwxr-xr-x 3 root root 4096 Sep 13 21:31 ml
-rw-r--r-- 1 root root 105 Aug 26 10:39 mla.conf
drwxr-xr-x 2 root root 4096 Sep 13 21:31 naf
-rw-r--r-- 1 root root 39578 Sep 13 21:31 rules.bin