[Logcheck-devel] Bug#503000: Bug#503000: logcheck fails due to a perl warning

Jan Evert van Grootheest j.e.van.grootheest at caiway.nl
Thu Oct 23 17:42:28 UTC 2008


Gerfried,

Gerfried Fuchs wrote:
> Am Dienstag, den 21.10.2008, 19:11 +0200 schrieb Jan Evert van
> Grootheest:
>   
>> Package: logcheck
>> Version: 1.2.68
>> Severity: important
>>
>> I upgraded my lenny server today. I guess the previous update is something like two weeks ago.
>> Now logcheck started sending mails containing only this perl error:
>> This email is sent by logcheck. If you wish to no-longer receive it,
>> you can either deinstall the logcheck package or modify its
>> configuration file (/etc/logcheck/logcheck.conf).
>>
>> System Events
>> =-=-=-=-=-=-=
>> 	LANG = "en_US.UTF-8"
>> 	LANG = "en_US.UTF-8"
>> 	LANGUAGE = (unset),
>> 	LANGUAGE = (unset),
>> 	LC_ALL = (unset),
>> 	LC_ALL = (unset),
>>     are supported and installed on your system.
>>     are supported and installed on your system.
>> perl: warning: Falling back to the standard locale ("C").
>> perl: warning: Falling back to the standard locale ("C").
>> perl: warning: Please check that your locale settings:
>> perl: warning: Please check that your locale settings:
>> perl: warning: Setting locale failed.
>> perl: warning: Setting locale failed.
>> -- end quote --
>>
>> Obviously there's something wrong with perl. But I also consider it a bug that logcheck produces
>> 'half' a result in this manner. It should really not be doing this.
>>     
>
>  It's not really just wrong with perl but your general locale setup.
> Please see /etc/environment and /etc/locale.gen. I expect that you have
> a LANG=en_US.UTF-8 entry in the former but not in the later. This will
> spit out messages like this with every other perl code you are using,
> like e.g. also in upgrade logs, and I expect you haven't filed a
> bugreport against apt for that, did you. :)
>
>  Pretty please tell locales to generate the locale you set, that's the
> only proper fix for that. This is not limited to logcheck at all, it
> affects your whole system. Go through "dpkg-reconfigure locales" as
> root. If you don't have the locales package installed you shouldn't set
> LANG to anything else but the standard locale (C or POSIX), especially
> not systemwide.
>
>   
/etc/environment and /etc/locale match. And I did that, long time ago, 
through 'dpkg-reconfigure locales'.
And with apt its just a warning, here the output is missing. It's really 
that the perl warning is the only content of the mail.

-- Jan Evert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20081023/a4e5903c/attachment.htm 


More information about the Logcheck-devel mailing list