I'm getting this error on my unix server from my socket script. The script
does fine on my localhost win98 box. What does Illegal Seek mean?
R. Joseph Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 10:42 PM
To: Gupta, Sharad
Cc: [EMAIL PROTECTED]
Subject: Re: Illegal seek
"Gupta, Sharad" wrote:
> While running this:
>
> my $new = "/newtests/new ";
> $new .= &q
Rather i should say:
It died in the below qx with this error:
Illegal seek at ././job.pl line 316
-Sharad
-Original Message-
From: Gupta, Sharad
Sent: Friday, June 06, 2003 11:52 AM
To: [EMAIL PROTECTED]
Subject: RE: Illegal seek
While running this:
my $new
c}\' \'$fields{bug_rel}\' \'$fields{type}\' ";
> $new .= "\'$fields{title}\' \'$fields{description}\' \'$fields{owner}\'
> ";
> $new .= "\'$fields{impact}\' \'$fields{subtype}\&
$fields{type}\' ";
$new .= "\'$fields{title}\' \'$fields{description}\' \'$fields{owner}\' ";
$new .= "\'$fields{impact}\' \'$fields{subtype}\' \'$fields{panicstr}\' ";
my $out = q
Hi Johannes,
Thanks for your response, it now works.
Regards,
Tony
-Original Message-
From: Johannes Franken [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 20:40
To: Perl List (E-mail)
Subject: Re: Illegal seek
On Tue, Feb 19, 2002 at 12:05:40PM -, Tony McGuinness wrote:
>
I have lost track from who this was originally sent, but this is what I
think is wrong with
your script (the original script).
1. open requires 2 arguments, you had 1. So you may want to re-write your
open stmt as:
open FTPSCR, "|ftp -n -v $hostname > ftplog\n"; #insert a comma
As a precaut
On Tue, Feb 19, 2002 at 12:05:40PM -, Tony McGuinness wrote:
> I am getting the following:
> cannot execute ftpscr Illegal seek at ./getfile.pl line 31.
Here's what's wrong with your script:
1.) You forgot to close the file before executing it.
So the system() would find
> "Tony" == Tony McGuinness <[EMAIL PROTECTED]> writes:
Tony> I checked up on system and rewrote the line that
Tony> calls system. Now I have:
Tony> @args = ("$Basedir/ftpscr");
Tony> system(@args) == 0 or die "cannot execute ftpscr $!";
Tony> but the script is not executed. No errors are r
o: John Edwards
Subject: RE: Illegal seek
Hi John,
Thanks for the response.
I tried this to no avail.
The script I want to execute is executable.
Regards,
Tony
-Original Message-
From: John Edwards [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 14:55
To: 'Tony McGuinness
19 February 2002 14:55
To: Perl List (E-mail)
Subject: Illegal seek
Hi there,
I checked up on system and rewrote the line that
calls system. Now I have:
@args = ("$Basedir/ftpscr");
system(@args) == 0 or die "cannot execute ftpscr $!";
but the script is not execut
Hi there,
I checked up on system and rewrote the line that
calls system. Now I have:
@args = ("$Basedir/ftpscr");
system(@args) == 0 or die "cannot execute ftpscr $!";
but the script is not executed. No errors are returned.
Any ideas?
Tony
=
On Feb 19, Tony McGuinness said:
>from a simple Perl script (below). The system command is returning
>the error and the pathname points to the current directory. I cannot
>seem to find any documentation on this error. Has anyont encountered
>the same.
As John said, Perl has a module for FTP.
>s
Tony McGuinness wrote:
>
> Hi there,
Hello,
> I am getting the following:
>
> cannot execute ftpscr Illegal seek at ./getfile.pl line 31.
>
> from a simple Perl script (below). The system command is returning
> the error and the pathname points to the current direc
Hi there,
I am getting the following:
cannot execute ftpscr Illegal seek at ./getfile.pl line 31.
from a simple Perl script (below). The system command is returning
the error and the pathname points to the current directory. I cannot
seem to find any documentation on this error. Has anyont
15 matches
Mail list logo