Problems after upgrading to 3.1.13 on FreeBSD

Moderator: crythias

Locked
jontheil
Znuny newbie
Posts: 3
Joined: 24 Mar 2013, 00:31
Znuny Version: 5.0.14
Real Name: Jon Theil Nielsen
Location: Denmark

Problems after upgrading to 3.1.13 on FreeBSD

Post by jontheil »

Hi
The system has started to show

Code: Select all

Internal Server Error
when I try to close a ticket.
The server log has these entries:

Code: Select all

[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] ERROR: OTRS-CGI-10 Perl: 5.12.4 OS: freebsd Time: Sat Mar 23 13:38:11 2013, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] , referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]  Message: Can't locate Net/SMTP/TLS/ButMaintained.pm in @INC (@INC contains: /usr/local/otrs/bin/Custom /usr/local/otrs/bin/Kernel/cpan-lib /usr/local/otrs/bin /usr/local/otrs/bin/cgi-bin/../../Custom /usr/local/otrs/bin/cgi-bin/../../Kernel/cpan-lib /usr/local/otrs/bin/cgi-bin/../.. /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4 .) at /usr/local/otrs/bin/cgi-bin/../../Kernel/System/Email/SMTPTLS.pm line 17., referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] BEGIN failed--compilation aborted at /usr/local/otrs/bin/cgi-bin/../../Kernel/System/Email/SMTPTLS.pm line 17., referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] , referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] , referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]  Traceback (83605): , referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]    Module: Kernel::System::Email::new (v1.75.2.6) Line: 105, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]    Module: Kernel::System::Ticket::new (v1.549.2.15) Line: 161, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]    Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 169, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5]    Module: /usr/local/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] , referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] [Sat Mar 23 13:38:11 2013] index.pl: Got no SendmailObject! at /usr/local/otrs/bin/cgi-bin/../../Kernel/System/Ticket/Event/ArticleSearchIndex.pm line 32., referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] [Sat Mar 23 13:38:11 2013] Carp.pm: \t(in cleanup) Got no SendmailObject! at /usr/local/otrs/bin/cgi-bin/../../Kernel/System/Ticket/Event/NotificationEvent.pm line 38., referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
[Sat Mar 23 13:38:11 2013] [error] [client 192.168.1.5] Premature end of script headers: index.pl, referer: http://mfl.dk/otrs/index.pl?Action=AgentTicketClose;TicketID=45
What I do not really understand is that my perl installation works for other purposes. It is version 5.12.4 running on FreeBSD 9.1-Release.
Any clues?
Jon Theil Nielsen
OTRS Open Source 5.0.14 (FreeBSD package www/otrs)
FreeBSD-11.0-RELEASE
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Problems after upgrading to 3.1.13 on FreeBSD

Post by jojo »

check Net/SMTP/TLS/ButMaintained.pm

you should also run bin/otrs.CheckModules.pl and install the missing PERL packages
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jontheil
Znuny newbie
Posts: 3
Joined: 24 Mar 2013, 00:31
Znuny Version: 5.0.14
Real Name: Jon Theil Nielsen
Location: Denmark

Re: Problems after upgrading to 3.1.13 on FreeBSD

Post by jontheil »

Yesterday, I think I checked that module on my system. But now I could not find it any more. I think it belongs to some p5-port, but I could not figure that out. So I installed the module manually and now it works again.
Thanks for the help. :)
Jon Theil Nielsen
OTRS Open Source 5.0.14 (FreeBSD package www/otrs)
FreeBSD-11.0-RELEASE
Locked