Search found 17 matches

by tchi59
Thu Nov 11, 2021 5:26 pm
Forum: ZoneMinder 1.36.x
Topic: zoneminder and HIKVision DS-2CD2T45G0P-I
Replies: 2
Views: 1830

zoneminder and HIKVision DS-2CD2T45G0P-I

Hi,

i am trying to add my brand new camera hikvision in ZM
I did some test with VLC and it is working with rtsp below:

rtsp://user:pwd@192.168.1.64:554/Streaming/Channels/101

Now trying in ZM 1.36 i catch all the time :

Unable to stream

Please help me
thx
by tchi59
Mon Oct 25, 2021 1:35 pm
Forum: ZoneMinder 1.36.x
Topic: ZM 1.36.x unable to stream after a running time
Replies: 6
Views: 1442

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

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 ...
by tchi59
Mon Oct 25, 2021 9:57 am
Forum: ZoneMinder 1.36.x
Topic: ZM 1.36.x unable to stream after a running time
Replies: 6
Views: 1442

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

i did => sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
a big reset
by tchi59
Mon Oct 25, 2021 8:27 am
Forum: ZoneMinder 1.36.x
Topic: ZM 1.36.x unable to stream after a running time
Replies: 6
Views: 1442

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

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 ...
by tchi59
Mon Oct 25, 2021 7:29 am
Forum: ZoneMinder 1.36.x
Topic: ZM 1.36.x unable to stream after a running time
Replies: 6
Views: 1442

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

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)
by tchi59
Sun Oct 24, 2021 6:46 pm
Forum: ZoneMinder 1.36.x
Topic: ZM 1.36.x unable to stream after a running time
Replies: 6
Views: 1442

ZM 1.36.x unable to stream after a running time

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 ...
by tchi59
Sat Oct 23, 2021 2:44 pm
Forum: ZoneMinder 1.36.x
Topic: zoneminder purge event in database when there are not on disk
Replies: 3
Views: 964

Re: zoneminder purge event in database when there are not on disk

it seems that zmaudit is already running in background
/usr/bin/perl -wT /usr/bin/zmaudit.pl -c
by tchi59
Sat Oct 23, 2021 2:39 pm
Forum: ZoneMinder 1.36.x
Topic: zoneminder purge event in database when there are not on disk
Replies: 3
Views: 964

Re: zoneminder purge event in database when there are not on disk

thx
do i have to start zmaudit from cli ?
by tchi59
Sat Oct 23, 2021 9:04 am
Forum: ZoneMinder 1.36.x
Topic: zoneminder purge event in database when there are not on disk
Replies: 3
Views: 964

zoneminder purge event in database when there are not on disk

hi my zoneminder is running now well i record events on ramdisk (in the memory of my pi). unfortunatly when the pi reboot , all ramdisk are cleared my goal is to be able to remove events records when it happen that is to say, be able to run a filter that will detect if event is still on disk , if ...
by tchi59
Thu Oct 21, 2021 9:07 am
Forum: ZoneMinder 1.36.x
Topic: 'zmc -m 5' exited abnormally, exit status 255
Replies: 1
Views: 1029

'zmc -m 5' exited abnormally, exit status 255

hi
i played a bit yesterday with a cam rtsp.
it was working
today i restarted all cam and zoneminder and i catch this error

'zmc -m 5' exited abnormally, exit status 255

do you know why

for information i can display the rtsp stream from VLC

Regards
by tchi59
Wed Oct 20, 2021 4:23 pm
Forum: ZoneMinder 1.36.x
Topic: filter executing an external python script
Replies: 8
Views: 1980

Re: filter executing an external python script

thanks to you i find the trick !!! well, i allow www-data to do su (adding in /etc/passwd on the www-data line => /bin/bash) i configured www-data user to be able to copy on googledrive with rclone now it is working with that command in filter ==> /home/pi/python/ZoneMinderFilter.py THANKS YOU !
by tchi59
Wed Oct 20, 2021 4:11 pm
Forum: ZoneMinder 1.36.x
Topic: filter executing an external python script
Replies: 8
Views: 1980

Re: filter executing an external python script

from root this command works ! root@raspberrypi:/home/pi/python# su -s /bin/bash --command="/home/pi/python/ZoneMinderFilter.py /ramdisk/4/397" www-data /ramdisk/4/397 4 397 rclone copy /ramdisk/4/397/397-video.mp4 googledrive:397-video.mp4 /usr/bin/rclone link googledrive:397-video.mp4 b'https ...
by tchi59
Wed Oct 20, 2021 4:01 pm
Forum: ZoneMinder 1.36.x
Topic: filter executing an external python script
Replies: 8
Views: 1980

Re: filter executing an external python script

you are right my ZM seems to run under www-data user root@raspberrypi:/home/pi# ps -ef |grep zm www-data 773 1 0 15:09 ? 00:00:01 /usr/bin/perl -wT /usr/bin/zmdc.pl startup www-data 819 773 48 15:09 ? 01:24:06 /usr/bin/zmc -m 4 www-data 824 773 0 15:09 ? 00:00:01 /usr/bin/perl -wT /usr/bin/zmfilter ...
by tchi59
Wed Oct 20, 2021 3:49 pm
Forum: ZoneMinder 1.36.x
Topic: filter executing an external python script
Replies: 8
Views: 1980

Re: filter executing an external python script

by hand root@raspberrypi:/home/pi# /home/pi/python/ZoneMinderFilter.py /ramdisk/4/398/ 1>logfile2>&1 root@raspberrypi:/home/pi# cat logfile2 /ramdisk/4/398/ 4 398 rclone copy /ramdisk/4/398//398-video.mp4 googledrive:398-video.mp4 /usr/bin/rclone link googledrive:398-video.mp4 b'https://drive.google ...
by tchi59
Wed Oct 20, 2021 3:47 pm
Forum: ZoneMinder 1.36.x
Topic: filter executing an external python script
Replies: 8
Views: 1980

Re: filter executing an external python script

hi
i did what you advise
but the main problem is that zoneminder add /ramdisk/4/401 at all commands
Command 'su -s /bin/bash --command="/home/pi/python/ZoneMinderFilter.py" apache /ramdisk/4/401' exited with status: 1
do you know why?
Regards