Search found 61 matches

by abi
Fri Apr 22, 2016 6:25 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

achix wrote:Guys are you sure you have read this : viewtopic.php?f=9&t=23298 ?
I read it. That patches was accepted by upsteam mostly. The issues ZM has now are not covered by that thread.
by abi
Sun Apr 17, 2016 3:47 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

OK, I built ZM with ZENDFILE disabled - now it plays. 04/17/16 18:45:41.346025 zms[100144].DB1-zm_stream.cpp/311 [We have obtained a lock on /var/run/zm/zms-284362.lock fd: 8] 04/17/16 18:45:41.346168 zms[100144].DB2-zm_event.cpp/1222 [Sending frame 1] 04/17/16 18:45:41.601179 zms[100144].DB2-zm_eve...
by abi
Sun Apr 17, 2016 1:09 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

I inserted some debug code and looks like I found the function that crashes zms if(zm_sendfile(fileno(stdout), fileno(fdj), 0, (int)filestat.st_size) != (int)filestat.st_size) { No return from here. I inserted debug code there and got Signal 11 after the first Foo1 (was Signal 4 with original source...
by abi
Sat Apr 09, 2016 6:49 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

This likely means you are missing at least one Perl module. As always, execute the script from the command line (as root) to get more information. Probably, I didn't looked into it yet. Replay is a mode in ZoneMinder which can be one of: Single Event, Gapless Events, or All Events. However, from th...
by abi
Sat Apr 09, 2016 9:47 am
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

One blocker left - Signal 4 on replay. I doubt this one as easy as fcgiwrap settings. As ZM was compiled, it simply can't contain illegal instructions ? So, this is a stack corruption ?
by abi
Sat Apr 09, 2016 9:44 am
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

I solved the mystery of 1 camera show! fcgiwrap spawns 1 children on default settings (the rc file mentions 4 workers - so I was confused until I looked into rc script deeply).
by abi
Wed Apr 06, 2016 2:34 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

I am not necessarily opposed to changing the folders configured when setting ZM_TARGET_DISTRO. However, there needs to be a good, documented reason why. The folders currently assigned are all based off the Filesystem Hierarchy Standard and the FreeBSD handbook: https://en.wikipedia.org/wiki/Filesys...
by abi
Wed Apr 06, 2016 2:18 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

OK, let me know if you want me to generate some debugging or log information for comparison. 1. Do you have analog/USB cameras ? I have no luck compiling support of them - cmake doesn't detect V4L. However, I didn't investigated the matter. 2. Can you check my port under nginx? You need to install ...
by abi
Wed Apr 06, 2016 9:36 am
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225476

Re: ZM on FreeBSD

I have almost working distrubution for FreeBSD, however 2 blockers on zms preventing port release.
https://github.com/abishai/Zoneminder-port
If you wish, you can test it and send feedback.
by abi
Mon Mar 21, 2016 9:52 pm
Forum: ZoneMinder 1.29.x
Topic: FreeBSD port
Replies: 4
Views: 2293

Re: FreeBSD port

Architecture independent shared data, belongs under /usr/share/{application}, but if we look at the exceptions below the table, we can see that FreeBSD makes an exception for its ports collection. So for the case of FreeBSD, the folder becomes /usr/local/share/{application} . True, however scripts,...
by abi
Mon Mar 21, 2016 7:42 pm
Forum: ZoneMinder 1.29.x
Topic: FreeBSD port
Replies: 4
Views: 2293

Re: FreeBSD port

I see, but I'd prefer to override them. 1. ZM_WEBDIR should point to /usr/local/www/zoneminder 2. Are there any reasons to keep zms not in /usr/local/www/zoneminder/cgi-bin? 3. ZM_CONTENTDIR from my point of view should point to directory relative to ZM_WEBDIR, but if images and events MUST be in ZM...
by abi
Mon Mar 21, 2016 5:51 pm
Forum: ZoneMinder 1.29.x
Topic: FreeBSD port
Replies: 4
Views: 2293

FreeBSD port

I'm making port for FreeBSD and looks like I don't understand idea of ZM_CONTENTDIR. From INSTALL - Location of dynamic content (events and images), default: /var/lib/zoneminder From ZM description it is mentioned that folder is relative to web root. From PHP files // Check for valid content dirs if...
by abi
Thu Dec 03, 2015 6:52 am
Forum: Mobile Apps and Event Server
Topic: zmNinja for desktops
Replies: 93
Views: 62211

Re: zmNinja for desktops

Anyone experiencing effect: for example, I writing frames with 5 fps on disk. If I try to playback sequence it plays 1 frame per 1 second (option on Dev page, 1 second minimal). So, my playback runs 5 times slower. It's very hard to analyze more or less long sequence. I think, this option should be ...
by abi
Thu Dec 03, 2015 6:21 am
Forum: ZoneMinder 1.28.x
Topic: Zoneminder crash
Replies: 0
Views: 2395

Zoneminder crash

Hello. I'm experiencing crashes ~1 per day without any noticeable reasons. ZM v1.28.109 Logs seems to be the same (zmc instance differs) Dec 03 04:36:28 zoneminder.home zmc_m4[2783]: WAR [Packet in sequence, gap 849] Dec 03 04:36:28 zoneminder.home zmc_m4[2783]: WAR [Discarding frame 84916] Dec 03 0...
by abi
Tue Nov 24, 2015 5:39 pm
Forum: ZoneMinder 1.28.x
Topic: ZM is writing faster than it's ability to clean
Replies: 4
Views: 2331

Re: ZM is writing faster than it's ability to clean

I switched to ext4.

Code: Select all

mkfs.ext4 -T small -m 1 /dev/vdb
tune2fs -O ^has_journal /dev/vdb

Code: Select all

dev/vdb				/zoneminder			ext4	defaults,noatime,nodiratime,commit=120		0 2
Looks like it handles ZM load pattern much better.
You shouldn't do this on root volume.