From 754185352b2498534f62ca38cd9c1d90012af68e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 24 Mar 2008 14:16:00 +0000 Subject: [PATCH] Fix for 'missing ParserDetails.ini' error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT-2.0/xCAT/Client.pm | 1 + perl-xCAT-2.0/xCAT/PPCscan.pm | 1 + xCAT-client-2.0/bin/getnodecfg | 1 + xCAT-client-2.0/bin/pping | 1 + xCAT-client-2.0/bin/prsync | 1 + xCAT-client-2.0/bin/pscp | 1 + xCAT-client-2.0/bin/psh | 1 + xCAT-server-2.0/lib/xcat/plugins/blade.pm | 1 + xCAT-server-2.0/lib/xcat/plugins/lsslp.pm | 1 + xCAT-server-2.0/lib/xcat/plugins/nodediscover.pm | 1 + xCAT-server-2.0/sbin/xcatd | 1 + 11 files changed, 11 insertions(+) diff --git a/perl-xCAT-2.0/xCAT/Client.pm b/perl-xCAT-2.0/xCAT/Client.pm index b69398b5d..360d43f04 100644 --- a/perl-xCAT-2.0/xCAT/Client.pm +++ b/perl-xCAT-2.0/xCAT/Client.pm @@ -25,6 +25,7 @@ unless ($inet6support) { } use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use Storable qw(dclone); my $xcathost='localhost:3001'; diff --git a/perl-xCAT-2.0/xCAT/PPCscan.pm b/perl-xCAT-2.0/xCAT/PPCscan.pm index 78783474a..8d003fef4 100644 --- a/perl-xCAT-2.0/xCAT/PPCscan.pm +++ b/perl-xCAT-2.0/xCAT/PPCscan.pm @@ -5,6 +5,7 @@ use strict; use Getopt::Long; use Socket; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR); use xCAT::PPCdb; use xCAT::GlobalDef; diff --git a/xCAT-client-2.0/bin/getnodecfg b/xCAT-client-2.0/bin/getnodecfg index aa58e7d2d..6937b1a3d 100755 --- a/xCAT-client-2.0/bin/getnodecfg +++ b/xCAT-client-2.0/bin/getnodecfg @@ -9,6 +9,7 @@ use xCAT::Table; use xCAT::NodeRange; use IO::Socket::SSL; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use strict; my $xcathost='localhost:3001'; diff --git a/xCAT-client-2.0/bin/pping b/xCAT-client-2.0/bin/pping index d19946a05..1303daa33 100755 --- a/xCAT-client-2.0/bin/pping +++ b/xCAT-client-2.0/bin/pping @@ -12,6 +12,7 @@ use lib "$::XCATROOT/lib/perl"; use IO::Socket::SSL; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use IO::Handle; use IO::Select; diff --git a/xCAT-client-2.0/bin/prsync b/xCAT-client-2.0/bin/prsync index 6ed4bfac4..52e9ca47c 100755 --- a/xCAT-client-2.0/bin/prsync +++ b/xCAT-client-2.0/bin/prsync @@ -7,6 +7,7 @@ BEGIN use lib "$::XCATROOT/lib/perl"; use IO::Socket::SSL; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use IO::Handle; use IO::Select; diff --git a/xCAT-client-2.0/bin/pscp b/xCAT-client-2.0/bin/pscp index 0dfcb57f9..e62d2b0c1 100755 --- a/xCAT-client-2.0/bin/pscp +++ b/xCAT-client-2.0/bin/pscp @@ -7,6 +7,7 @@ BEGIN use lib "$::XCATROOT/lib/perl"; use IO::Socket::SSL; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use IO::Handle; use IO::Select; diff --git a/xCAT-client-2.0/bin/psh b/xCAT-client-2.0/bin/psh index 44e419940..aad73adc4 100755 --- a/xCAT-client-2.0/bin/psh +++ b/xCAT-client-2.0/bin/psh @@ -8,6 +8,7 @@ BEGIN use lib "$::XCATROOT/lib/perl"; use IO::Socket::SSL; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use IO::Handle; use IO::Select; diff --git a/xCAT-server-2.0/lib/xcat/plugins/blade.pm b/xCAT-server-2.0/lib/xcat/plugins/blade.pm index 8230f64be..d830bc11c 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/blade.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/blade.pm @@ -10,6 +10,7 @@ use SNMP; use strict; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use POSIX "WNOHANG"; use Storable qw(freeze thaw); diff --git a/xCAT-server-2.0/lib/xcat/plugins/lsslp.pm b/xCAT-server-2.0/lib/xcat/plugins/lsslp.pm index 3a5fa4e4a..33a9463a8 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/lsslp.pm @@ -9,6 +9,7 @@ use Storable qw(freeze thaw); use Time::HiRes qw(gettimeofday); use IO::Select; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use xCAT::PPCdb; diff --git a/xCAT-server-2.0/lib/xcat/plugins/nodediscover.pm b/xCAT-server-2.0/lib/xcat/plugins/nodediscover.pm index 8ce8cb7e5..4bfcb643e 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/nodediscover.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/nodediscover.pm @@ -8,6 +8,7 @@ use SNMP; use strict; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use Data::Dumper; use POSIX "WNOHANG"; use Storable qw(freeze thaw); diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index e71a48222..2caab8ae4 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -31,6 +31,7 @@ use IO::Socket; use IO::Handle; use IO::Select; use XML::Simple; +$XML::Simple::PREFERRED_PARSER='XML::Parser'; use xCAT::Table; use Data::Dumper; use Getopt::Long;