Package: qmail
Version: 1.03-38
Severity: critical
Tags: l10n patch
Justification: breaks unrelated software


I have configured qmail to use qmail-scanner 1.25.

This starts without problems on boot, but if I do a "/etc/init.d/qmail
restart", I get the following errors in /var/log/mail.log and mails
not scanned any more:

Jun  1 15:19:42 myhost qmail: 1117631982.448929 Can't load 
'/usr/lib/perl/5.8/auto/DB_File/DB_File.so' for module DB_File: 
libdb-4.2.so: failed to map segment from sharedobject: Cannot allocate 
memory at /usr/lib/perl/5.8/XSLoader.pm line 68.

Jun  1 15:19:42 myhost qmail: 1117631982.449495  
at /usr/lib/perl/5.8/DB_File.pm line 251

Jun  1 15:19:42 myhost qmail: 1117631982.449532 Compilation failed in 
require at /var/qmail/bin/qmail-scanner-queue.pl line 1055.

Jun  1 15:19:42 myhost qmail: 1117631982.449561 BEGIN 
failed--compilation aborted at /var/qmail/bin/qmail-scanner-queue.pl 
line 1055.

I found out, that if I unset LANG and LC_ environment variables, qmail
starts again without problems.

So I put the following line in /etc/init.d/qmail before the "case"
statement:
unset `locale | cut -d= -f1`

With this additional code I can restart qmail without any problems.

On a other server with Woody I did not have this problems.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages qmail depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  netbase                     4.21         Basic TCP/IP networking system
ii  perl-modules                5.8.4-8      Core Perl modules
ii  procmail                    3.22-11      Versatile e-mail processor
ii  ucspi-tcp                   0.88-9       tools for building TCP client-serv

-- debconf information:
* qmail/qlist:
  qmail/recipientmap:
  qmail/inetd:
  qmail/readme:
  qmail/override:
* qmail/start: yes
* qmail/reboot:
  qmail/userpurge:
* qmail/tcpupdate:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to