[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Exec error
- Subject: [cobalt-developers] Exec error
- From: "flash" <bop@xxxxxxxxx>
- Date: Thu Apr 12 06:13:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
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";