Code: Select all
zmc_m2 ERR Unable to open input 192.168.1.80/axis-cgi/mjpg/video.cgi?camera=&resolution=320x240 due to: No such file or directory zm_ffmpeg_camera.cpp 393
zmc_m2 ERR Failed to prime capture of initial monitor zmc.cpp 257
I am new to Zoneminder and somewhat new to Linux so I tried the Docker image. I found instructions to check ZM_PATH_ZMS and ScriptAlias in some configuration files but they did not exist on my system. (I assume this is because they are in inside the Docker container but I couldn't find out how to modify it.) I tried the native install which did leave some configuration files for me to find.
/etc/apache2/conf-enabled/zoneminder.conf contains ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin" (the last line is an existing directory)
As instructed by the readme file in /etc/zm/conf.d I added a new file containing ZM_PATH_ZMS=/cgi-bin/nph-zms (I also tried ZM_PATH_ZMS=/usr/lib/zoneminder/cgi-bin/nph-zms) but neither worked. The readme instruction sudo chown root:apache *.conf returned chown: invalid group: ‘root:apache’ apache2 also doesn't work, but I don't know if this is a problem because the permissions on that new file allow anyone to read it.
Ubuntu 20.04.1 LTS, Zoneminder v1.34.21, Firefox 81.0 (64-bit)