Bradley,
> I believe I have found the problem, thanks to Mark's direction. I wrote a
> quick script to dump most of the information to a file (except the perlrun
> stuff) on all four of the servers and diffed them. All the three servers
> which failed also had
> %ENV: PERLIO="stdio"
> while monitor did not. I unset that environment variable, and ran the test
> file, and it performed perfectly. I'm still trying to figure out where that
> variable gets set, but I have just turned on amavis on the Zimbra server.
> Thus far, everything looks great.
Perfect, congratulations! A major breakthrough!
Now I can reproduce your problem on a linux box:
$ echo "test" | perl -e '
$!=0; while(<>){print}; $!==0 or die "Err: $!"'
test
$ echo "test" | PERLIO="perlio" perl -e '
$!=0; while(<>){print}; $!==0 or die "Err: $!"'
test
$ echo "test" | PERLIO="stdio" perl -e '
$!=0; while(<>){print}; $!==0 or die "Err: $!"'
test
Err: Bad file descriptor at -e line 1, <> line 1.
The problem does not show on any of our FreeBSD boxes,
must be specific to a Linux i/o implementation.
I guess I should submit a Perl bug report, unless you volunteer
to do it. It seems to be closely related to the bug I mentioned
earlier: http://rt.perl.org/rt3/Ticket/Display.html?id=39060
Thanks!
Mark
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/