[otrs-de] IO::Handle: bad open mode: <:

Udo Giacomozzi udo.otrs at nova-sys.net
Mon Jan 28 17:54:41 GMT 2008


Ich antworte mir selbst. :-)

Habe mir die CVS Logs angesehen und einige Patches rückgängig gemacht.
Nun scheint alles wieder wie gewohnt zu funktionieren - kann Mails
empfangen und versenden.

War nicht ganz einfach, für jemanden, der nie Perl programmiert hat..

Udo


Monday, January 28, 2008, 3:26:50 PM, you wrote:

UG> Hello,

UG> I just upgraded from v2.0 to 2.2.4. OTRS is mostly working again now,
UG> but I'm having problems with PostMasterPOP3.pl which is aborting with
UG> this error message:

UG>   IO::Handle: bad open mode: <: at
UG> /opt/otrs/Kernel/cpan-lib/MIME/Parser.pm line 1136

UG> I don't speak Perl, but I tried to replace the line

UG>   $io = IO::File->new(\$data, '<:');

UG> with

UG>   $io = IO::File->new(\$data, 'r');

UG> But then the file does not seem to be opened because then it complains
UG> about "isa" not being defined or something like that.

UG> Any suggestions? What is open mode is "<:" and what mode would work on
UG> my system?

UG> System is Red Hat Linux 8 (Psyche). Perl is v5.8.0

UG> Thanks,
UG> Udo






Udo