I installed Zoneminder on a Raspberry Pi following the Debian installation instructions on the Wiki.
I then added a camera that works over RTSP (verified address in VLC and it also works fine using Shinobi). The apache logs show a bunch of this error:
Code: Select all
ERR [socket_sendto( /var/run/zm/zms-434317s.sock ) failed: No such file or directory], referer: http://raspberrypi.local/zm/index.php?view=watch&mid=1
Code: Select all
# Remember to enable cgi mod (i.e. "a2enmod cgi").
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require all granted
</Directory>
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
<Directory /usr/share/zoneminder/www/api>
AllowOverride All
</Directory>
Code: Select all
PATH_ZMS ==> /zm/cgi-bin/nph-zms
Code: Select all
2019-05-08 22:57:53.388780 zmdc 9301 INF 'zmc -m 1' crashed, signal 6 zmdc.pl
2019-05-08 22:57:52.499410 zmdc 11475 INF 'zmc -m 1' started at 19/05/08 22:57:52 zmdc.pl
2019-05-08 22:57:52.499410 zmdc 9301 INF 'zmc -m 1' starting at 19/05/08 22:57:52, pid = 11475 zmdc.pl
2019-05-08 22:57:51.848950 zmwatch 9409 INF Restarting capture daemon for Bullet, shared data not valid zmwatch.pl
2019-05-08 22:57:42.768230 zmdc 9301 INF 'zmc -m 1' crashed, signal 6 zmdc.pl
2019-05-08 22:57:41.814950 zmdc 11425 INF 'zmc -m 1' started at 19/05/08 22:57:41 zmdc.pl
2019-05-08 22:57:41.808520 zmdc 9301 INF 'zmc -m 1' starting at 19/05/08 22:57:41, pid = 11425 zmdc.pl
2019-05-08 22:57:40.994200 zmwatch 9409 INF Restarting capture daemon for Bullet, shared data not valid zmwatch.pl
Code: Select all
05/08/19 22:50:09.824037 zmc_m1[9345].DB1-zm_logger.cpp/234 [LogOpts: level=DB9/DB9, screen=OFF, database=INF, logfile=DB9->/var/log/zm/zm_debug.log.09345, syslog=INF]
05/08/19 22:50:09.824231 zmc_m1[9345].DB1-zm_utils.cpp/279 [Detected a non x86\x86-64 processor]
05/08/19 22:50:09.836801 zmc_m1[9345].DB4-zm_db.cpp/89 [Success running query: select Id, Name, ServerId, Type, Function+0, Enabled, LinkedMonitors, Device, Channel, Format, V4LMultiBuffer, V4LCapturesPerFrame, Protocol, Method, Host, Port, Path, Options, User, Pass, Width, Height, Colours, Palette, Orientation+0, Deinterlacing, RTSPDescribe, Brightness, Contrast, Hue, Colour, EventPrefix, LabelFormat, LabelX, LabelY, LabelSize, ImageBufferCount, WarmupCount, PreEventCount, PostEventCount, StreamReplayBuffer, AlarmFrameCount, SectionLength, FrameSkip, MotionFrameSkip, AnalysisFPS, AnalysisUpdateDelay, MaxFPS, AlarmMaxFPS, FPSReportInterval, RefBlendPerc, AlarmRefBlendPerc, TrackMotion, SignalCheckColour, Exif from Monitors where Id = 1]
05/08/19 22:50:09.836938 zmc_m1[9345].DB1-zm_monitor.cpp/2726 [Got 1 for v4l_captures_per_frame]
05/08/19 22:50:09.837076 zmc_m1[9345].DB2-zm_camera.cpp/39 [New camera id: 1 width: 3840 height: 2160 colours: 3 subpixelorder: 6 capture: 1]
05/08/19 22:50:09.838052 zmc_m1[9345].DB2-zm_image.cpp/179 [Blend: Using fast blend function]
05/08/19 22:50:09.838158 zmc_m1[9345].DB2-zm_image.cpp/237 [Delta: Using standard delta functions]
05/08/19 22:50:09.838180 zmc_m1[9345].DB2-zm_image.cpp/263 [Deinterlace: Using standard delta functions]
05/08/19 22:50:09.838199 zmc_m1[9345].DB2-zm_image.cpp/272 [Image buffer copy: Using standard memcpy]
05/08/19 22:50:09.838219 zmc_m1[9345].DB3-zm_image.cpp/276 [Setting up static colour tables]
05/08/19 22:50:09.838330 zmc_m1[9345].DB1-zm_monitor.cpp/390 [monitor purpose=1]
05/08/19 22:50:09.838357 zmc_m1[9345].DB1-zm_monitor.cpp/398 [mem.size=1244161360]