Kbase P125608: Errors when running custom perl script under OpenEdge Fathom Management
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/24/2007 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge Management 3.1X
SYMPTOM(s):
Errors executing custom perl script under OpenEdge Fathom Management
Running custom perl script using latest PERL version fails under OpenEdge Fathom Management
Perl lib version (v5.6.1) doesn't match executable version (v5.8.1) at /usr/fathom/perl/lib/5.6.1/sun4-solaris/Config.pm line 21.
Compilation failed in require at /usr/fathom/perl/lib/5.6.1/lib.pm
CAUSE:
Custom perl script depends on later version (5.8.1 in this case) of PERL than we ship with OE Management (5.6.1) and since OEM sets PERL variables (PERL5BIN, PERL5LIB), custom script is by default looking for PERL 5.6.1 (older) libraries and fails to execute.
FIX:
An immediate workaround:
1) make a backup copy of $FATHOM/fathom.init.params
2) edit $FATHOM/fathom.init.params and locate following lines:
PERL5BIN=/usr/fathom/perl/bin
PERL5LIB=/usr/fathom/perl/lib/5.6.1:/usr/fathom/perl/lib/site_perl/5.6.1:/usr/fathom/perl/scripts
Change them to:
PERL5BIN=/usr/perl5/5.8.1/bin
PERL5LIB=/usr/perl5/5.8.1/lib:/usr/fathom/perl/lib/5.6.1:/usr/fathom/perl/lib/site_perl/5.6.1:/usr/fathom/perl/scripts
That assumes your 5.8.1 perl is located under /usr/perl5/5.8.1
$FATHOM refers to a Fathom/OEM installation.
3) save the file and restart the (Fathom/OEM) adminserver
Starting version 3.1C, OpenEdge Managemnt will set OEM_PERL5BIN and OEM_PERL5LIB variable instead of PERL5BIN and PERL5LIB, so there won't be a conflict.