AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Need to Install ZIP Package on AIX servers.

    Posted Fri January 28, 2022 03:12 PM
    Hi Team,
    We have found Log4j files on AIX servers, need to zip the below files we have to execute below mentioned 3 commands. But we are unable to execute this commands on aix server.
    1.zip -q -d log4j-*.jar org/apache/log4j/net/JMSSink.class
    2.zip -q -d log4j-*.jar org/apache/log4j/jdbc/JDBCAppender.class
    3.zip -q -d log4j-*.jar org/apache/log4j/chainsaw/*

    We try to install zip package in our server , got below error  please advise us.
     # rpm -ivh zip-3.0-4.ppc.cpio error: zip-3.0-4.ppc.cpio: not an rpm package (or package manifest):

    You guys please advise exact zip package so that we will install in our server.


    ------------------------------
    Ramky
    ------------------------------


  • 2.  RE: Need to Install ZIP Package on AIX servers.

    Posted Mon January 31, 2022 05:57 AM
    Hi!

    I think the easiest solution would be to install zip from the AIX Toolbox for Open Source Software. If you don't want to use the full potential with dnf package management or your system has no internet access, it should be good enough to download the zip rpm package, and install it via rpm.  I think the only dependency you will require to download, too, would be bzip2.


    Best regards,
      Alexander

    ------------------------------
    Alexander Reichle-Schmehl
    ------------------------------



  • 3.  RE: Need to Install ZIP Package on AIX servers.

    Posted Tue February 01, 2022 11:47 AM
    Thanks Alexander.

    We will check .


    ------------------------------
    Ramky
    ------------------------------



  • 4.  RE: Need to Install ZIP Package on AIX servers.

    Posted Tue October 31, 2023 03:16 PM

    Did it work? What version of Aix are you using?



    ------------------------------
    TCS Unix Support
    ------------------------------



  • 5.  RE: Need to Install ZIP Package on AIX servers.

    Posted Wed November 01, 2023 03:33 PM

    This is a very old post. If you have issues installing zip, you should provide the details of your issue, and perhaps create a new post, unless you are seeking resolution to the same erors and file versions.

    Note that zip requires bzip2, which requires libgcc.

    If you have a product that requires zip, you can ask for their recommendations. I thought that the IBM products with lib4j eventually provided guidance to obtain zip last year.



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------