Page 1 of 1

Sock does not exist filling logs

Posted: Thu Jun 09, 2022 4:56 am
by nthulke
I updated my ZM to 1.36.15 and ever since then it has been runnning slow and I find alot of my footage doesnt play back.
Checking the error logs I am getting alot of errors of "sock does not exist...ensure that CGI is enabled".
Reading up on this I found that it appears to be related to ZM_PATH_ZMS

Doing a cat /etc/zm/conf.d/01-system-paths.conf I can see that ZM_PATH_ZMS=/zm/cgi-bin/nph-zms but and if I look at the apache files the alias for /ZM is "/usr/share/zoneminder/www" and when I look in /usr/share/zoneminder/www I can see there is no cgi-bin folder.

When I run "sudo find / -type d | grep "cgi-bin"" all it returns is this:
/usr/lib/zoneminder/cgi-bin
/usr/lib/cgi-bin
/usr/lib/cups/cgi-bin
/usr/share/doc/libsoap-wsdl-perl/examples/cgi-bin
/usr/share/doc/popularity-contest/examples/cgi-bin

I am not sure on what to do to resolve this issue.

Any help would be great.

Re: Sock does not exist filling logs

Posted: Thu Jun 09, 2022 8:00 am
by Magic919
It's in a ScriptAlias on mine.

Have a look here https://github.com/ZoneMinder/zoneminde ... inder.conf

Re: Sock does not exist filling logs

Posted: Thu Jun 09, 2022 12:27 pm
by iconnor
1.36.15 had some issues, this being one. Upgrade to 1.36.18/19.