What version of xCAT are you using? (xdsh -V).  What version is perl-base 
rpm?

Can you put the following in a file and run it and see if it complains 
about the autoflush as well?

#!/usr/bin/perl
use IO::Socket;
use IO::Handle; 
 
socketpair(CHILD, PARENT, AF_UNIX, SOCK_STREAM, PF_UNSPEC) or  die 
"filed";
CHILD->autoflush(1);
PARENT->autoflush(1);

if ($pid = fork) {
    close PARENT;
    print CHILD "Parent Pid $$ is sending this\n";
    chomp($line = <CHILD>);
    print "Parent Pid $$ just read this: `$line'\n";
    close CHILD;
    waitpid($pid,0);
} else {
    die "cannot fork: $!" unless defined $pid;
    close CHILD;
    chomp($line = <PARENT>);
    print "Child Pid $$ just read this: `$line'\n";
    print PARENT "Child Pid $$ is sending this\n";
    close PARENT;
    exit;
 } 

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   [email protected]
To:     xCAT Users Mailing list <[email protected]>
Date:   09/04/2012 02:38 AM
Subject:        Re: [xcat-user] kvm rpower/rinstall fail



Hi

Any ideas on how i could investigate this further? Thanks!

Regards
Matthias

[email protected] schrieb am 31.08.2012 15:51:59:

> Von: [email protected]
> An: xCAT Users Mailing list <[email protected]>
> Datum: 31.08.2012 15:52
> Betreff: Re: [xcat-user] kvm rpower/rinstall fail
> 
> usexhrm is set to 1 in the site table.
> 
> " $ service xcatd stop" produces this line in /var/log/messages. that's 
a 
> bit worrying ;)
> perl[30978]: segfault at 44 ip 0000000000463349 sp 00007fff9bfc5fb0 
error 
> 6 in perl[400000+18a000]
> 
> $ /opt/xcat/sbin/xcatd -f
> 
> xCAT: Allowing nodeset to lnx0111a install for ruxi003 from loopback
> xCAT: Allowing rpower to lnx0111a boot for ruxi003 from loopback
> monitorctrl::setNodeStatusAttributes called
> monitorctrl::setNodeStatusAttributes called
> 
> with export XCATBYPASS=1 i get
> $ rinstall lnx0111a
> lnx0111a: install sles11.2-x86_64-kvm
> monitorctrl::setNodeStatusAttributes called
> Can't locate object method "autoflush" via package "FileHandle" at 
> /opt/xcat/lib/perl/xCAT_plugin/kvm.pm line 2688.
> rpower failure at /opt/xcat/bin/rinstall line 55.
> 
> on the vmhost i see a ssh login by root in /var/log/messages
> 
> Jarrod B Johnson <[email protected]> schrieb am 31.08.2012 15:11:34:
> 
> > Von: Jarrod B Johnson <[email protected]>
> > An: xCAT Users Mailing list <[email protected]>
> > Kopie: [email protected]
> > Datum: 31.08.2012 15:12
> > Betreff: Re: [xcat-user] kvm rpower/rinstall fail
> > 
> > How odd.  Anything in /var/log/messages?
> > 
> > Failing that:
> > service xcatd restart
> > xcatd -f
> > 
> > Then try in another terminal and see if anything comes out...
> > 
> > [email protected] wrote: -----
> > To: [email protected]
> > From: [email protected]
> > Date: 08/31/2012 08:36AM
> > Subject: [xcat-user] kvm rpower/rinstall fail
> 
> > hi 
> > 
> > i'd need some help debugging why a kvm VM won't power on.
> > 
> > the VM is defined and the qcow file created. xcat is able to 
communicate 
> 
> > with libvirt on the vmhost but rpower and rinstall both fail with no 
> > particular error.
> > 
> > $ rinstall lnx0111a
> > lnx0111a: install sles11.2-x86_64-kvm
> > lnx0111a: off off
> > 
> > $ rpower  lnx0111a on
> > lnx0111a: off
> > 
> > $ rpower lnx0111a boot
> > lnx0111a: off off
> > 
> > $ rpower lnx0111a stat
> > lnx0111a: of
> > 
> > thanks in advance
> > 
> > best regards
> > matthias
> > ----------------
> > Disclaimer:
> > Diese Nachricht dient ausschließlich zu Informationszwecken und ist 
nur 
> > für den Gebrauch des angesprochenen Adressaten bestimmt.
> > 
> > This message is only for informational purposes and is intended solely 


> for 
> > the use of the addressee.
> > ----------------
> > 
> > 
> 
------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and 
> > threat landscape has changed and how IT managers can respond. 
> Discussions 
> > will include endpoint security, mobile security and the latest in 
> malware 
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > xCAT-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
> > 
> 
------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and 
> > threat landscape has changed and how IT managers can respond. 
> Discussions 
> > will include endpoint security, mobile security and the latest in 
> malware 
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > xCAT-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
> 
> ----------------
> Disclaimer:
> Diese Nachricht dient ausschließlich zu Informationszwecken und ist nur 
> für den Gebrauch des angesprochenen Adressaten bestimmt.
> 
> This message is only for informational purposes and is intended solely 
for 
> the use of the addressee.
> ----------------
> 
> 
------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
Discussions 
> will include endpoint security, mobile security and the latest in 
malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user

----------------
Disclaimer:
Diese Nachricht dient ausschließlich zu Informationszwecken und ist nur 
für den Gebrauch des angesprochenen Adressaten bestimmt.

This message is only for informational purposes and is intended solely for 

the use of the addressee.
----------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to