Package: amavisd-new
Version: 20030616p10-5
Severity: important
These errors were found in the syslog.
Jul 29 16:14:33 localhost amavis[16341]: (16092-07) run_command: child process
[16341] failed to exec /usr/bin/file
/var/lib/amavis/amavis-20060729T161433-16092/parts/part-00001: Can't close
main::stdin: Bad file descriptor at /usr/sbin/amavisd-new line 1131.
Jul 29 16:14:33 localhost amavis[16092]: (16092-07) TROUBLE in check_mail:
decoding2-get-file-types FAILED: 'file' utility (/usr/bin/file) failed,
status=1 (256 ) at /usr/sbin/amavisd-new line 3853.
in /usr/sbin/amavisd-new I changed line 1131 from
close(main::stdin); or die "Can't close main::stdin:$!";
to
close(main::stdin); # or die "Can't close main::stdin:$!";
because the close was failing. Then the logs shows,
Jul 29 16:30:34 localhost amavis[16523]: (16358-06) run_command: child process
[16523] failed to exec /usr/bin/file
/var/lib/amavis/amavis-20060729T163034-16358/parts/part-00001: run_command:
STDIN not fd0 at /usr/sbin/amavisd-new line 1134.
Jul 29 16:30:34 localhost amavis[16358]: (16358-06) TROUBLE in check_mail:
decoding2-get-file-types FAILED: 'file' utility (/usr/bin/file) failed,
status=1 (256 ) at /usr/sbin/amavisd-new line 3853.
line 1134 is the fileno check which is failing,
open(STDIN,"<$stdin_from\0")
or die "Can't reopen STDIN on $stdin_from: $!";
fileno(STDIN)==0 or die "run_command: STDIN not fd0";
I added the following on 1129 to get some information (just after the
eval command and before the close commands)
die ("stdin_from $stdin_from, stderr_to $stderr_to");
that generated the following log,
Jul 29 16:48:26 localhost amavis[16656]: (16645-01) run_command: child process
[16656] failed to exec /usr/bin/file
/var/lib/amavis/amavis-20060729T164826-16645/parts/part-00001: stdin_from
/dev/null, stderr_to at /usr/sbin/amavisd-new line 1129.
The system just has amavis disabled for now so that e-mail works. Any
ideas?
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages amavisd-new depends on:
ii adduser 3.63 Add and remove users and groups
ii file 4.12-1 Determines file type using "magic"
ii libarchive-tar-perl 1.23-1 Archive::Tar - manipulate tar file
ii libarchive-zip-perl 1.14-1 Module for manipulation of ZIP arc
ii libcompress-zlib-perl 1.34-1 Perl module for creation and manip
ii libconvert-tnef-perl 0.17-4 Perl module to read TNEF files
ii libconvert-uulib-perl 1.0.5.1-1 Perl interface to the uulib librar
pn libdigest-md5-perl Not found.
ii libmailtools-perl 1.62-1 Manipulate email in perl programs
pn libmime-base64-perl Not found.
ii libmime-perl 5.417-1 Perl5 modules for MIME-compliant m
ii libnet-perl 1:1.19-1 Implementation of Internet protoco
ii libnet-server-perl 0.87-3sarge1 An extensible, general perl server
ii libunix-syslog-perl 0.100-4 Perl interface to the UNIX syslog(
ii perl [libtime-hires-perl] 5.8.4-8sarge4 Larry Wall's Practical Extraction
ii perl-modules [libnet-perl] 5.8.4-8sarge4 Core Perl modules
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]