AIX Open Source

 View Only
Expand all | Collapse all

Facing issue while unzip the zip files in aix

  • 1.  Facing issue while unzip the zip files in aix

    Posted Fri June 09, 2023 12:29 AM

    Hi Team,

    We are facing problem while doing the unzip of the below mentioned .zip files in AIX server. Please refer the below details and help us to resolve this soon.

    :/dbexport/oracle_software> ls -lrt
    total 11630176
    -rwxr-x--- 1 oracle dba 569688642 May 26 12:58 p13390677_112040_AIX64-5L_6of7.zip*
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:00 p13390677_112040_AIX64-5L_1of7.zip*
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:02 p13390677_112040_AIX64-5L_2of7.zip*
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:03 p13390677_112040_AIX64-5L_3of7.zip*
    -rwxr-x--- 1 oracle dba 1044886145 May 26 13:04 p13390677_112040_AIX64-5L_4of7.zip*
    -rwxr-x--- 1 oracle dba 892976067 May 26 13:05 p13390677_112040_AIX64-5L_5of7.zip*
    -rwxr-x--- 1 oracle dba 225860409 May 26 13:06 p13390677_112040_AIX64-5L_7of7.zip*
    tibdbres:/dbexport/oracle_software>
    ------------------------------------------------------------------
    Error :

    Archive: p13390677_112040_AIX64-5L_1of7.zip
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    note: p13390677_112040_AIX64-5L_1of7.zip may be a plain executable, not an archive
    unzip: cannot find zipfile directory in one of p13390677_112040_AIX64-5L_1of7.zip or
    p13390677_112040_AIX64-5L_1of7.zip.zip, and cannot find p13390677_112040_AIX64-5L_1of7.zip.ZIP, period.

    ------------------------------------------------------------
    command used : unzip p13390677_112040_AIX64-5L_1of7.zip -d /dbexport/oracle_software/extract/

    As checked with IBM support team they suggetsed to install the latest package unzip 6.0 from  http://www.perzl.org/aix/index.php?n=Main.Unzip.

    We have downloaded the relevant packages as below and installed in the aix server . But, still it didn't worked and throws the belo error.

    tibdbres:/home/poddaso> rpm -qa|grep -i unzip
    unzip-64bit-6.0-6.ppc
    tibdbres:/home/poddaso>
    tibdbres:/dbexport/oracle_software> unzip p13390677_112040_AIX64-5L_1of7.zip -d /dbexport/oracle_software/extract/
    Archive: p13390677_112040_AIX64-5L_1of7.zip
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    note: p13390677_112040_AIX64-5L_1of7.zip may be a plain executable, not an archive
    unzip: cannot find zipfile directory in one of p13390677_112040_AIX64-5L_1of7.zip or
    p13390677_112040_AIX64-5L_1of7.zip.zip, and cannot find p13390677_112040_AIX64-5L_1of7.zip.ZIP, period.
    tibdbres:/dbexport/oracle_software>

    After uninstalling the above one we have tried with the below package:

    tibdbres:/home/poddaso> rpm -qa|grep -i unzip
    unzip-6.0-6.ppc
    tibdbres:/home/poddaso> cd /dbexport/oracle_software
    tibdbres:/dbexport/oracle_software> ls -lrt
    total 11630176
    -rwxr-x--- 1 oracle dba 569688642 May 26 12:58 p13390677_112040_AIX64-5L_6of7.zip
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:00 p13390677_112040_AIX64-5L_1of7.zip
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:02 p13390677_112040_AIX64-5L_2of7.zip
    -rwxr-x--- 1 oracle dba 1073741312 May 26 13:03 p13390677_112040_AIX64-5L_3of7.zip
    -rwxr-x--- 1 oracle dba 1044886145 May 26 13:04 p13390677_112040_AIX64-5L_4of7.zip
    -rwxr-x--- 1 oracle dba 892976067 May 26 13:05 p13390677_112040_AIX64-5L_5of7.zip
    -rwxr-x--- 1 oracle dba 225860409 May 26 13:06 p13390677_112040_AIX64-5L_7of7.zip
    drwxr-x--- 2 oracle dba 4096 Jun 06 15:30 backup
    drwxr-x--- 2 oracle dba 256 Jun 07 16:08 extract
    tibdbres:/dbexport/oracle_software> unzip p13390677_112040_AIX64-5L_1of7.zip -d /dbexport/oracle_software/extract/
    Archive: p13390677_112040_AIX64-5L_1of7.zip
    End-of-central-directory signature not found. Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive. In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
    note: p13390677_112040_AIX64-5L_1of7.zip may be a plain executable, not an archive
    unzip: cannot find zipfile directory in one of p13390677_112040_AIX64-5L_1of7.zip or
    p13390677_112040_AIX64-5L_1of7.zip.zip, and cannot find p13390677_112040_AIX64-5L_1of7.zip.ZIP, period.
    tibdbres:/dbexport/oracle_software>

    Please check and suggest the resolution as this is a bit urgent. 



    ------------------------------
    UNIX
    ------------------------------


  • 2.  RE: Facing issue while unzip the zip files in aix

    IBM Champion
    Posted Sat June 10, 2023 09:50 AM
    Are you able to unzip other files? Can you unzip that file on another platform?

    It seems very likely that you are missing the end of the file... 

    -- 
    Stephen L. Ulmer
    Enterprise Architect
    Mainline Information Systems

    This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message.