Web interface fails after 6 days
Posted: Fri Nov 05, 2021 2:04 am
Fedora 34
5.14.11-200.fc34.x86_64 Kernel
Zoneminder 1.36.8
nginx 1.20.1-6
mariadb 3:10.5.12
Everything runs fine for about 6 days then I cannot view live feed, or events and I log the following message from nginx error.log:
please advise
5.14.11-200.fc34.x86_64 Kernel
Zoneminder 1.36.8
nginx 1.20.1-6
mariadb 3:10.5.12
Everything runs fine for about 6 days then I cannot view live feed, or events and I log the following message from nginx error.log:
When I look in /var/lib/zoneminder/sock I have many .lock files, but no .sock files2021/11/04 20:38:33 [error] 1122#1122: *188783 FastCGI sent in stderr: "PHP message: ERR [Socket /var/lib/zoneminder/sock/zms-913787s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.]" while reading response header from upstream, client: 192.168.0.1, server: =, request: "GET /zm/index.php?view=request&request=stream&connkey=913787&auth=6e20fb74e8870d05ed1ecbfb7a73661f&command=99 HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "[omitted hostname]:8081", referrer: "https://[omitted hostname]:8081/zm/?view=watch&mid=1"
this can be remedied by restarting the entire computer, and it will work again for about 6 days. Events are captured during this however, so the zmc is still functioning.# ls
zmdc.sock zms-076094.lock zms-119189.lock zms-197584.lock zms-306950.lock zms-372434.lock zms-438828.lock zms-531659.lock zms-587739.lock zms-684303.lock zms-755243.lock zms-875155.lock zms-981208.lock
zms-017022.lock zms-092636.lock zms-122658.lock zms-262433.lock zms-326439.lock zms-374866.lock zms-500065.lock zms-543023.lock zms-610047.lock zms-684504.lock zms-820759.lock zms-910467.lock zms-988758.lock
zms-031542.lock zms-100095.lock zms-150056.lock zms-265850.lock zms-331815.lock zms-386351.lock zms-500980.lock zms-563864.lock zms-622567.lock zms-684773.lock zms-826640.lock zms-921101.lock zms-994328.lock
zms-046398.lock zms-103567.lock zms-179325.lock zms-276136.lock zms-357394.lock zms-396067.lock zms-504387.lock zms-563947.lock zms-626818.lock zms-731063.lock zms-836795.lock zms-957271.lock
zms-064880.lock zms-118605.lock zms-189086.lock zms-292584.lock zms-369998.lock zms-402043.lock zms-519749.lock zms-575694.lock zms-683177.lock zms-741508.lock zms-846021.lock zms-981052.lock
please advise