So, looks like the fix for this bug to overcome an issue in a newer 
version of perl is what broke you:
http://sourceforge.net/p/xcat/bugs/4082/

Commenting out those lines when running with perl 5.8.8 is a reasonable 
workaround.  We have not tested the newer versions of xCAT with RHEL 5 in 
awhile now.

Linda



From:   "Russell Auld" <[email protected]>
To:     "'xCAT Users Mailing list'" <[email protected]>
Date:   12/11/2014 11:04 PM
Subject:        [xcat-user] Perl problem with v2.8.5 on RHEL5.5?



I upgraded from v2.8.4 to v2.8.5 on a RHEL5.5 machine - see [1] and [2] 
below for version info.
When I tried to restart the xcatd daemon, I got the following error:
[root@head]# service xcatd restart
Restarting xCATd Unknown warnings category 'Sys::Syslog' at 
/opt/xcat/sbin/xcatd line 109
BEGIN failed--compilation aborted at /opt/xcat/sbin/xcatd line 109.
                                                           [FAILED]
The version of Perl is v5.8.8. I even tried updating the Perl package from 
the patch server:
Updating:
 perl       x86_64       4:5.8.8-41.el5
Ultimately, I commented out both of the references to warnings 
qw(Sys::Syslog) and the service started successfully.
use Sys::Syslog qw(:DEFAULT setlogsock);
openlog("xcatd",,"local4");
# turn off warnings for call to setlogsock.  puts out warning message if
#   syslog tcp port not defined in /etc/services.  this can safely be 
ignored.
#no warnings qw(Sys::Syslog);
setlogsock(["tcp","unix","stream"]);
#use warnings qw(Sys::Syslog);
Perhaps there?s some dependency on a newer version of Perl or Sys::Syslog 
? see here for history:
http://perldoc.perl.org/Sys/Syslog.html#HISTORY
[1] - Old version:
[root@head]# lsxcatd -v
Version 2.8.4 (git commit ded873f998a889c91a169d3f870efdbebfb66243, built 
Thu May 29 23:32:02 EDT 2014)
[2] - New version:
[root@head]# lsxcatd -v
Version 2.8.5 (git commit 51b69940b6fc7b54fc2a1f89330e69c8f830a3fc, built 
Mon Sep  1 02:28:50 EDT 2014)
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to