{"id":10207,"date":"2023-08-02T20:43:47","date_gmt":"2023-08-03T01:43:47","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=10207"},"modified":"2023-08-02T21:20:34","modified_gmt":"2023-08-03T02:20:34","slug":"zoneminder-dont-forget-to-set-the-server","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=10207","title":{"rendered":"Zoneminder &#8211; Don&#8217;t forget to set the server"},"content":{"rendered":"<p>We got some new IP cameras &#8212; devices that support direct RTSP access to the video stream &#8212; but I could <em>not<\/em> get them to work with Zoneminder. No matter what I tried, it reported that shm is not connected. My \/dev\/shm directory wasn&#8217;t full, the permissions were fine. In short, there was no reason that the memory map file couldn&#8217;t have been created. I could not figure it out &#8212; and, in trying to delete a 2 GB log file so it would be more readable &#8230; the server crashed and would only boot in recovery mode.<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10208\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected.png\" alt=\"\" width=\"1356\" height=\"268\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected.png 1356w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected-300x59.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected-1024x202.png 1024w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected-768x152.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-shm-not-connected-750x148.png 750w\" sizes=\"auto, (max-width: 1356px) 100vw, 1356px\" \/><\/a><\/p>\n<p>Sigh! Fortunately, I was able to repair the file system and get the server back online. I was working, so Scott looked at the cameras and had them working almost immediately. Turns out the default, when you add a new device, is that the server is set to &#8216;None&#8217; &#8230; which evidently leads to the &#8220;unable to connect to monitor&#8221;, &#8220;Monitor shm is not connected&#8221;, and &#8220;Can&#8217;t open memory map file&#8221; errors I was seeing. He just selected the zoneminder server from the dropdown, saved it, and voila &#8212; a camera stream.<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-setserver.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10209\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-setserver.png\" alt=\"\" width=\"623\" height=\"328\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-setserver.png 623w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2023\/08\/zoneminder-setserver-300x158.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We got some new IP cameras &#8212; devices that support direct RTSP access to the video stream &#8212; but I could not get them to work with Zoneminder. No matter what I tried, it reported that shm is not connected. My \/dev\/shm directory wasn&#8217;t full, the permissions were fine. In short, there was no reason &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1879],"tags":[1877,1876,1878,61],"class_list":["post-10207","post","type-post","status-publish","format-standard","hentry","category-ip-cameras","tag-memory-map","tag-shm","tag-shm-is-not-connected","tag-zoneminder"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10207"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10207\/revisions"}],"predecessor-version":[{"id":10210,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/10207\/revisions\/10210"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}