ZM dropping cameras

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

ZM dropping cameras

Post by empty01 »

Hi
I installed zm1.32 on a Sunfire x2250 with a 8Tb new HDD, running Ubuntu 18.04.1 LTS.

I have 16 IP cameras connected and am able to view their RTSP streams using FFMPEG and TCP.

However, ZM consistently drops certain cameras and I can't get them back by restarting ZM (or indeed by restarting the Sunfire x2250).

The only way I can get them back is by restarting the cameras themselves.

So on all my cameras I have setup a daily reboot. On some cameras they will last for a few hours, up to 12 hours, but I will always lose their streams in ZM by 16 hours (most after 4 hours).

However, I can still view the camera streams via the cameras' web interfaces, and view the RTSP streams via VLC.

Can't make sense of this:
If it was a problem with the cameras then why can I still view the camera streams via the cameras' web interfaces, and view the RTSP streams via VLC?
If it was a problem with ZM, why doesn't restarting ZM, or indeed by restarting the Sunfire x2250, solve my problems?

Any help gratefully received.

All best

Mark
Maximo1970
Posts: 97
Joined: Sun May 28, 2017 4:29 pm

Re: ZM dropping cameras

Post by Maximo1970 »

When I first started to get serious about using ZM I encountered a similar problem to yourself. In my setup I have a NVR which has the cameras attached via BMC cables. The NVR provides two streams for each camera, Hi-Res and Low-Res. My first installation of ZM was on a single server which had all of the streams (16 in total) configured. I would get a few hours from this setup before having to reboot my server, which as you've experienced is great as you could easily miss something from the cameras during the reboot.

I now have a 4 VM's running ZM in Multi Server mode. Three of the servers are dedicated to the Hi-Res streams and the forth server handles all of the Low-Res streams. So far so good, I've not had any issues with this setup and have been running this way for about 12 months now. The servers get a reboot every now and then when doing an update via yum.

So it maybe worth installing VMWare and splitting your server into a similar configuration as mine.

Regards,

Garry
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

Thanks Garry
Interesting idea - i'll look into it, although as I pointed out: "I can't get them back by restarting ZM (or indeed by restarting the Sunfire x2250)"

I have read quite a lot of forum posts related to this issue and one suggestion that comes up is tuning mysql. Now bizarrely, I have built some mysql databases by writing direct mysql code as part of my day job, but I can't make sense of any of the 'tuning' instructions.

All best

Mark
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: ZM dropping cameras

Post by snake »

In my experience, cameras dropping out appear to be brand dependent.

What brand of cameras do you have?
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

All the ones that drop out have 'Robox' written on them. But also, some Robox cameras never drop out
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM dropping cameras

Post by iconnor »

Without logs we can do nothing.
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

Appreciated. Here's some - only showing ERR:

2019-04-11 18:29:34 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:29:34 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:34 zmc_m5 29701 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:29:34 zmc_m5 29701 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:30 zma_m9 29715 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:29:30 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:29:25 zma_m9 29714 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:29:25 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:29:23 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:23 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:29:13 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:29:13 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:13 zmc_m9 29693 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:29:13 zmc_m9 29693 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:03 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:29:03 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:52 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:52 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:41 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:41 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:32 zmc_m5 29669 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:32 zmc_m5 29669 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:30 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:30 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:28 zma_m9 29692 ERR Shared data not initialised by capture daemon for monitor Garage_R2 zm_monitor.cpp 477
2019-04-11 18:28:28 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:20 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:20 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:18 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:18 zma_m9 29691 ERR Shared data not initialised by capture daemon for monitor Garage_R2 zm_monitor.cpp 477
2019-04-11 18:28:13 zma_m9 29690 ERR Shared data not initialised by capture daemon for monitor Garage_R2 zm_monitor.cpp 477
2019-04-11 18:28:13 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:12 zma_m9 29689 ERR Shared data not initialised by capture daemon for monitor Garage_R2 zm_monitor.cpp 477
2019-04-11 18:28:12 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:11 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.9' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:28:10 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:28:10 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:08 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:08 zma_m9 29679 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:28:02 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:28:02 zma_m9 29678 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:28:00 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:28:00 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:51 zmc_m9 29658 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:51 zmc_m9 29658 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:50 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:50 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:39 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:39 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:30 zmc_m5 29645 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:30 zmc_m5 29645 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:28 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:28 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:17 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:17 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:06 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:27:06 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:27:01 zma_m9 29657 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:27:01 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:56 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:55 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:49 zmc_m9 29628 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:49 zmc_m9 29628 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:48 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:48 zma_m5 29648 ERR Shared data not initialised by capture daemon for monitor Courtyard_RD2 zm_monitor.cpp 477
2019-04-11 18:26:47 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.5' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:26:46 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:46 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:45 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:45 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:45 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:45 zma_m5 29640 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:45 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:45 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:45 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:45 zmc_m15 29608 ERR Unable to send packet at frame 366: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:26:34 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:34 zma_m5 29639 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:34 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:34 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:29 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:29 zma_m5 29638 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:27 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:27 zma_m5 29637 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:26 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.5' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:26:24 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:24 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:22 zma_m5 29630 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:22 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:17 zma_m5 29627 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:26:17 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:26:14 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:14 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:06 zmc_m9 29596 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:06 zmc_m9 29596 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:05 zmc_m5 29591 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:05 zmc_m5 29591 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:26:03 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:26:03 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:53 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:53 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:43 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:43 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:42 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:42 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:42 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:42 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:41 zmc_m15 29608 ERR Unable to send packet at frame 49: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:25:32 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:32 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:25 zma_m15 29607 ERR Shared data not initialised by capture daemon for monitor Pool_RB30-1 zm_monitor.cpp 477
2019-04-11 18:25:25 zmdc 28808 ERR 'zma -m 15' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:24 zma_m9 29599 ERR Shared data not initialised by capture daemon for monitor Garage_R2 zm_monitor.cpp 477
2019-04-11 18:25:24 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:23 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.9' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:25:22 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:22 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:21 zma_m9 29590 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:21 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:19 zma_m5 29589 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:19 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:14 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:14 zma_m5 29588 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:12 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:12 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:10 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:09 zma_m9 29587 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:04 zma_m9 29584 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:04 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:03 zma_m9 29583 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:25:03 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:25:02 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:02 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:25:02 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.9' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:25:01 zmc_m5 29553 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:25:01 zmc_m5 29553 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:59 zma_m9 29563 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:24:59 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:24:53 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:24:53 zma_m9 29562 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:24:51 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:51 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:41 zmc_m9 29540 ERR Unable to open input rtsp://192.168.1.189:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:41 zmc_m9 29540 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:40 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:40 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:30 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:30 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:19 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:19 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:17 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:24:16 zma_m5 29552 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:24:10 zmdc 28808 ERR 'zma -m 5' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:24:10 zma_m5 29550 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:24:09 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:24:09 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:24:06 zmc_m17 29043 ERR Unable to send packet at frame 13412: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:24:06 zmc_m17 29043 ERR Unable to send packet at frame 13412: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:24:06 zmc_m17 29043 ERR Unable to send packet at frame 13412: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:24:04 zmc_m17 29043 ERR Unable to send packet at frame 13412: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:59 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:59 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:59 zmc_m5 29528 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:59 zmc_m5 29528 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:57 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:57 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:57 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:57 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:56 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:56 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:56 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:56 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:56 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:55 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:54 zmc_m1 29475 ERR Unable to send packet at frame 800: Resource temporarily unavailable, continuing zm_ffmpeg_camera.cpp 240
2019-04-11 18:23:49 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:49 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:39 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:39 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:38 zmwatch 29074 ERR Memory map file '/dev/shm/zm.mmap.9' should have been 1160 but was instead 0 zmwatch.pl
2019-04-11 18:23:36 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:23:35 zma_m9 29531 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:23:30 zmdc 28808 ERR 'zma -m 9' exited abnormally, exit status 255 zmdc.pl
2019-04-11 18:23:30 zma_m9 29530 ERR Got empty memory map file size 0, is the zmc process for this monitor running? zm_monitor.cpp 538
2019-04-11 18:23:29 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:29 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:19 zmc_m8 28895 ERR Failed to prime capture of initial monitor zmc.cpp 253
2019-04-11 18:23:18 zmc_m8 28895 ERR Unable to open input rtsp://192.168.1.187:554/ch01.264 due to: Operation now in progress zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:17 zmc_m5 29507 ERR Unable to open input rtsp://192.168.1.136:554/ch01.264 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2019-04-11 18:23:17 zmc_m5 29507 ERR Failed to prime capture of initial monitor zmc.cpp 253
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

Any thoughts?
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM dropping cameras

Post by iconnor »

Your url to the camera doesn't have any username/password included. So it's probably a camera auth problem.
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

But it works for some of the time and then loses the stream
empty01
Posts: 50
Joined: Tue Mar 28, 2017 1:30 pm

Re: ZM dropping cameras

Post by empty01 »

Just an update to this thread. Zoneminder is still dropping cameras - as described above. The only (rather imperfect) solution I have found is to install python-onvif, see:
https://github.com/quatanium/python-onvif

The act of Initializing an ONVIFCamera instance seems to nudge my lost cameras back into action. Weirdly, I don't have to use python-onvif to restart the camera, or send any other onvif commands, just Initialize the instance.

Does this make any sense to any Zoneminder experts? Makes no sense to me.

Anyway, I will now try to write a python script to monitor if cameras are 'not running' or 'not capturing'. Not sure the best way to do this, other that use curl and the API. Any hints gratefully received.

All best

Mark
Post Reply