Socket error: Illegal seek

2003-06-17 Thread Motherofperls
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?

RE: Illegal seek

2003-06-10 Thread Gupta, Sharad
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

RE: Illegal seek

2003-06-07 Thread Gupta, Sharad
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

Re: Illegal seek

2003-06-06 Thread R. Joseph Newton
c}\' \'$fields{bug_rel}\' \'$fields{type}\' "; > $new .= "\'$fields{title}\' \'$fields{description}\' \'$fields{owner}\' > "; > $new .= "\'$fields{impact}\' \'$fields{subtype}\&

RE: Illegal seek

2003-06-06 Thread Gupta, Sharad
$fields{type}\' "; $new .= "\'$fields{title}\' \'$fields{description}\' \'$fields{owner}\' "; $new .= "\'$fields{impact}\' \'$fields{subtype}\' \'$fields{panicstr}\' "; my $out = q

RE: Illegal seek

2002-02-21 Thread Tony McGuinness
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: >

Re: Illegal seek

2002-02-20 Thread William.Ampeh
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

Re: Illegal seek

2002-02-20 Thread Johannes Franken
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

Re: Illegal seek

2002-02-19 Thread Randal L. Schwartz
> "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

RE: Illegal seek

2002-02-19 Thread John Edwards
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

RE: Illegal seek

2002-02-19 Thread John Edwards
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

Illegal seek

2002-02-19 Thread Tony McGuinness
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 =

Re: Illegal seek

2002-02-19 Thread Jeff 'japhy' Pinyan
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

Re: Illegal seek

2002-02-19 Thread John W. Krahn
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

Illegal seek

2002-02-19 Thread Tony McGuinness
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