Hi, hoping for some help... anything would be greatly appreciated, I seem to be stymied in my troubleshooting. Thanks in advance.
Fresh install of Ubuntu 20.04+zm 1.32.3, SQL can read the db as zmuser, zoneminder service starts, apache/php appear to be configured ok. Get web console, but DBell doorbell camera will not work, says "not capturing." I see the below reason "Interrupted System Call." Also seems to maybe be a problem with zmc?
BTW this camera was working just a week or two ago on a raspberry pi with an older version of zm (don't remember what ver but I think around 1.31, but I can't check because that pi crashed and is offline now.)
Please let me know if you want any more information.
systemctl status
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-07-09 07:14:20 PDT; 21h ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 1086 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 1134 (zmdc.pl)
Tasks: 5 (limit: 9419)
Memory: 264.8M
CGroup: /system.slice/zoneminder.service
├─ 1134 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─ 1422 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─ 1429 /usr/bin/perl -w /usr/bin/zmtelemetry.pl
├─ 1437 /usr/bin/perl -wT /usr/bin/zmstats.pl
└─100408 /usr/bin/zmc -m 1
Jul 10 04:18:53 *hostname removed* zmdc[1134]: WAR [Can't find process with command of 'zmc -m 1']
Jul 10 04:18:53 *hostname removed* zmdc[100408]: INF ['zmc -m 1' started at 21/07/10 04:18:53]
Jul 10 04:18:53 *hostname removed* zmdc[1134]: INF ['zmc -m 1' starting at 21/07/10 04:18:53, pid = 100408]
Jul 10 04:18:54 *hostname removed* zmc_m1[100408]: INF [zmc_m1] [Starting Capture version 1.32.3]
Jul 10 04:18:54 *hostname removed* zmc_m1[100408]: INF [zmc_m1] [Priming capture from rtsp://admin:****~@192.168.101.175:10554/tcp/av0_0]
Jul 10 04:19:03 *hostname removed* zmwatch[1422]: INF [Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1625915934 - now 1625915943 > 5]
Jul 10 04:19:03 *hostname removed* zmdc[1134]: INF ['zmc -m 1' sending stop to pid 100408 at 21/07/10 04:19:03]
Jul 10 04:19:04 *hostname removed* zmc_m1[100408]: INF [zmc_m1] [Got signal 15 (Terminated), exiting]
Jul 10 04:19:04 *hostname removed* zmc_m1[100408]: ERR [zmc_m1] [Unable to open input rtsp://admin:****~@192.168.101.175:10554/tcp/av0_0 due to: Interrupted system call]
Jul 10 04:19:04 *hostname* zmc_m1[100408]: ERR [zmc_m1] [Failed to prime capture of initial monitor]
ZM Logs:
2021-07-10 04:11:46 zmwatch 1422 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2021-07-10 04:11:46 zmwatch 1422 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2021-07-10 04:11:46 zmdc 1134 WAR Can't find process with command of 'zmc -m 1' zmdc.pl
2021-07-10 04:11:46 zmdc 1134 INF 'zmc -m 1' starting at 21/07/10 04:11:46, pid = 99843 zmdc.pl
2021-07-10 04:11:46 zmdc 99843 INF 'zmc -m 1' started at 21/07/10 04:11:46 zmdc.pl
2021-07-10 04:11:46 zmc_m1 99843 INF Starting Capture version 1.32.3 zmc.cpp 223
2021-07-10 04:11:46 zmc_m1 99843 INF Priming capture from rtsp://admin:****~@192.168.101.175:10554/tcp/av0_0 zm_ffmpeg_camera.cpp 163
2021-07-10 04:11:36 zmdc 1134 INF Command 'zmc -m 1' removed from pending list at 21/07/10 04:11:36 zmdc.pl
2021-07-10 04:11:36 zmdc 1134 INF 'zmc -m 1' exited normally zmdc.pl
2021-07-10 04:11:35 zmwatch 1422 INF Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1625915475 - now 1625915495 > 5 zmwatch.pl
2021-07-10 04:11:25 zmwatch 1422 INF Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1625915475 - now 1625915485 > 5 zmwatch.pl
2021-07-10 04:11:25 zmdc 1134 INF 'zmc -m 1' sending stop to pid 99804 at 21/07/10 04:11:25 zmdc.pl
2021-07-10 04:11:25 zmc_m1 99804 INF Got signal 15 (Terminated), exiting zm_signal.cpp 40
2021-07-10 04:11:25 zmc_m1 99804 ERR Unable to open input rtsp://admin:****~@192.168.101.175:10554/tcp/av0_0 due to: Interrupted system call zm_ffmpeg_camera.cpp 357
2021-07-10 04:11:25 zmc_m1 99804 ERR Failed to prime capture of initial monitor zmc.cpp 253
2021-07-10 04:11:15 zmc_m1 99804 INF Priming capture from rtsp://admin:****~@192.168.101.175:10554/tcp/av0_0 zm_ffmpeg_camera.cpp 163
2021-07-10 04:11:15 zmc_m1 99804 INF Starting Capture version 1.32.3 zmc.cpp 223
2021-07-10 04:11:15 zmdc 1134 INF 'zmc -m 1' starting at 21/07/10 04:11:15, pid = 99804 zmdc.pl
2021-07-10 04:11:15 zmdc 99804 INF 'zmc -m 1' started at 21/07/10 04:11:15 zmdc.pl
2021-07-10 04:11:15 zmdc 1134 WAR Can't find process with command of 'zmc -m 1' zmdc.pl
2021-07-10 04:11:15 zmwatch 1422 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2021-07-10 04:11:15 zmwatch 1422 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2021-07-10 04:11:05 zmwatch 1422 INF Restarting capture daemon for Monitor-1, no image since startup. Startup time was 1625915445 - now 1625915465 > 5 zmwatch.pl
2021-07-10 04:11:05 zmdc 1134 INF 'zmc -m 1' exited normally zmdc.pl
2021-07-10 04:11:05 zmdc 1134 INF Command 'zmc -m 1' removed from pending list at 21/07/10 04:11:05 zmdc.pl
DBell doorbell camera not working
Re: DBell doorbell camera not working
Reads like it gets nothing from the camera. Test using ffmpeg from the command line.
-
-
- Posts: 3
- Joined: Sat Jul 10, 2021 11:07 am
Re: DBell doorbell camera not working
Would an equivalent to ffmpeg testing be using VLC to try to open the stream?
If so, I can't open the stream, it errors with: "unable to open the MRL." I guess that would point to the camera itself then?
If so, I can't open the stream, it errors with: "unable to open the MRL." I guess that would point to the camera itself then?
Re: DBell doorbell camera not working
It's another way of proving the video cannot be obtained from the camera. It could be the camera, or the URL etc for the camera is wrong.
-
-
- Posts: 3
- Joined: Sat Jul 10, 2021 11:07 am
Re: DBell doorbell camera not working
Thanks for the assist!
Looks like it is the camera, since that was the correct URL I had used last time that it was working. Just strange it would go out same time my pi crashed. Coincidental I suppose.
Looks like it is the camera, since that was the correct URL I had used last time that it was working. Just strange it would go out same time my pi crashed. Coincidental I suppose.
Re: DBell doorbell camera not working
You need to use TCP mode IIRC. My dbell is disconnected at the moment, but I recall that UDP doesn't work with them.