Background filter : error with zmfilter.pl ???
Posted: Sun Mar 02, 2008 11:02 am
Dear,
I created my own "purgeDisk" filter to purge as soon as the disk is above the 60% usage.
This filter works when I run it manually but I want to run it in background ("Delete all match" & "run filter in background" are activated)
When looking to zmdc.log I have an error related to zmfilter every 10 min:
03/02/08 11:28:36.055548 zmdc[31570].INF ['zmfilter.pl' starting at 08/03/02 11:28:36, pid = 26864]
03/02/08 11:28:41.667947 zmdc[31570].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
03/02/08 11:38:41.029324 zmdc[31570].INF [Starting pending process, zmfilter.pl]
03/02/08 11:38:41.076276 zmdc[31570].INF ['zmfilter.pl' starting at 08/03/02 11:38:41, pid = 27904]
When running zmfilter.pl manually I get :
Can't use an undefined value as an ARRAY reference at /usr/local/bin/zmfilter.pl line 272
The line 272 contains : if ( @{$filter_expr->{terms}} )
and belongs to the function : sub getFilters {
Any idea of where I should investigate?
I have this problem with the version 1.23.2 (and also with the 1.23.1)
I use Mandriva 2008.
Thanks in advance for the help
Marc
I created my own "purgeDisk" filter to purge as soon as the disk is above the 60% usage.
This filter works when I run it manually but I want to run it in background ("Delete all match" & "run filter in background" are activated)
When looking to zmdc.log I have an error related to zmfilter every 10 min:
03/02/08 11:28:36.055548 zmdc[31570].INF ['zmfilter.pl' starting at 08/03/02 11:28:36, pid = 26864]
03/02/08 11:28:41.667947 zmdc[31570].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
03/02/08 11:38:41.029324 zmdc[31570].INF [Starting pending process, zmfilter.pl]
03/02/08 11:38:41.076276 zmdc[31570].INF ['zmfilter.pl' starting at 08/03/02 11:38:41, pid = 27904]
When running zmfilter.pl manually I get :
Can't use an undefined value as an ARRAY reference at /usr/local/bin/zmfilter.pl line 272
The line 272 contains : if ( @{$filter_expr->{terms}} )
and belongs to the function : sub getFilters {
Any idea of where I should investigate?
I have this problem with the version 1.23.2 (and also with the 1.23.1)
I use Mandriva 2008.
Thanks in advance for the help
Marc