Exec Format errors

Hi,
This problem is pretty recent. For months when I am moving groups of files
between computers I’ve Tarred the files, copied the tar file, and extracted
them. Just recently, after extracting them, it appears that some of the
files (so far I’ve only tested 1) become corrupted. It did it 1 time
before, and I figured it was just something I did wrong. But this is the
second time it’s happened, both occurrences happening in a row (error was
produced this time and the time before).

The target system I’m copying files to is running FreeBSD, I’m copying the
file over NFS. It’s worked PERFECTLY for a long time, only now is it
starting to be a problem. Any ideas as to how it might be corrupting?

Thanks!

Ron

Ron Cococcia <cococr@cs.rpi.edu> wrote:

Hi,
This problem is pretty recent. For months when I am moving groups of files
between computers I’ve Tarred the files, copied the tar file, and extracted
them. Just recently, after extracting them, it appears that some of the
files (so far I’ve only tested 1) become corrupted. It did it 1 time
before, and I figured it was just something I did wrong. But this is the
second time it’s happened, both occurrences happening in a row (error was
produced this time and the time before).

The target system I’m copying files to is running FreeBSD, I’m copying the
file over NFS. It’s worked PERFECTLY for a long time, only now is it
starting to be a problem. Any ideas as to how it might be corrupting?

Get a file on the QNX system you know works, copy to the FreeBSD.
Then copy it back (if the exec format error shows up) do a ‘diff’
on the ORIGINAL file you sent and the copied version. Also you can
try using the ‘file’ util to see what type the file is.

Regards,

Marcin


Thanks!

Ron

Tools Mail Account <tools@qnx.com> wrote:

Ron Cococcia <> cococr@cs.rpi.edu> > wrote:
Hi,
This problem is pretty recent. For months when I am moving groups of files
between computers I’ve Tarred the files, copied the tar file, and extracted
them. Just recently, after extracting them, it appears that some of the
files (so far I’ve only tested 1) become corrupted. It did it 1 time
before, and I figured it was just something I did wrong. But this is the
second time it’s happened, both occurrences happening in a row (error was
produced this time and the time before).

The target system I’m copying files to is running FreeBSD, I’m copying the
file over NFS. It’s worked PERFECTLY for a long time, only now is it
starting to be a problem. Any ideas as to how it might be corrupting?

Get a file on the QNX system you know works, copy to the FreeBSD.
Then copy it back (if the exec format error shows up) do a ‘diff’
on the ORIGINAL file you sent and the copied version.

Actually, you might want to use ‘cmp’, rather than diff. diff is
primarily intended for text files, and an executable is not a text
file.

-David

QNX Training Services
dagibbs@qnx.com