We’re running OTRS on Red Hat Enterprise Linux and this week PDF production suddenly stopped working. This may be due to local configuration, but in case others are experiencing it thought I’d better log it with
the OTRS mailing list.
Aside from the PDF failing, $OTRS_HOME/bin/otrs.checkModules also reported that CGI was out-of-date, SOAP::Lite wasn’t present and gave null string errors on some of the modules. This was completely clean last
week!
We traced it back to the automated (yum) updates, which had overwritten certain Perl modules, breaking Compress:Zlib and Scalar::Util
You can test for the latter by running
perl -MScalar::Util=dualvar -e 1
This should return no errors; you’ve got the problem if you get a message saying dualvar isn’t supported.
The Compress::Zlib one breaks CPAN which makes it rather hard to fix things! The error is an undefined subroutine for compress::Zlib::gzopen.
We worked around the issue by downloading IO-Compress-2.030 from CPAN and compiling it (and any pre-requisites) by hand. This fixed CPAN so we could do a force install on Scalar::Util, CGI and SOAP::Lite to get
everything else working, after reloading Apache.
$OTRS_HOME/bin/otrs.checkModules can be used to check all is well again.
I’ve added the line;
exclude=*perl*
to /etc/yum.conf which hopefully will stop it doing this again, although it obviously means we’ll have to do Perl upgrades by hand when needed…
Be interested to hear if others have had this experience!
--
Steve Durbin
Group Manager: Applications Delivery/Cyfarwyddwr Grŵp: Trosglwyddo Rhaglenni
Bridgend County Borough Council/Cyngor Bwrdeistref Sirol Pen-y-Bont ar Ogwr
Tel/Rhif ffon: 01656 642113
Mob/ffon symudol: 07976 271559
Fax/Ffacs: 01656 642125
Web/We: http://www.bridgend.gov.uk