LinHES Forums
http://forums.linhes.org/

Zoneminder in 8.2
http://forums.linhes.org/viewtopic.php?f=21&t=24079
Page 1 of 1

Author:  snaproll [ Sat Nov 01, 2014 11:16 am ]
Post subject:  Zoneminder in 8.2

I have been running Zoneminder in an old Ubuntu distro for a long time, until taking the system down due to room painting, too many restarts, corrupted the program so it won't start (says version (1.25) mismatch :?:

I had just upgraded an 8.1.1 to 8.2 and decided to see how the Zoneminder in that worked ...

Well I got the console and used the settings that worked before but I get a sea of red in the logs ...

Primarily a message: 'Can't open memory map file '/dev/shm/zm.mmap.3': No such file or directory' repeatedly.

So some internet research sez this may fix that (but I think it refers to a Ubuntu-based ZM ....

Quote:
Shared data size conflict in shared_data for monitor Monitor-1, expected 328, got 316.

I traced this error back to /usr/share/perl5/ZoneMinder/Memory.pm with the cause sourcing at line 130 in the perl script.

To hopefully fix this issue, change the line at 130 from

our $arch = int(3.2*length(~0));

To the following (It's advisable to comment out the old line and leave it there).

our $arch = 32;


One of the reply's was: "Thank you. It also solves other problem with shared memory file

Can’t open memory map file ‘/dev/shm/zm.mmap.1′: No such file or directory"


Unfortunately, I get 'file not found' looking for '/usr/share/perl5/ZoneMinder/Memory.pm'

Is there a road map to where LinHes puts the ZM files ?

Author:  bobmyth [ Mon Nov 03, 2014 10:32 pm ]
Post subject:  Re: Zoneminder in 8.2

I am still using 8.1, but my zoneminder is working fine.

I would suggest you reset your settings if possible, they sound as if they are quite different than what LinHes expects. For example, the shared memory is /dev/shm.

Are you using capture cards or IP cameras?

Author:  snaproll [ Sun Nov 09, 2014 9:43 am ]
Post subject:  Re: Zoneminder in 8.2

I still haven't figured this out in LinHes ...

In the interests of getting my system up again, I installed Ubuntu 14.04 Server and then 1.27 Zoneminder on it.

This was up and running after a little fiddling with the camera inputs (Using local PCI camera cards, and wired IP cameras.)
[No having to jockey with the shared memory]

I'm still going to play with the LinHes version if I can find where the pertinent files are ...

Author:  brfransen [ Sun Nov 09, 2014 11:45 am ]
Post subject:  Re: Zoneminder in 8.2

To list all the files installed by a certain package:
Code:
pacman -Ql zoneminder

Author:  snaproll [ Sun Nov 09, 2014 5:26 pm ]
Post subject:  Re: Zoneminder in 8.2

Thank You !

Sometimes it's just a matter of knowing where to start digging ... :mrgreen:

,

Author:  bobmyth [ Sun Nov 09, 2014 8:19 pm ]
Post subject:  Re: Zoneminder in 8.2

I did finally upgrade to 8.2 and I am having the same issue. I will post a follow-up when I make progress. Please do the same.

Author:  snaproll [ Sun Nov 09, 2014 8:33 pm ]
Post subject:  Re: Zoneminder in 8.2

bobmyth wrote:
I did finally upgrade to 8.2 and I am having the same issue. I will post a follow-up when I make progress. Please do the same.


Roger that !

Author:  vtdstein95 [ Fri Nov 21, 2014 2:45 pm ]
Post subject:  Re: Zoneminder in 8.2

Same issue here. I did some quick googling and saw something about permissions. I changed the persmissions of /dev/shm to http:http. No joy although I think the log looks a little different now. Also was a permission warning when doing a pacman -S zoneminder but fixing that did not change anything. I'll keep looking and checking back here as well.

Author:  bobmyth [ Mon Dec 22, 2014 10:43 pm ]
Post subject:  Re: Zoneminder in 8.2

I have found one issue, zoneminder is missing some libraries. I've already filed a bug report:

http://linhes.org/issues/985

Once this is resolve, perhaps it will work.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/