Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 15766 invoked by uid 6000); 22 Jan 1999 10:10:14 -0000 Received: (qmail 15349 invoked by uid 2001); 22 Jan 1999 10:10:02 -0000 Received: (qmail 9082 invoked by uid 2012); 22 Jan 1999 08:50:28 -0000 Message-Id: <19990122085028.9081.qmail@hyperreal.org> Date: 22 Jan 1999 08:50:28 -0000 From: jaya mistry Reply-To: jaya_mistry@ins.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: os-solaris/3746: Server disconnects session Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 3746 >Category: os-solaris >Synopsis: Server disconnects session >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: support >Submitter-Id: apache >Arrival-Date: Fri Jan 22 02:10:01 PST 1999 >Last-Modified: >Originator: jaya_mistry@ins.com >Organization: apache >Release: 1.3.3 >Environment: Solaris 2.5.1 O.S SunOS large 5.5.1 Generic_103640-21 sun4u sparc SUNW,Ultra-60 Latest patches. >Description: Trying to run a looking glass script that performs an rsh request to a router. When the perl script is run from the command line we get complete results, but when we run the script from the browser we only get the first line of the output displayed. Tried setting the KeepAlive value from 15sec to 300sec and Timeout value to 300sec but still get the same result. >How-To-Repeat: Its going to be difficult if you dont have a router. But here is a cut down version of the script :- #!/usr/local/bin/perl $|=1 ; @data = `/usr/bin/rsh routername sh ip bgp sum`; print "Content-type: text/html\n\n"; print "
\nThe array is: ",$#data,"long.\n\n@data\n\n";
foreach $dat (@data){
 print "$dat\n";
}
print "
\n"; >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]