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