zmfilter.pl exited abnormally, exit status 9

Forum for questions and support relating to the 1.26.x releases only.
Locked
squaquerone
Posts: 4
Joined: Sun Nov 17, 2013 5:40 pm

zmfilter.pl exited abnormally, exit status 9

Post by squaquerone »

Hello,

I'd really appreciate some help with the following problem I've had since upgrading from 1.26.4 to 1.26.5 on Ubuntu 13.04

I'm getting the following error in the log:
2013-12-27 09:28:44.326630 zmdc 2959 ERR 'zmfilter.pl ' exited abnormally, exit status 9 zmdc.pl
2013-12-27 09:28:44.112440 zmdc 3679 INF 'zmfilter.pl' started at 13/12/27 09:28:44 zmdc.pl
2013-12-27 09:28:44.112430 zmdc 2959 INF 'zmfilter.pl' starting at 13/12/27 09:28:44, pid = 3679 zmdc.pl
2013-12-27 09:28:44.044840 zmdc 2959 INF Starting pending process, zmfilter.pl zmdc.pl
Obviously as a result my disc is filling up! Any ideas on how I should address this issue gratefully received!

Thanks
Andrew
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmfilter.pl exited abnormally, exit status 9

Post by knight-of-ni »

Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
pyroman
Posts: 25
Joined: Fri Jan 03, 2014 6:40 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by pyroman »

I have the same issue, on Ubuntu 12.04.

I did the edit in /usr/bin/zmfilter.pl as shown in the corrected script example.

-----------------------------------------------------------------------------------------------
use constant EVENT_PATH => ($Config{ZM_DIR_EVENTS}=~m|/|)?$Config{ZM_DIR_EVENTS}:($Config{ZM_PATH_WEB}.'/'.$Config{ZM_DIR_EVENTS});

----------------------------------------------------------------------------------------------
No change, the errors are still happening.
biboun
Posts: 9
Joined: Sat Jan 04, 2014 3:45 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by biboun »

Hi, I had the same issue, not sure it is the same reason:
here is a way to try and debug:

run

Code: Select all

/usr/bin/zmfilter.pl 

manually on ssh and check if there are errors.

on my system, I had :
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/bin/zmfilter.pl line 104.
which if I undesrtands well means there are some missing perl extensions, or they are installed somewhere else than perl search path.

I've found it was in this package so Installed it:

Code: Select all

apt-get install libmime-tools-perl
and problem was solved
pyroman
Posts: 25
Joined: Fri Jan 03, 2014 6:40 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by pyroman »

I ran the install you mention. Then I ran the filter script. This is what I got:

Global symbol "%Config" requires explicit package name at /usr/bin/zmfilter.pl line 55.
Global symbol "%Config" requires explicit package name at /usr/bin/zmfilter.pl line 55.
Global symbol "%Config" requires explicit package name at /usr/bin/zmfilter.pl line 55.
Global symbol "%Config" requires explicit package name at /usr/bin/zmfilter.pl line 55.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmfilter.pl line 55.


This is line 55 in the script:

use constant EVENT_PATH => ($Config{ZM_DIR_EVENTS}=~m|/|)?$Config{ZM_DIR_EVENTS}:($Config{ZM_PATH_WEB}.'/'.$Config{ZM_DIR_EVENTS});


Anyone have any ideas? I need this fixed in a week or so, or else I lose a contract :(
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: zmfilter.pl exited abnormally, exit status 9

Post by knight-of-ni »

pyroman wrote: Anyone have any ideas? I need this fixed in a week or so, or else I lose a contract :(
Pyroman,
Unless you have upgraded to 1.26.5 specifically for certain updates to the RTSP code, then I recommend you roll back to zoneminder 1.26.4. We will have these issues fixed for the 1.26.6 release. We also plan to start using Release Candidates to flesh out issues like this before it becomes a release.

Thanks,
Knnniggett
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
muchacha_grande
Posts: 4
Joined: Sun Jan 05, 2014 2:29 am

Re: zmfilter.pl exited abnormally, exit status 9

Post by muchacha_grande »

Hi, I have the same issue on 1.26.5 and Ubuntu 13.04.

But additionally the problem is also on zmtrigger.pl as you can see on the log:

2014-01-04 23:20:41.533330 zmdc 5125 ERR 'zmfilter.pl ' exited abnormally, exit status 9 zmdc.pl
2014-01-04 23:20:41.064210 zmdc 12706 INF 'zmfilter.pl' started at 14/01/04 23:20:41 zmdc.pl
2014-01-04 23:20:41.063980 zmdc 5125 INF 'zmfilter.pl' starting at 14/01/04 23:20:41, pid = 12706 zmdc.pl
2014-01-04 23:20:41.055830 zmdc 5125 INF Starting pending process, zmfilter.pl zmdc.pl
2014-01-04 23:20:39.401680 zmdc 5125 ERR 'zmtrigger.pl ' exited abnormally, exit status 9 zmdc.pl
2014-01-04 23:20:39.069640 zmdc 12703 INF 'zmtrigger.pl' started at 14/01/04 23:20:39 zmdc.pl
2014-01-04 23:20:39.069600 zmdc 5125 INF 'zmtrigger.pl' starting at 14/01/04 23:20:39, pid = 12703 zmdc.pl
2014-01-04 23:20:39.055530 zmdc 5125 INF Starting pending process, zmtrigger.pl zmdc.pl

Every ten minutes this is repeated... and of course my disk is filled up soon...

Bye...
pyroman
Posts: 25
Joined: Fri Jan 03, 2014 6:40 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by pyroman »

Ok, for now I will monitor my disk usage and purge events manually. I'm not doing anything with the filters at the moment anyway, except for the automatic purge when full. I can live with a little inconvenience while you guys are catching up on the bugs, as long as I know that they are being worked on :)
muchacha_grande
Posts: 4
Joined: Sun Jan 05, 2014 2:29 am

Re: zmfilter.pl exited abnormally, exit status 9

Post by muchacha_grande »

I can't find 1.26.4 to install following the easy way using Isaac Connor repository so I asume that I'll wait to 1.26.6 version.
biboun
Posts: 9
Joined: Sat Jan 04, 2014 3:45 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by biboun »

you were talking in another post about that:
http://www.zoneminder.com/forums/viewto ... 30&t=21793

did you check the last posts ?
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zmfilter.pl exited abnormally, exit status 9

Post by iconnor »

Hey everyone, we will hopefully get .6 out soon.

We have been fixing these problems and some other ones that have been around for years.

For anyone using my PPA, you might want to also add my master snapshot ppa at ppa:iconnor/zoneminder-master
ac7ss
Posts: 4
Joined: Wed Mar 05, 2014 3:55 pm

Re: zmfilter.pl exited abnormally, exit status 9

Post by ac7ss »

Thank you!!!
biboun wrote:
I've found it was in this package so Installed it:

Code: Select all

apt-get install libmime-tools-perl
and problem was solved
This should be in the dependencies.
Locked