Skip Menu |

This queue is for tickets about the IPC-Session CPAN distribution.

Report information
The Basics
Id: 635
Status: new
Priority: 0/
Queue: IPC-Session

People
Owner: Nobody in particular
Requestors: mike.vanole [...] attws.com
Cc:
AdminCc:

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



Subject: IPC::Session seems to connect, but won't send()
Perl 5.6.1 Solaris 5.8 NCR 3.0.2 I'm trying to use IPC::Session to submit a perl script from Solaris to NCR unix. Version .05 will not connect at all. With version .03 I get connected, but then I can't get commands to go through: The output: # submit_remote_archive Trying to connect to wdev15... Connected: IPC::Session=HASH(0xf096c) timeout on stdout at /usr/local/lib/perl5/site_perl/5.6.1/IPC/Session.pm line 88. The code: #!/usr/local/bin/perl use IPC::Session; print "Trying to connect to REMOTEHOST...\n"; my $session = new IPC::Session("rsh REMOTEHOST"); print "Connected: $session\n"; $session->send("hostname"); print $session->stdout(); $session->send("date"); print $session->stdout(); Looks like it's blowing on $handler. Both system have a working /bin/sh. Both systems allow rsh from each other from a ksh, so I know the .rhosts files are set up. Any help is appreciated. I hope to use this instead of Net::Rexec. thanks, Mike
From: "Vanole, Mike" <mike.vanole [...] attws.com>
To: "'bug-IPC-Session [...] rt.cpan.org'" <bug-IPC-Session [...] rt.cpan.org>
Subject: [cpan #635]
Date: Wed, 22 May 2002 17:43:36 -0500
I would like to add that I get the same errors trying to connect Solaris to Solaris (version .05 not connecting at all, and version .03 not send()'ng); that NCR unix is not the problem. Thanks.