Pular para o conteúdo

erro ao iniciar Zoneminder

Responder tópico
  • Denunciar
  • Indicar

1. erro ao iniciar Zoneminder

Enviado em 27/07/2011 - 17:54h

E ae rapazeada, blz?

entao instalei tudo sem erros, quando tento iniciar o serviço zoneminder, aparece o seguinte:

# ./zoneminder start
Iniciando o ZoneMinder: Bareword "PROT_READ" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "PROT_WRITE" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Bareword "MAP_SHARED" not allowed while "strict subs" in use at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/Mapped.pm line 91.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm line 120.
Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder.pm line 37.
Compilation failed in require at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
[FALHOU]

alguem sabe o que pode ser?

Fedora15.

Responder tópico

2. Re: erro ao iniciar Zoneminder

Enviado em 28/07/2011 - 08:02h

upzinho...

3. funciona...

Enviado em 25/08/2011 - 18:40h

O problema parece ligado com o uso da "memory map" em lugar de "shared memory" (default a partir da versao 1.23.x)

Eu resovli assim (Fedora15 tbem):

edite o file /usr/share/perl5/vendor_perl/ZoneMinder/Memory.pm linha 118

velha linha: if ( "yes" eq 'yes' ) # 'yes' if memory is mmapped

substituindo com a

nova linha: if ( "no" eq 'yes' ) # 'yes' if memory is mmapped 'no' if use shared memory

Agora Zoneminder is up and running.

Desculpe por o meu horrivel portugues

Gianxx







Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder