Re: Perl CGI output truncated - Debian

This is a discussion on Re: Perl CGI output truncated - Debian ; On Tue, Oct 28, 2008 at 03:39:14PM +1100, Gerard Sharpe wrote: > Any help would be appreciated. Maybe have a look in apache's error.log -- Marcin Owsiany http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Re: Perl CGI output truncated

  1. Re: Perl CGI output truncated

    On Tue, Oct 28, 2008 at 03:39:14PM +1100, Gerard Sharpe wrote:
    > Any help would be appreciated.


    Maybe have a look in apache's error.log

    --
    Marcin Owsiany http://marcin.owsiany.pl/
    GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216


    --
    To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Re: Perl CGI output truncated

    Thanks for the responses.

    Achim no luck with stopping buffering with $| = 1;

    Matus also tried with no difference:
    ---
    open(RSH,"rsh ping |") || die "Failed:
    $!\n";
    while ( ) {
    print;
    }

    #Same result using back ticks, system or exec
    #print `rsh ping `;
    ---

    Nothing in Apache error log or the router debugging to rcmd.

    Also same issue using PHP.

    Trouble I'm having is isolating the issue to apache or the router

    I have a new IOS one the router... BUT running the perl scripts from the
    command line does NOT get truncated output (double checked permissions)...

    weird one!

    Raised a TAC case with Cisco but still confused about the perl script
    working from the command line but not apache (also installed apache2 with
    same result)



    On Tue, Oct 28, 2008 at 9:04 PM, Marcin Owsiany wrote:

    > On Tue, Oct 28, 2008 at 03:39:14PM +1100, Gerard Sharpe wrote:
    > > Any help would be appreciated.

    >
    > Maybe have a look in apache's error.log
    >
    > --
    > Marcin Owsiany http://marcin.owsiany.pl/
    > GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact
    > listmaster@lists.debian.org
    >
    >



  3. Re: Perl CGI output truncated

    On 28.10.08 23:29, Gerard Sharpe wrote:
    > Thanks for the responses.
    >
    > Achim no luck with stopping buffering with $| = 1;
    >
    > Matus also tried with no difference:
    > ---
    > open(RSH,"rsh ping |") || die "Failed:
    > $!\n";
    > while ( ) {
    > print;
    > }
    >
    > #Same result using back ticks, system or exec
    > #print `rsh ping `;


    not the die, the print, at least the last one.
    die adds newline automatically
    --
    Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
    Warning: I wish NOT to receive e-mail advertising to this address.
    Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
    Depression is merely anger without enthusiasm.


    --
    To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread