Sponsored Content
Full Discussion: Perl Script Hanging
Top Forums Shell Programming and Scripting Perl Script Hanging Post 302294532 by Phi01 on Thursday 5th of March 2009 11:26:34 AM
Old 03-05-2009
Perl Script Hanging

Hey,

Does anyone know why my Perl script is hanging when i execute it.

Code:
print "looking around ...\n";
my ($out, $err, $exit) = $scon->cmd('ls');
print "done";

i get the following error:

Code:
channel 1: open confirm rwindow 131043 rmax 32768

I'm using use Net::SSH::W32Perl Module.

My Perl Version is "v5.10.0 Build 1004"
Thanks.

Last edited by Phi01; 03-05-2009 at 12:28 PM.. Reason: additional info
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

hanging sql script

Need your help pls... I have integrated my shell script with sqlplus statements that will fetch necessary data for the rest of the script. As observed, sometimes problems at the oracle database occurs wherein users can not login via sqlplus, so does the script. During execution, the logging of... (4 Replies)
Discussion started by: inquirer
4 Replies

2. Shell Programming and Scripting

script hanging - remsh

Greetings to everyone, My Problem: I have a script which inturn calls couple of other scripts in different servers (solaris) to do a server startups on the respecitve boxes. My script ... #!/usr/bin/ksh siebsrvr_root=/users/siebelserver/siebsrvr cd $siebsrvr_root . ./siebenv.sh... (2 Replies)
Discussion started by: vivsiv
2 Replies

3. UNIX for Advanced & Expert Users

can hanging perl process wipe out a directory?

Hi, This weekend i left a perl script running , I was running it in a remote machine. The machine seems to have been rebooted during the weekend. When i got back on monday the entire directory containing the script was wiped out. The process had been aborted. Nobody has access to the directory... (2 Replies)
Discussion started by: aboxilica
2 Replies

4. UNIX for Dummies Questions & Answers

Help with EXPECT script hanging

I am new at developing EXPECT scripts. I'm trying to create a script that will automatically connect to a UNIX server via FTP and download a log file from the server within a specified server directory on the remote machine. I'm having problems with the EXPECT script "hanging" at the password... (0 Replies)
Discussion started by: markus2008
0 Replies

5. Linux

Script to simulate hanging process

I want to create a script to simulate a process that hangs to test a java application. My java app executes a system command, which can also be executing scripts, etc. Any ideas on such a script? The java code is: Runtime rt = Runtime.getRuntime(); Process p = rt.exec("sh... (4 Replies)
Discussion started by: brendan76
4 Replies

6. Shell Programming and Scripting

Script is hanging

Hello, I have the following shell script and when i execute, it keeps hanging and nothing happens Please let me know. Requirement is to read data from file and pass it to the sql and create files as shown. code /******** #!/bin/sh while read user.dat do echo "user = $1 email =... (1 Reply)
Discussion started by: rakeshsr12
1 Replies

7. Shell Programming and Scripting

script hanging???

ok... this is where i am at... i need a script to call another script as a wrapper because the first script creates a sub-shell. here is what i got... i kick off the first script "CCBDEMO-threadpoolworker.sh" #!/bin/bash clear #clearing screen directory="/data1/spl/cis/CCBDEMO/bin"... (1 Reply)
Discussion started by: Dagaswolf
1 Replies

8. Shell Programming and Scripting

PERL - press Enter function hanging

Hi, I have a sub function called pressEnter within my perl menu script which basically means that the script will await an interaction from the user before moving on. Unfortunately when the script goes into pressEnter it just hangs (even if you press enter!!). Any ideas on what could be... (4 Replies)
Discussion started by: chris01010
4 Replies

9. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies

10. UNIX for Beginners Questions & Answers

Shell script is hanging up every time even after it's successful

We are using a korn shell script which is meant to trigger a Oracle job to load the data from a flat file to an Oracle database . Also the same script addresses the following tasks also like triggering a SFTP job to pick the file from one path to the target location and checking the same with... (6 Replies)
Discussion started by: senmng
6 Replies
Padre::PluginBuilder(3pm)				User Contributed Perl Documentation				 Padre::PluginBuilder(3pm)

NAME
Padre::PluginBuilder - Module::Build subclass for building Padre plug-ins DESCRIPTION
This is a Module::Build subclass that can be used in place of Module::Build for the "Build.PL" of Padre plug-ins. It adds two new build targets for the plug-ins: ADDITIONAL BUILD TARGETS
"plugin" Generates a .par file that contains all the plug-in code. The name of the file will be according to the plug-in class name: "Padre::Plugin::Foo" will result in Foo.par. Installing the plug-in (for the current architecture) will be as simple as copying the generated .par file into the "plugins" directory of the user's Padre configuration directory (which defaults to ~/.padre on Unix systems). "installplugin" Generates the plug-in .par file as the "plugin" target, but also installs it into the user's Padre plug-ins directory. SEE ALSO
Padre, Padre::Config Module::Build PAR for more on the plug-in system. COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::PluginBuilder(3pm)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy