[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Exec error
- Subject: Re: [cobalt-developers] Exec error
- From: "flash" <bop@xxxxxxxxx>
- Date: Thu Apr 12 07:43:23 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
i did.
i figured it out.
i cant open the script in another cgi.
(file management one)
but the rest i can.
so im guessing it was uploaded in binary or something (it thinks it is an
image.)
----- Original Message -----
From: "Richard Badua" <RBadua@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Thursday, April 12, 2001 5:47 PM
Subject: RE: [cobalt-developers] Exec error
> Try removing the -- from first line
>
> -----Original Message-----
> From: cobalt-developers-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of flash
> Sent: Thursday, April 12, 2001 10:55 AM
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Subject: [cobalt-developers] Exec error
>
>
> On certain scripts i get this error. How can i fix it? (i included the
> script below)
> Error Message: Exec format error
> Error Number: 8
> i changed the shebang as recommend by cgiwrap.
> and i tryed the cgiwrap debugger
> ( /cgiwrapDir/cgiwrapd/path/codes.cgi )
>
> #script
>
> #!/usr/bin/perl --
> print "Content-type:text/html\n\n";
> @alpha = ('A'..'Z', '0' .. '9', '-');
> #$code="MAILR-";
> $code="";
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> $code .= $alpha[rand(36)];
> print "code: $code";
> print "total: @alpha";
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers