ZM 1.36.x unable to stream after a running time

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
tchi59
Posts: 17
Joined: Sat Oct 16, 2021 10:56 am

ZM 1.36.x unable to stream after a running time

Post by tchi59 »

Hi,

I did a fresh installation of ZM 1.36.
I added a RTSP monitor. (monitor5)

It is working for hours when suddenly i get a mesg "unable to stream"
this monitor is now stuck, impossible to get it working again. in the log
>> Unable to send stream text frame: Broken pipe

This is very odd, because if i create now a new monitor (monitor6) with the same parameter as monitor5 (RTSP, width , height, ip and so on )
it is working and displaying.
Can you help me to fix this ?
thanks
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: ZM 1.36.x unable to stream after a running time

Post by dougmccrary »

Does m6 continue to work or did it quit after a while too?
tchi59
Posts: 17
Joined: Sat Oct 16, 2021 10:56 am

Re: ZM 1.36.x unable to stream after a running time

Post by tchi59 »

for the moment zm6 is still running and streaming but i think it will failed soon
i had already experiment that issue previously

i was forced to reset the database mysql (with the creation script)
tchi59
Posts: 17
Joined: Sat Oct 16, 2021 10:56 am

Re: ZM 1.36.x unable to stream after a running time

Post by tchi59 »

this morning i continue on testing.
I connect my CCTV Zoneminder on a wire connection without wifi
i erased monitor5 and monitor6 , and i create monitor7 with same parameter
i catch many errors :

Memory map file '/dev/shm/zm.mmap.7' does not exist in zmMemAttach. zmc might not be running.

Socket /run/zm/zms-493028s.sock 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.

please advise me
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: ZM 1.36.x unable to stream after a running time

Post by dougmccrary »

i was forced to reset the database mysql (with the creation script)
? You can use mariadb if you want. Which script?
tchi59
Posts: 17
Joined: Sat Oct 16, 2021 10:56 am

Re: ZM 1.36.x unable to stream after a running time

Post by tchi59 »

i did => sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
a big reset
tchi59
Posts: 17
Joined: Sat Oct 16, 2021 10:56 am

Re: ZM 1.36.x unable to stream after a running time

Post by tchi59 »

hi

do you know what this error ?

Socket /run/zm/zms-651246s.sock 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

and this one ?

getStreamCmdResponse stream error: Socket /run/zm/zms-651246s.sock 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()

Thanks for your help
Post Reply