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

Jan Evert van Grootheest j.e.van.grootheest at caiway.nl
Tue Oct 21 17:11:52 UTC 2008


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.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-21-xen (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=sh: locale: command not found)
Shell: /bin/sh linked to /bin/bash

Versions of packages logcheck depends on:
ii  adduser            3.110                 add and remove users and groups
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  cron               3.0pl1-105            management of regular background p
ii  exim4              4.69-9                metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light 4.69-9                lightweight Exim MTA (v4) daemon
ii  lockfile-progs     0.1.11-0.1            Programs for locking and unlocking
ii  logtail            1.2.68                Print log file lines that have not
ii  mailx              1:20071201-3          Transitional package for mailx ren
ii  sysklogd [system-l 1.5-5                 System Logging Daemon

Versions of packages logcheck recommends:
ii  logcheck-database             1.2.68     database of system log rules for t

Versions of packages logcheck suggests:
pn  syslog-summary                <none>     (no description available)

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
  logcheck/changes:
  logcheck/install-note:






More information about the Logcheck-devel mailing list