Broken Pipe?
Wytze van der Raay
wytze at nlnet.nl
Thu Sep 18 11:56:39 CEST 2003
Hi Mike,
> Here is what I see in my /var/log/messages file:
>
> Sep 16 09:08:55 mtdchfohfwexta1 su(pam_unix)[15906]: session opened for user lire by (uid=0)
> Sep 16 09:08:55 mtdchfohfwexta1 lire: logger: unknown facility name: .
> Sep 16 09:08:55 mtdchfohfwexta1 su(pam_unix)[15906]: session closed for user lire
>
> That is the only thing showing when I grep for "lire". Is in in there each and every time lr_vendor_cron tries to run.
>
> Hope that helps, because I'm stumped.
Aha, this explains a whole lot more!
Apparently you have set the lire configuration parameters
lr_logging_method and lr_logging_facility to non-default values.
The default for lr_logging_method is stderr, but it appears you have set
it tot syslog. That is fine by itself, but the result is that anything
run under lr_run will have its error messages sent to syslog, without
ever reaching the logger invocation from lr_vendor_cron.
The default for lr_logging_facility is local2, but it appears you have
set that one to the empty string (hence the ´unknown facility name: .´).
That is not good in combination with lr_logging_method = syslog.
The default values for these parameters are defined in
/usr/share/lire/defaults.xml, but they can be overruled by user-specific
config files. Because of the ´su lire´ done by lr_vendor_cron, the
relevant user in this case is ´lire´. You should check the contents of
its lire config directory /var/spool/lire/.lire/config/, I am suspecting
that you have one or more files there defining this unusual parameter
setting (created with lr_config I presume?).
You can also do lr_run lr_environment (as user lire) to see the full set
of parameters as used by lire.
Once you´ve fixed the parameter setting, the error messages should
become visible, and then we can actually start investigating why your
postfix reports are not generated.
Hope this helps!
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