Broken Pipe?
Wytze van der Raay
wytze at nlnet.nl
Wed Sep 10 16:50:50 CEST 2003
Mike Dailey wrote:
>
> Every time the lr_vendor_cron runs at night it returns the following
> error and no report is generated:
>
> /usr/sbin/lr_vendor_cron: line 1: 3915 Broken pipe grep
> postfix/
>
> What does this mean and how is it fixed?
The lr_vendor_cron script uses the parameters specified in
/etc/sysconfig/lire.d/*.cfg files to produce the requested reports.
It does this by grepping the necessary lines from the logfile and piping
this into an invocation of lr_run.
The error message suggests that the lr_run invocation for a Postfix
report failed while Postfix logfile data was still collected by the
grep. You can get more debug information for this failure in two ways:
1. at the shell level, by running (as root):
# sh -x /usr/sbin/lr_vendor_cron daily
2. at the Lire level, by running (as root):
# DEBUG=yes /usr/sbin/lr_vendor_cron daily
Of course you can also combine these two into:
# DEBUG=yes sh -x /usr/sbin/lr_vendor_cron daily
to get all possible debug output. Hopefully this will give you a clue as
to what failed; if not, you might want to e-mail the output to the list
for more help.
Regards,
Wytze van der Raay
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list