It failed in much the same way. It reported the proper data, but then gave me the bad file descriptor:
[EMAIL PROTECTED] ~]# ./testfile testfile result line from file(1): testfile: perl script text executable Error reading from file(1) utility: Bad file descriptor at ./testfile line 24, <GEN0> line 1. [EMAIL PROTECTED] ~]$ /root/testfile bin result line from file(1): bin: directory Error reading from file(1) utility: Bad file descriptor at /root/testfile line 24, <GEN0> line 1. So I ran it on a couple of other boxes, monitor has identical hardware, defiant, my Athlon-XP workstation and riogrande, my HP Pentium-M laptop: [EMAIL PROTECTED] ~]$ ./testfile testfile result line from file(1): testfile: perl script text executable [EMAIL PROTECTED] ~]$ [EMAIL PROTECTED]:~$ ./testfile testfile result line from file(1): testfile: perl script text executable Error reading from file(1) utility: Bad file descriptor at ./testfile line 24, <GEN0> line 1. [EMAIL PROTECTED]:~$ ./testfile testfile result line from file(1): testfile: perl script text executable Error reading from file(1) utility: Bad file descriptor at ./testfile line 24, <GEN0> line 1. So it works fine on monitor, but not on merrimac or defiant. All three boxes are running Debian/sid. I'm looking through the package lists to see if I can spot any related differences. Thus far, perl is the same version, 5.8.8-6.1 on all four boxes, and libmagic1/file are at 4.17-4 on all. I'll let you know what I find. Mark, can you give me an idea of what packages or files may be related? Thanks, --b ----- Original Message ----- From: Mark Martinec <[EMAIL PROTECTED]> To: amavis-user@lists.sourceforge.net Sent: Wednesday, November 15, 2006 5:36:30 PM GMT-0500 US/Eastern Subject: Re: [AMaViS-user] Bad file descriptor errors with AMaVIS under Bradley, > I guess I'll be rebuilding that server with sarge over the weekend... Before you do that, please run the little test program and tell us what happens. 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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/