Skip Menu |
 

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 72953
Status: new
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: naveen.nvr [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: NET::SSH::PERL -Your vendor has not defined Fcntl macro F_SETFL, used at C:/Perl/site/lib/Net/SS
Download (untitled) / with headers
text/plain 941b
HI, I would require help with Net::ssh::perl module. Please let me know if any one worked with this module. =========Script============== use Net::SSH::Perl; $test="10.58.121.6 10.58.121.8" ; @nodename=split( ' ', $test ); foreach $hostname (@nodename) { $ssh = Net::SSH::Perl->new($hostname, port => 22); print "$hostname "; $ssh->login("osdss", "sis"); chomp ( my $cmd = 'prtpicl -v -c temperature-sensor | grep Temperature | awk \'{ a = $2 ; getline ; b = $2 ; getline ; print "CPU:"a" CASE:"b}\''); my($out, $err) = $ssh->cmd($cmd || "ls -l"); print $out; $ssh->cmd("exit"); } ==============DONE========================= ==========ERROR========================= D:\LEARN\PERL>perl ss1.pl Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Cal c at C:/Perl/site/lib/Crypt/DH.pm line 6 Your vendor has not defined Fcntl macro F_SETFL, used at C:/Perl/site/lib/Net/SS H/Perl.pm line 214.
From: naveen.nvr [...] gmail.com
Download (untitled) / with headers
text/plain 1.7k
On Mon Dec 05 01:54:13 2011, Naveenz wrote: Show quoted text
> HI, I would require help with Net::ssh::perl module. Please let me
know Show quoted text
> if any one worked with this module. > > =========Script============== > use Net::SSH::Perl; > $test="10.58.121.6 10.58.121.8" ; > > @nodename=split( ' ', $test ); > > foreach $hostname (@nodename) { > > $ssh = Net::SSH::Perl->new($hostname, port => 22); > > print "$hostname "; > > $ssh->login("osdss", "sis"); > > chomp ( my $cmd = 'prtpicl -v -c temperature-sensor | grep Temperature
| Show quoted text
> awk \'{ a = $2 ; getline ; b = $2 ; getline ; print "CPU:"a" > CASE:"b}\''); > > my($out, $err) = $ssh->cmd($cmd || "ls -l"); > > print $out; > > $ssh->cmd("exit"); > } > ==============DONE========================= > ==========ERROR========================= > D:\LEARN\PERL>perl ss1.pl > Math::BigInt: couldn't load specified math lib(s), fallback to > Math::BigInt::Cal > c at C:/Perl/site/lib/Crypt/DH.pm line 6 > Your vendor has not defined Fcntl macro F_SETFL, used at > C:/Perl/site/lib/Net/SS > H/Perl.pm line 214.
====================== Perl Version ======================= This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32- x86-multi-t hread (with 9 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Binary build 1204 [294330] provided by ActiveState http://www.ActiveState.com Built Feb 9 2011 14:38:22 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
From: naveen.nvr [...] gmail.com
Download (untitled) / with headers
text/plain 1.9k
On Mon Dec 05 01:54:51 2011, Naveenz wrote: Show quoted text
> On Mon Dec 05 01:54:13 2011, Naveenz wrote:
> > HI, I would require help with Net::ssh::perl module. Please let me
> know
> > if any one worked with this module. > > > > =========Script============== > > use Net::SSH::Perl; > > $test="10.58.121.6 10.58.121.8" ; > > > > @nodename=split( ' ', $test ); > > > > foreach $hostname (@nodename) { > > > > $ssh = Net::SSH::Perl->new($hostname, port => 22); > > > > print "$hostname "; > > > > $ssh->login("osdss", "sis"); > > > > chomp ( my $cmd = 'prtpicl -v -c temperature-sensor | grep
Temperature Show quoted text
> |
> > awk \'{ a = $2 ; getline ; b = $2 ; getline ; print "CPU:"a" > > CASE:"b}\''); > > > > my($out, $err) = $ssh->cmd($cmd || "ls -l"); > > > > print $out; > > > > $ssh->cmd("exit"); > > } > > ==============DONE========================= > > ==========ERROR========================= > > D:\LEARN\PERL>perl ss1.pl > > Math::BigInt: couldn't load specified math lib(s), fallback to > > Math::BigInt::Cal > > c at C:/Perl/site/lib/Crypt/DH.pm line 6 > > Your vendor has not defined Fcntl macro F_SETFL, used at > > C:/Perl/site/lib/Net/SS > > H/Perl.pm line 214.
> > ====================== > Perl Version > ======================= > > This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32- > x86-multi-t > hread > (with 9 registered patches, see perl -V for more detail) > > Copyright 1987-2010, Larry Wall > > Binary build 1204 [294330] provided by ActiveState > http://www.ActiveState.com > Built Feb 9 2011 14:38:22 > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source
kit. Show quoted text
> > Complete documentation for Perl, including FAQ lists, should be found
on Show quoted text
> this system using "man perl" or "perldoc perl". If you have access to > the > Internet, point your browser at http://www.perl.org/, the Perl Home > Page. >
==================== Operation System ==================== WINDOWS XP


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.