Ralph,

> I'm moving a mail server from SuSE Linux 9 to SuSE 10 and I'm having
> great difficulties with amavisd-new.

> amavis[13950]: (13946-02) run_command: child
> process [13950]: Error closing main::stdin: Bad file descriptor
> at /usr/sbin/amavisd line 1872.

> I searched the web for information, but apart from some hints to check
> the permissions on /var/amavis, I failed to find anything useful so far.
> The first difference between the server platforms that comes to my mind
> is the installed Perl version. Could Perl 5.8.7 on the new machine cause
> trouble? Unfortunately I'm no Perl guru, so I can't tell.

I don't remember seeing such problem report before
(others about "parsing file(1) results - missing last 1 results" were
probably for different reasons). It is probably not due to Perl 5.8.7 itself, 
which probably now runs on a majority of hosts and is quite good - although 
it could be a particular installation of it.

Since it complains about main::stdin file descriptor, it is probably worth
starting investigation there. Does it make any difference when amavisd
is started manually from a command line, or when started by your
startup script? Or is there a difference when a startup script is run 
automatically at boot time, or later manually?

You could try just ignoring the status result at line 1872,
replacing the:
      close(main::stdin) or die "Error closing main::stdin: $!";
with:
      close(main::stdin);

If the problem does not pop up now some place else,
it's probably not too bad just ignoring the status. Certainly it would
be nice to investigate further. Perhaps a strace -f could shed some light.

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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/

Reply via email to