OK, so here is what I have, after doing this:
sudo chown www-data:www-data -R /var/cache/zoneminder/temp
sudo chown www-data:www-data -R /var/cache/zoneminder/events
sudo chown www-data:www-data -R /var/cache/zoneminder/images
and then I did a reboot to make sure everything restarts cleanly.
I actually still had the resolution set at 1920 x 1080 even though it was not working before.
Now, it **does work**, even though I did not do this (does work meaning I see the camera view at 1920 x 1080)):
echo 536870912 >/proc/sys/kernel/shmmax
So all I need to test is recording.
I'll have to do that later.
Most of the errors in the log are gone, although I see a few potential issues, so I will post here.
The reboot would have been around 7:10, give or take, but I am not sure exactly when.
More Clear Refresh Export Close System Log
Updated: Thu 27th Apr, 7:25am State: alert Total: 405279 Available: 405279 Displaying: 100
Filter log - Component Server PID Level File Line Reset
Date/Time
Component Server PID Level Message File Line
2017-04-27 07:25:05.355496 zmc_m2 23552 INF driveway_cam: 32000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:24:32.133022 zmc_m2 23552 INF driveway_cam: 31000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:23:58.764975 zmc_m2 23552 INF driveway_cam: 30000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:23:25.501348 zmc_m2 23552 INF driveway_cam: 29000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:22:52.192735 zmc_m2 23552 INF driveway_cam: 28000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:22:18.847700 zmc_m2 23552 INF driveway_cam: 27000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:22:10.677700 zmaudit 23483 INF Database monitor '2' does not exist in filesystem zmaudit.pl
2017-04-27 07:21:45.549878 zmc_m2 23552 INF driveway_cam: 26000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:21:12.288898 zmc_m2 23552 INF driveway_cam: 25000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:20:38.924353 zmc_m2 23552 INF driveway_cam: 24000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:20:05.626404 zmc_m2 23552 INF driveway_cam: 23000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:19:35.347136 zms 26044 ERR Terminating, last frame sent time 1493295575.150175 secs more than maximum of 10.000000 zm_monitor.cpp 4213
2017-04-27 07:19:35.150333 zms 26044 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2017-04-27 07:19:34.844776 zms 26041 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2017-04-27 07:19:32.367247 zmc_m2 23552 INF driveway_cam: 22000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:19:03.381472 zms 26017 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2017-04-27 07:18:59.078818 zmc_m2 23552 INF driveway_cam: 21000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:18:25.700575 zmc_m2 23552 INF driveway_cam: 20000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:17:52.431365 zmc_m2 23552 INF driveway_cam: 19000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:17:19.083414 zmc_m2 23552 INF driveway_cam: 18000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:16:45.786373 zmc_m2 23552 INF driveway_cam: 17000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:16:12.524840 zmc_m2 23552 INF driveway_cam: 16000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:15:39.149587 zmc_m2 23552 INF driveway_cam: 15000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:15:05.863633 zmc_m2 23552 INF driveway_cam: 14000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:14:33.255882 web_js 24337 ERR getStreamCmdResponse stream error: Socket 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. - checkStreamForErrors() ?view=watch
2017-04-27 07:14:32.604843 zmc_m2 23552 INF driveway_cam: 13000 - Capturing at 27.78 fps zm_monitor.cpp 3125
2017-04-27 07:14:31.310643 web_php 24337 ERR Socket 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. /usr/share/zoneminder/www/includes/functions.php 2031
2017-04-27 07:14:23.421428 zms 23559 ERR Terminating, last frame sent time 10.600632 secs more than maximum of 10.000000 zm_monitor.cpp 4213
2017-04-27 07:13:56.755725 zmc_m2 23552 INF driveway_cam: 12000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:13:23.414840 zmc_m2 23552 INF driveway_cam: 11000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:12:50.094034 zmc_m2 23552 INF driveway_cam: 10000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:12:16.831296 zmc_m2 23552 INF driveway_cam: 9000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:11:43.493167 zmc_m2 23552 INF driveway_cam: 8000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:11:10.174024 zmc_m2 23552 INF driveway_cam: 7000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:10:36.886416 zmc_m2 23552 INF driveway_cam: 6000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:10:03.553088 zmc_m2 23552 INF driveway_cam: 5000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:09:30.261008 zmc_m2 23552 INF driveway_cam: 4000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:08:57.016102 zmc_m2 23552 INF driveway_cam: 3000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:08:23.632201 zmc_m2 23552 INF driveway_cam: 2000 - Capturing at 30.30 fps zm_monitor.cpp 3125
2017-04-27 07:07:50.321621 zmc_m2 23552 INF driveway_cam: 1000 - Capturing at 28.57 fps zm_monitor.cpp 3125
2017-04-27 07:07:18.378900 web_js 23399 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-728816s.sock ) failed: Connection refused - checkStreamForErrors() ?view=watch
2017-04-27 07:07:18.333125 web_php 23399 ERR socket_sendto( /var/run/zm/zms-728816s.sock ) failed: Connection refused /usr/share/zoneminder/www/includes/functions.php 2031
2017-04-27 07:07:16.168025 zms 23467 INF addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x556a97e58bb8 0x7fe6aaed2390 0x556a97e059ad 0x556a97e12648 0x556a97dd8e01 0x7fe6a75c1830 0x556a97dd9bb9 zm_signal.cpp 110
2017-04-27 07:07:16.033930 zms 23467 INF Backtrace complete, please execute the following command for more information zm_signal.cpp 109
2017-04-27 07:07:15.982979 zms 23467 ERR Backtrace 6: /usr/lib/zoneminder/cgi-bin/nph-zms(_start+0x29) [0x556a97dd9bb9] zm_signal.cpp 102
2017-04-27 07:07:15.923863 zms 23467 ERR Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fe6a75c1830] zm_signal.cpp 102
2017-04-27 07:07:15.797310 zms 23467 ERR Backtrace 4: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xa91) [0x556a97dd8e01] zm_signal.cpp 102
2017-04-27 07:07:15.755021 zmc_m2 23552 INF Priming capture from rtsp://admin:admin@192.168.1.93:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif zm_ffmpeg_camera.cpp 104
2017-04-27 07:07:15.678869 zms 23467 ERR Backtrace 3: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN13MonitorStream9runStreamEv+0x48) [0x556a97e12648] zm_signal.cpp 102
2017-04-27 07:07:15.629901 zmc_m2 23552 INF Starting Capture version 1.30.2 zmc.cpp 250
2017-04-27 07:07:15.539131 zms 23467 ERR Backtrace 2: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZNK7Monitor6GetFPSEv+0xd) [0x556a97e059ad] zm_signal.cpp 102
2017-04-27 07:07:15.505193 zms 23467 ERR Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fe6aaed2390] zm_signal.cpp 102
2017-04-27 07:07:15.471116 zms 23467 ERR Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x556a97e58bb8] zm_signal.cpp 102
2017-04-27 07:07:15.455440 zmdc 23552 INF 'zmc -m 2' started at 17/04/27 07:07:15 zmdc.pl
2017-04-27 07:07:15.455430 zmdc 23443 INF 'zmc -m 2' starting at 17/04/27 07:07:15, pid = 23552 zmdc.pl
2017-04-27 07:07:15.436679 zms 23467 ERR Signal address is (nil), from 0x556a97e059ad zm_signal.cpp 81
2017-04-27 07:07:15.394340 zmdc 23443 INF Starting pending process, zmc -m 2 zmdc.pl
2017-04-27 07:07:15.352339 zms 23467 ERR Got signal 11 (Segmentation fault), crashing zm_signal.cpp 50
2017-04-27 07:07:15.238710 zmdc 23443 ERR 'zmc -m 2' exited abnormally, exit status 255 zmdc.pl
2017-04-27 07:07:14.744808 zms 23467 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 533
2017-04-27 07:07:12.273190 zmfilter 23478 INF Scanning for events zmfilter.pl
2017-04-27 07:07:11.326880 zmdc 23502 INF 'zmtelemetry.pl' started at 17/04/27 07:07:11 zmdc.pl
2017-04-27 07:07:11.326860 zmdc 23443 INF 'zmtelemetry.pl' starting at 17/04/27 07:07:11, pid = 23502 zmdc.pl
2017-04-27 07:07:11.101640 zmwatch 23489 INF Watchdog pausing for 30 seconds zmwatch.pl
2017-04-27 07:07:11.051140 zmdc 23495 INF 'zmupdate.pl -c' started at 17/04/27 07:07:11 zmdc.pl
2017-04-27 07:07:11.051140 zmdc 23443 INF 'zmupdate.pl -c' starting at 17/04/27 07:07:11, pid = 23495 zmdc.pl
2017-04-27 07:07:10.928520 zmwatch 23489 INF Watchdog starting zmwatch.pl
2017-04-27 07:07:10.732620 zmdc 23443 INF 'zmwatch.pl' starting at 17/04/27 07:07:10, pid = 23489 zmdc.pl
2017-04-27 07:07:10.732620 zmdc 23489 INF 'zmwatch.pl' started at 17/04/27 07:07:10 zmdc.pl
2017-04-27 07:07:10.441460 zmdc 23443 INF 'zmaudit.pl -c' starting at 17/04/27 07:07:10, pid = 23483 zmdc.pl
2017-04-27 07:07:10.441460 zmdc 23483 INF 'zmaudit.pl -c' started at 17/04/27 07:07:10 zmdc.pl
2017-04-27 07:07:10.034850 zmdc 23478 INF 'zmfilter.pl' started at 17/04/27 07:07:10 zmdc.pl
2017-04-27 07:07:10.034850 zmdc 23443 INF 'zmfilter.pl' starting at 17/04/27 07:07:10, pid = 23478 zmdc.pl
2017-04-27 07:07:09.050270 zmdc 23443 INF 'zmc -m 2' starting at 17/04/27 07:07:09, pid = 23473 zmdc.pl
2017-04-27 07:07:09.050270 zmdc 23473 INF 'zmc -m 2' started at 17/04/27 07:07:09 zmdc.pl
2017-04-27 07:07:08.759540 zmpkg 23414 INF Single server configuration detected. Starting up services. zmpkg.pl
2017-04-27 07:07:08.458620 web_js 23397 ERR getStreamCmdResponse stream error: Socket 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. - checkStreamForErrors() ?view=watch
2017-04-27 07:07:06.190171 web_php 23397 ERR Socket 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. /usr/share/zoneminder/www/includes/functions.php 2031
2017-04-27 07:07:05.756750 zmdc 23443 INF Server starting at 17/04/27 07:07:05 zmdc.pl
2017-04-27 07:07:05.071510 zmpkg 23414 INF Command: start zmpkg.pl
2017-04-27 07:07:03.987650 zmpkg 23414 INF Sanity checking States table... zmpkg.pl
2017-04-27 07:03:33.451940 zmdc 3016 INF Server shutdown at 17/04/27 07:03:33 zmdc.pl
2017-04-27 07:03:23.200220 zmdc 3016 INF Server shutdown at 17/04/27 07:03:23 zmdc.pl
2017-04-27 07:03:12.575190 zmdc 3016 INF 'zmc -m 2' exited normally zmdc.pl
2017-04-27 07:03:10.780259 zmc_m2 3129 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2017-04-27 07:03:10.688050 zmdc 3016 INF 'zmwatch.pl' exited, signal 14 zmdc.pl
2017-04-27 07:03:10.671130 zmdc 3016 INF 'zmc -m 2' sending stop to pid 3129 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:10.654120 zmdc 3016 INF 'zmtelemetry.pl' exited, signal 14 zmdc.pl
2017-04-27 07:03:10.637240 zmdc 3016 INF 'zmwatch.pl' sending stop to pid 3107 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:10.620200 zmdc 3016 INF 'zmupdate.pl -c' exited, signal 14 zmdc.pl
2017-04-27 07:03:10.603330 zmdc 3016 INF 'zmtelemetry.pl' sending stop to pid 3122 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:10.586120 zmdc 3016 INF 'zmaudit.pl -c' exited, signal 14 zmdc.pl
2017-04-27 07:03:10.544020 zmdc 3016 INF 'zmupdate.pl -c' sending stop to pid 15436 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:10.449050 zmdc 3016 INF 'zmfilter.pl' exited, signal 14 zmdc.pl
2017-04-27 07:03:10.418760 zmdc 3016 INF 'zmaudit.pl -c' sending stop to pid 3100 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:10.392450 zmdc 3016 INF 'zmfilter.pl' sending stop to pid 3095 at 17/04/27 07:03:10 zmdc.pl
2017-04-27 07:03:09.933990 zmpkg 6697 INF Command: stop zmpkg.pl
2017-04-27 07:03:09.773180 zmpkg 6697 INF Sanity checking States table... zmpkg.pl
2017-04-27 07:02:49.252649 zmc_m2 3129 INF driveway_cam: 4050000 - Capturing at 29.41 fps zm_monitor.cpp 3125
2017-04-27 07:02:15.954883 zmc_m2 3129 INF driveway_cam: 4049000 - Capturing at 30.30 fps zm_monitor.cpp 3125