Veritas Cluster Server (VCS) engine log contains messages indicating "Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm"

book

Article ID: 100002221

calendar_today

Updated On:

Resolution

Issue:
 
The VeritasCluster Server (VCS) engine log (/var/VRTSvcs/log/engine_[A|B|C].log) is flooded with messages from agent entry points indicating "Use of uninitialized value instring eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm". For example:
 
2010/06/2310:41:09 VCS INFO V-16-2-13001 (pr42) Resource(vx7): Output of the completed operation (monitor)  
Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm line 115.
Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm line 115.
Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm line 115.
Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm line 115.
 
Problem Description:
 
A number of VCS agents use a subset of Perl functions/modules that get installed as part of the VRTSvcs, VRTSperl, and VRTSacclib products. Agent entry points (online, offline, monitor and clean) rely on these Perl modules to correctly perform their respective function. Any errors produced when calling functions in these Perl modules will be reported back to the agent and subsequently logged in the VCS engine log. This message occurs due to an error in the execution of a function included from /opt/VRTSvcs/lib/ag_i18n_inc.pm.
 
This particular message is caused by the Perl uname() function in HP-UX not working correctly if the hostname is more than 8 characters in length. For example, if the hostname is set to 'host9char' (9 characters), the Perl uname() function inHP-UX will fail to work correctly causing a corresponding failure of VCS Perl functions that rely on the output of uname(). This issue is tracked via Veritasetrack incident 1594236.
 
Note that this issue applied only to:
 
- HP-UX11iv3 (11.31)
- VRTSvcsversion 5.0.31.0 and 5.0.1
- VRTSperlversion 5.8.8.10 and below
- hostname with greater than 8 characters
 
Solution:
 
This issueis fixed in VRTSperl 5.0.1 Rolling Patch 1 (VRTSperl 5.0.1RP1). The corresponding patch ID is PHCO_40782.
 
As such onsystems running VCS 5.0.31.0:
1) InstallVRTSperl (version 5.8.8.10) from VCS 5.0.1 media.
2) InstallPHCO_40782 (VRTSperl 5.0.1 RP1) from 5.0.1 RP1 media.
 
On systems running VCS 5.0.1:
1) InstallPHCO_40782 (VRTSperl 5.0.1 RP1 patch) from 5.0.1 RP1 media.
 
The VCS5.0.1 RP1 media can be downloaded from the following location:https://sort.veritas.com/patch/detail/3452
 

 

Issue/Introduction

Veritas Cluster Server (VCS) engine log contains messages indicating "Use of uninitialized value in string eq at /opt/VRTSvcs/lib/ag_i18n_inc.pm"

Additional Information

ETrack: 1594236