I installed Net:Telnet from CPAN and now everything works as expected. Thank you all for helping resolving this and also spotting other problem in my ipmi table.
I guess this dependency should be added to xcat-dep package so it is automatically installed with xcat. Best regards, Wojciech On 16 October 2013 13:43, Wojciech Turek <woj...@gmail.com> wrote: > Hi Xiao > > I was exactly doing this when I got your message ;-) > So it looks like the culprit is the missing Telnet.pm module. Shouldn't > this be installed as part of the xCAT-dep installation ? > > perl -c ipmi.pm > "my" variable @flist masks earlier declaration in same scope at > /opt/xcat/lib/perl/xCAT/InstUtils.pm line 1026. > Possible attempt to separate words with commas at > /opt/xcat/lib/perl/xCAT_monitoring/montbhandler.pm line 57. > Possible attempt to separate words with commas at > /opt/xcat/lib/perl/xCAT_monitoring/montbhandler.pm line 57. > Can't locate Net/Telnet.pm in @INC (@INC contains: /opt/xcat/lib/perl > /usr/opt/perl5/lib/site_perl/5.8.2 > /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi > /usr/opt/perl5/lib/5.8.2 /usr/opt/perl5/lib/5.8.2/aix-thread-multi > /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at > /opt/xcat/lib/perl/xCAT/SSHInteract.pm line 3. > BEGIN failed--compilation aborted at > /opt/xcat/lib/perl/xCAT/SSHInteract.pm line 3. > Compilation failed in require at /opt/xcat/lib/perl/xCAT/IMMUtils.pm line > 3. > BEGIN failed--compilation aborted at /opt/xcat/lib/perl/xCAT/IMMUtils.pm > line 3. > Compilation failed in require at ipmi.pm line 26. > BEGIN failed--compilation aborted at ipmi.pm line 26. > > > On 16 October 2013 13:31, Xiao Peng Wang <w...@cn.ibm.com> wrote: > >> Could you run following command to check the syntax of the pm? >> >> perl -I /opt/xcat/lib/perl/ -c /opt/xcat/lib/perl/xCAT_plugin/blade.pm >> >> >> Thanks >> Best Regards >> ---------------------------------------------------------------------- >> Wang Xiaopeng (王晓朋) >> IBM China System Technology Laboratory >> Tel: 86-10-82453455 >> Email: w...@cn.ibm.com >> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, >> Haidian District Beijing P.R.China 100193 >> >> [image: Inactive hide details for Wojciech Turek ---2013/10/16 >> 20:13:24---Hi Xiao, Spot on!]Wojciech Turek ---2013/10/16 20:13:24---Hi >> Xiao, Spot on! >> >> >> From: Wojciech Turek <woj...@gmail.com> >> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, >> Date: 2013/10/16 20:13 >> Subject: Re: [xcat-user] rpower command not working >> >> ------------------------------ >> >> >> >> Hi Xiao, >> >> Spot on! >> xcatd -f >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*blade.pm*<http://blade.pm/> >> ...skipping >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*bmcconfig.pm*<http://bmcconfig.pm/> >> ...skipping >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*ipmi.pm*<http://ipmi.pm/> >> ...skipping >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*lsslp.pm*<http://lsslp.pm/> >> ...skipping >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*remoteimmsetup.pm*<http://remoteimmsetup.pm/> >> ...skipping >> Error loading module >> /opt/xcat/lib/perl/xCAT_plugin/*slpdiscover.pm*<http://slpdiscover.pm/> >> ...skipping >> >> Now why this would happen or a better question how to fix this? >> >> best regards, >> >> W >> >> >> On 16 October 2013 13:05, Xiao Peng Wang <*w...@cn.ibm.com*<w...@cn.ibm.com>> >> wrote: >> >> Is that possible your *ipmi.pm* <http://ipmi.pm/> was not loaded >> successful? Try to 'service xcatd stop' and run 'xcatd -f' to see whether >> there's any error message? >> Thanks >> Best Regards >> ---------------------------------------------------------------------- >> Wang Xiaopeng (王晓朋) >> IBM China System Technology Laboratory >> Tel: 86-10-82453455 >> Email: *w...@cn.ibm.com* <w...@cn.ibm.com> >> Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, >> Haidian District Beijing P.R.China 100193 >> >> [image: Inactive hide details for Wojciech Turek ---2013/10/16 >> 18:17:13---I installed latest xcat 8.2 on the machine running SL6.4 >> and]Wojciech >> Turek ---2013/10/16 18:17:13---I installed latest xcat 8.2 on the machine >> running SL6.4 and I have a problem with rpower command n >> >> >> >> From: Wojciech Turek <*woj...@gmail.com* <woj...@gmail.com>> >> To: xCAT Users Mailing list >> <*xcat-user@lists.sourceforge.net*<xcat-user@lists.sourceforge.net>>, >> >> Date: 2013/10/16 18:17 >> >> Subject: [xcat-user] rpower command not working >> ------------------------------ >> >> >> >> I installed latest xcat 8.2 on the machine running SL6.4 and I have a >> problem with rpower command not working. >> rpower rr-sand12 status >> rr-sand12: Error: Unable to identify plugin for this command, check >> relevant tables: nodehm.power,mgt;nodehm.mgt >> >> My nodehm table looks like this: >> tabdump nodehm >> >> >> #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,comments,disable >> "rr-sand12",,"ipmi","ipmi",,,,"1","115200","hard",,,, >> You have new mail in /var/spool/mail/root >> tabdump ipmi >> #node,bmc,bmcport,taggedvlan,bmcid,username,password,comments,disable >> "rr-sand12","10.45.1.12",,"root","secret",,,, >> >> lsdef rr-sand12 >> Object name: rr-sand12 >> arch=x86_64 >> bmc=10.45.1.12 >> cons=ipmi >> currstate=statelite SL6.x-x86_64-compute >> groups=all,compute,nodes >> hostnames=rr-sand12.xcat.cluster >> initrd=xcat/netboot/SL6.x/x86_64/compute//initrd-statelite.gz >> ip=10.43.1.12 >> >> kcmdline=root=nfs:10.43.255.254:/install/netboot/SL6.x/x86_64/compute/rootimg:ro >> STATEMNT=10.43.255.254:/state XCAT=!myipfn!:3001 console=tty0 >> console=ttyS1,115200n8r MNTOPTS= >> kernel=xcat/netboot/SL6.x/x86_64/compute//kernel >> mac=b8:ca:3a:61:5b:80 >> mgt=ipmi >> netboot=pxe >> nfsserver=10.43.255.254 >> nodetype=osi >> os=SL6.x >> postbootscripts=otherpkgs >> postscripts=syslog,remoteshell,syncfiles >> primarynic=mac >> profile=compute >> provmethod=statelite >> serial=42LVCKL >> serialflow=hard >> serialport=1 >> serialspeed=115200 >> status=standingby >> statustime=10-15-2013 16:32:24 >> supportedarchs=x86,x86_64 >> switch=ethsw1 >> switchport=gi1/0/12 >> tftpserver=10.43.255.254 >> >> >> >> rpm -qa | grep -i xcat >> conserver-xcat-8.1.16-10.x86_64 >> xCAT-buildkit-2.8.2-snap201307222332.noarch >> xCAT-client-2.8.2-snap201307222328.noarch >> ipmitool-xcat-1.8.11-3.x86_64 >> xCAT-2.8.2-snap201307222333.x86_64 >> perl-xCAT-2.8.2-snap201307222328.noarch >> elilo-xcat-3.14-4.noarch >> xCAT-genesis-scripts-x86_64-2.8.2-snap201307222333.noarch >> xCAT-server-2.8.2-snap201307222328.noarch >> xCAT-genesis-base-x86_64-2.8-snap201308090229.noarch >> syslinux-xcat-3.86-2.noarch >> >> >> -- >> -- >> Wojciech Turek >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >> most from >> the latest Intel processors and coprocessors. See abstracts and >> register >* >> ** >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >> >> *<http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> >> _______________________________________________ >> xCAT-user mailing list* >> **xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>* >> >> **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> >> >> >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >> most from >> the latest Intel processors and coprocessors. See abstracts and >> register >* >> ** >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >> >> *<http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> >> _______________________________________________ >> xCAT-user mailing list* >> **xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>* >> >> **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> >> >> >> >> >> >> -- >> Wojciech Turek >> >> >> << Tomorrow (noun) A mystical land where 99% of all human productivity, >> motivation and achievement is stored >> >> ------------------------------------------------------------------------------ >> >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> >> > > > -- -- Wojciech Turek
<<graycol.gif>>
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user