Page 1 of 1
ZM 1.36.x unable to stream after a running time
Posted: Sun Oct 24, 2021 6:46 pm
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
Re: ZM 1.36.x unable to stream after a running time
Posted: Sun Oct 24, 2021 11:16 pm
by dougmccrary
Does m6 continue to work or did it quit after a while too?
Re: ZM 1.36.x unable to stream after a running time
Posted: Mon Oct 25, 2021 7:29 am
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)
Re: ZM 1.36.x unable to stream after a running time
Posted: Mon Oct 25, 2021 8:27 am
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
Re: ZM 1.36.x unable to stream after a running time
Posted: Mon Oct 25, 2021 9:49 am
by dougmccrary
i was forced to reset the database mysql (with the creation script)
? You can use mariadb if you want. Which script?
Re: ZM 1.36.x unable to stream after a running time
Posted: Mon Oct 25, 2021 9:57 am
by tchi59
i did => sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
a big reset
Re: ZM 1.36.x unable to stream after a running time
Posted: Mon Oct 25, 2021 1:35 pm
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