Page 1 of 1

Can Zoneminder 1.30.4 runs on Raspberry pi model B+?

Posted: Wed Feb 21, 2018 8:14 am
by RE_Borbone
Hello everyone,
we "successfully" installed zoneminder 1.30.4 on raspberry model B+ but when we try to open new monitor we get in this problem.

Code: Select all


pi@raspberrypi:~ $ sudo systemctl status zoneminder.service
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
   Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-02-21 07:40:43 UTC; 27min ago
  Process: 24292 ExecStop=/usr/bin/zmpkg.pl stop (code=exited, status=0/SUCCESS)
  Process: 5690 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
 Main PID: 5720 (zmdc.pl)
   CGroup: /system.slice/zoneminder.service
           ├─5720 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
           ├─5763 /usr/bin/perl -wT /usr/bin/zmfilter.pl
           ├─5775 /usr/bin/perl -wT /usr/bin/zmaudit.pl -c
           └─5787 /usr/bin/perl -wT /usr/bin/zmwatch.pl

Feb 21 08:07:56 raspberrypi zmwatch[5787]: INF [Restarting capture daemon for Monitor-1, shared data not valid]
Feb 21 08:08:00 raspberrypi zmdc[5720]: INF ['zmc -m 1' starting at 18/02/21 08:08:00, pid = 6213]
Feb 21 08:08:00 raspberrypi zmdc[6213]: INF ['zmc -m 1' started at 18/02/21 08:08:00]
Feb 21 08:08:03 raspberrypi zmdc[5720]: INF ['zmc -m 1' crashed, signal 4]
Feb 21 08:08:11 raspberrypi zmwatch[5787]: [color=#BF0000]ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist.  zmc might not be running.][/color]
Feb 21 08:08:12 raspberrypi zmwatch[5787]: INF [Restarting capture daemon for Monitor-1, shared data not valid]
Feb 21 08:08:16 raspberrypi zmdc[6216]: INF ['zmc -m 1' started at 18/02/21 08:08:16]
Feb 21 08:08:16 raspberrypi zmdc[5720]: INF ['zmc -m 1' starting at 18/02/21 08:08:16, pid = 6216]
Feb 21 08:08:19 raspberrypi zmdc[5720]: INF ['zmc -m 1' crashed, signal 4]
Feb 21 08:08:28 raspberrypi zmwatch[5787]:[color=#BF0000] ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist.  zmc might not be running.][/color]

and this is our hardware specs:

Code: Select all


 cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 0010
Serial          : 0000000072899d3e
pi@raspberrypi:~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:            434         155          44          30         234         198
Swap:            99          13          86
so My question is:
is it possible to run correctly this version of zoneminder with our hardware specs or is it infeasible?

thanks to all

Re: Can Zoneminder 1.30.4 runs on Raspberry pi model B+?

Posted: Wed Feb 21, 2018 1:18 pm
by knight-of-ni
No.
The cpu is too slow and the amount of ram is just too little to run zoneminder + sql database + cameras.

With that hardware the best you can hope for is to build a Raspberry Pi camera (only), and then run ZoneMinder on some other machine on your network.

I've done just that with a Raspberry Pi Zero here:
http://zoneminder.blogspot.com/p/rasbpe ... amera.html

You can do the same thing with your B+.

Re: Can Zoneminder 1.30.4 runs on Raspberry pi model B+?

Posted: Thu Mar 01, 2018 10:58 pm
by joseph85750
I tried this as well, but it just couldn't cut it. The video was very choppy, it was sluggish, etc.
Unfortunate.
I ended up using an old Dell laptop (D620) which was no longer suitable for my current desktop needs but great for Zoneminder. Installed Ubuntu 16 server using the Zoneminder Ubuntu docs. Works great.
You can probably find a cheap used one on Ebay for about the price of a RP. I just checked and saw someone selling a lot of 4 of them for $51.

Re: Can Zoneminder 1.30.4 runs on Raspberry pi model B+?

Posted: Fri Mar 02, 2018 12:37 am
by knight-of-ni
I almost mentioned this in my last reply. A couple of us have been working with Odroid's and they are performing really well.
If you are looking for small, the following Odroid's in particular seem to be the holy-grail in mini arm based zoneminder servers:

https://ameridroid.com/products/odroid-hc1-0003a

https://ameridroid.com/products/odroid-hc2

These are 8 (asymmetric) core machines with 2GB ram.
The hc1 accepts a 2.5" drive while the hc2 accepts a 3.5" drive.

However, if cost is more important for your application then a good solution is to do what joseph85750 did. Just buy a small, used pc. Anything with at least 4 cores (not hyperthreaded) will be able to drive a handle of HD IP cameras just fine.