Hi guys,
This is my 1st post here. I tried to Google around but failed to get my solution. So I hope you guys could help me. (I have just a basic unix background for 2years so I'm sorry if im asking stupid questions)
OS - Aix 6.1, 64 bits.
Server - currently I only have telnet access to a Aix machine. ( I don't have SSH access)
The problem - I can't seem to extract or gunzip a .tgz file.
Error 1 ->
# gunzip install.tgz
gunzip: install.tgz: invalid compressed data--crc error
gunzip: install.tgz: invalid compressed data--length error
Error 2 -:>
I also tried to extract an apache file for aix.
# tar -xvf apache-2.2.14_openssl-0.9.8k_modjk-1.2.26_aix53.tar.gz
tar: 0511-169 A directory checksum error on media; 0 not equal to 63252.
Investigations(might help to identify the problem) -
1) Some say its because when I ftp it may transfer as an ACSII file. So i tried typing binary when I ftp to the AIX machine. It showed type set to I. So I just ftp the .tgz file that I want to my AIX machine. So when I tried to gunzip, same thing happened.
my method of transferring file -> I used WinSCP to download the file from a server to my local machine > then from my local machine I ftp to the remote aix machine.
2) gunzip installed in AIX? i tried the gunzip -V
# gunzip -V
gunzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
but on another machine the with the same version, I could successfully gunzip it.
3) is it because the .gzip was compiled in non aix? but the installer.tgz (the file that im trying to unzip) initially supports all OS. I tried in RHEL was fine, in windows2k8 was fine also.
4) I tried checking the file size with the one i transferred to other servers, and it is the same. (FTP takes so long)
Any ideas? please advice? would it be like a binary or library missing? Any suggestions?
cheers
pilotHans