[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1025
  • Last Modified:

Problem when launching a .bin file on AIX 5

Hi,

I get the following error message when I try to launch setupaix.bin on AIX 5.

The size of the extracted files to be installed are corrupted. Please attempt to download the installer again. Make sure that the file is transfered in "binary" mode.

I have tried ftping setupaix.bin in binary mode, but that didn't work.

Any ideas?

Thanks
0
pdurbha
Asked:
pdurbha
  • 6
  • 4
  • 2
  • +2
1 Solution
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
If you get a "*.bin" file, you will have to make sure it's contents will not be altered during transfer.

Did you download from some server?
What do you mena that ftp in binary mode did not work?
0
 
pdurbhaAuthor Commented:
I didn't download it from any server. I ftped the bin file from my Windows machine to the remote AIX server. I made sure that the file was transferred in binary mode by typing "bin" before doing a "put" from the Windows command line.

Thanks
0
 
sjm_eeCommented:
What happens if you run the "file" command against the "bin" file?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
pdurbhaAuthor Commented:
The file type is a shell script...

# file setupaix.bin
setupaix.bin: shell script  - sh (default shell)

0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
When you look into the file you should see some shell code at the beginning
and after several lines there will be some code included (either directly in
binary or uuencoded).
This part is the data that will get extracted when running the script. If it
complains that it's corrupt, something ha happend with this data. Are you
sure that the file has not been corrupted when it got copied onto your PC
already?
0
 
sppalserCommented:
You might want to try ftping the file again however once you make your ftp connection type the command "bin" at your ftp prompt then download your file.  Once downloaded in this fashion try your install again.

Good Luck
0
 
pdurbhaAuthor Commented:
I opened the file and it's all ascii characters..not sure why .since I am making sure i do the FTP in binary mode...

Also, I am ftping the file to  two AIX machines (5.2 and 5.3). When I open up the file using vi editor in 5.2 I see all binary code, but when I open the same file that I ftped in binary mode on 5.3 I see all ascii chars..

not sure what's going on here..

Any ideas?
0
 
pdurbhaAuthor Commented:
Correction..

I took a closer look on the setupaix.bin files on both the machines and it appears that the files are identical. A part of the file is ascii(shell script) and  the remaining is binary.

So, my problem is why is the same bin file executing on 5.2 and not on 5.3?

Thanks







0
 
gheistCommented:
Maybe you aliased sh to bash in love to Linux?
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
As I said earlier:
The beginning of the file is shell code, the remainder binary stuff

What happens when you try to run the script with
  # sh setupaix.bin
0
 
pdurbhaAuthor Commented:
There was a problem with the JRE/JVM...It has nothing to do with the file.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
So, your problem has been solved?
0
 
pdurbhaAuthor Commented:
problem remains
0
 
gheistCommented:
file setupAIX.bin

is it websphere download or a CD-iso download?

Please use sftp-scp to transfer file. FTP is redundant and no need to learn if you are new at it.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 6
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now