filter with pipe, bogus message

Francis J. Lacoste flacoste at logreport.org
Fri Feb 14 21:52:10 CET 2003


On lun, 2003-02-10 at 02:23, Allan Wind wrote:
> First, thanks for bringing us lire (1.1 in my case)!  I am trying to
> work around an issue with boa[1] and therefor need a filter with a
> pipe as follows from www.daily.combined.1.local:
> 
> superservice=www
> service=combined
> log=/var/log/boa/access.log.1.gz
> filter="(zcat | sed 's/[^ ]* \(.*\)/\1/')"
> if test -r /etc/lire/cron.defaults.local
> then
>     . /etc/lire/cron.defaults.local
> fi
> 
> which, when run, result in the following error:
> 
> Feb 10 01:33:32 pawan lire: bogus message: /usr/bin/lr_run: line 48:
> (zcat | sed 's/[^ ]* (.*)/1/'): No such file or directory
> 

Removing the parentheses around your filter should work (not need
to start a subshell there).

I.E. "zcat | sed -e 's/[^ ]* \(.*\)/\1/'" 

I would also suggest upgrading the Lire 1.2.1.
Removing the parentheses around your filter should work (not need
to start a subshell there).

I.E. "zcat | sed -e 's/[^ ]* \(.*\)/\1/'" 

I would also suggest upgrading the Lire 1.2.1.


Thanks for your interest in LogReport, kind regards,

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030214/d965782a/attachment.bin 


More information about the Questions mailing list