AIX

 View Only
  • 1.  Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Mon December 05, 2022 03:08 PM
    Hi! I've downloaded AIX 71TL5SP6 fixpack to update one server.
    Extracted the content in a directory /tmp/fixpack and run smit update_all with preview and I'm getting this message:

    Command: failed stdout: yes stderr: no

    Before command completion, additional instructions may appear below.

    #---------------------------------------------------------------------
    # No filesets on the media could be used to update the currently
    # installed software.
    #
    # Either the software is already at the same level as on the media, or
    # the media contains only filesets which are not currently installed.
    #---------------------------------------------------------------------

    I just updated system from TL4 to TL5 using base dvd:

    (root@test /)> oslevel -s
    7100-05-00-0000
    (root@test /)>

    lppchk looks good.

    (root@test /)> lppchk -v
    (root@test /)>

    I've already recreated .toc file, but still getting same error.

    I have no clue on how to get over this error, so I will appreciate any help.

    Have a nice day!

    ------------------------------
    Alejandro Rojas
    ------------------------------


  • 2.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Mon December 05, 2022 04:21 PM
    First, before you apply all the patches, update bos.rte.install

    installp -acXYgd . bos.rte.install

    then, using oslevel, check if all packages are up-to-date, and if not, which ones are behind.
    two commands..
    1) run oslevel -qs 
    This will show you the packages the current system is aware of

    2) pick the level you want to go up to.. and use that value as the parm to oslevel -sl

    for example 

    $ oslevel -qs|head
    Known Service Packs
    -------------------------
    7100-05-09-2148
    7100-05-09-2136
    7100-05-09-2135
    7100-05-08-2114
    7100-05-08-2113
    .
    .
    7100-05-06-2028

    then run 
    $ oslevel -sl  7100-05-06-2028

    Mine doesn't produce any output, but it'll show you if you have lingering packages that need to be patched.
    SP6 is a couple years old.. lots of bugs fixed between SP6 and SP10

    Tom

    ------------------------------
    Tom McGivern
    ------------------------------



  • 3.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Mon December 05, 2022 08:11 PM

    Hi Tom, thank you for your answer!

    Before replying, I apologize because I'm trying to install TL5SP9, not TL5SP6 as I wrote.
    Anyway, I tried to install bos.rte.install fileset in the first place but got this error message:

    FAILURES
    --------
    Filesets listed in this section failed pre-installation verification
    and will not be installed.

    Missing Filesets
    ----------------
    The following filesets could not be found on the installation media.
    If you feel these filesets really are on the media, check for typographical
    errors in the name specified or, if installing from directory, check for
    discrepancies between the Table of Contents file (.toc) and the images that
    reside in the directory.

    bos.rte.install

    << End of Failure Section >>

    I recreated .toc file,  but still getting the same message. Also, after running bffcreate, I can't find any package with that name:

    (root@test /tmp/fixpack/H29648209)> ls -lrt bos.rte.*
    -rw-r--r-- 1 root system 101376 Dec 05 06:23 bos.rte.console.7.1.1.0.U
    -rw-r--r-- 1 root system 137216 Dec 05 06:23 bos.rte.loc.7.1.2.15.U
    -rw-r--r-- 1 root system 196608 Dec 05 06:23 bos.rte.streams.7.1.2.15.U
    -rw-r--r-- 1 root system 100352 Dec 05 06:23 bos.rte.mlslib.7.1.2.15.U
    -rw-r--r-- 1 root system 808960 Dec 05 06:23 bos.rte.net.7.1.3.0.U
    -rw-r--r-- 1 root system 66560 Dec 05 06:23 bos.rte.jfscomp.7.1.3.0.U
    -rw-r--r-- 1 root system 61440 Dec 05 06:23 bos.rte.man.7.1.4.0.U
    -rw-r--r-- 1 root system 519168 Dec 05 06:24 bos.rte.ILS.7.1.4.30.U
    -rw-r--r-- 1 root system 49152 Dec 05 06:24 bos.rte.im.7.1.4.0.U
    -rw-r--r-- 1 root system 322560 Dec 05 06:24 bos.rte.7.1.5.0.U
    -rw-r--r-- 1 root system 350208 Dec 05 06:24 bos.rte.boot.7.1.5.0.U
    -rw-r--r-- 1 root system 8460288 Dec 05 06:24 bos.rte.filesystem.7.1.5.0.U
    -rw-r--r-- 1 root system 1053696 Dec 05 06:24 bos.rte.date.7.1.5.0.U
    -rw-r--r-- 1 root system 22561792 Dec 05 06:24 bos.rte.security.7.1.5.0.U
    -rw-r--r-- 1 root system 330752 Dec 05 06:24 bos.rte.SRC.7.1.4.30.U
    -rw-r--r-- 1 root system 6156288 Dec 05 06:24 bos.rte.shell.7.1.5.0.U
    -rw-r--r-- 1 root system 1737728 Dec 05 06:24 bos.rte.libpthreads.7.1.5.0.U
    -rw-r--r-- 1 root system 338944 Dec 05 06:24 bos.rte.bosinst.7.1.5.0.U
    -rw-r--r-- 1 root system 11958272 Dec 05 06:24 bos.rte.libc.7.1.5.0.U
    -rw-r--r-- 1 root system 18616320 Dec 05 06:24 bos.rte.control.7.1.5.0.U
    -rw-r--r-- 1 root system 130048 Dec 05 06:25 bos.rte.misc_cmds.7.1.5.0.U
    (root@test /tmp/fixpack/H29648209)>

    I'm really confused at this point. I thought that downloaded fixpack (with prerequisites) already had all filesets needed to update. Sometimes I feel like I'm in a maze, hehehe.

    I really appreciate any help.

    Regards!



    ------------------------------
    Alejandro Rojas
    ------------------------------



  • 4.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Mon December 05, 2022 08:11 PM

    Hi Alejandro..

    Surely you already are in that target SP.

    oslevel often drops a wrong level because filesets in bad state or lack of them.

     

    You can get the latest TL/SP with instfix -i | grep ML  

    And you can get what fileset are missing or in bad level with instfix -icqk 7100-06_AIX_ML | grep ":-:" (for example)

     

    Other options of oslevel are -sq and -sl. Try them.

     

    A more deeper research could be done with lppchk -c

     

    Regards

     

    Luis Rojas.

     

     

     






  • 5.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Mon December 05, 2022 08:30 PM
    Edited by Alejandro Rojas Mon December 05, 2022 08:39 PM
    Hi Luis, thank you for your answer.

    I'm sharing the output of some commands with you and some thoughts after that.

    (root@test /)> instfix -i | grep ML
    All filesets for 7.1.0.0_AIX_ML were found.
    All filesets for 7100-00_AIX_ML were found.
    All filesets for 7100-01_AIX_ML were found.
    All filesets for 7100-02_AIX_ML were found.
    Not all filesets for 7100-03_AIX_ML were found.
    All filesets for 7100-04_AIX_ML were found.
    All filesets for 7100-05_AIX_ML were found.
    (root@test /)>

    (root@test /)> instfix -i | grep SP
    All filesets for 71-00-011037_SP were found.
    All filesets for 71-00-021041_SP were found.
    All filesets for 71-00-031115_SP were found.
    All filesets for 71-01-011141_SP were found.
    All filesets for 71-00-041140_SP were found.
    All filesets for 71-01-021150_SP were found.
    All filesets for 71-01-031207_SP were found.
    All filesets for 71-00-051207_SP were found.
    All filesets for 71-01-041216_SP were found.
    All filesets for 71-00-061216_SP were found.
    All filesets for 71-01-051228_SP were found.
    All filesets for 71-02-011245_SP were found.
    All filesets for 71-00-081241_SP were found.
    All filesets for 71-01-061241_SP were found.
    Not all filesets for 71-02-021316_SP were found.
    All filesets for 71-00-071228_SP were found.
    All filesets for 71-00-091316_SP were found.
    All filesets for 71-01-071316_SP were found.
    All filesets for 71-00-101334_SP were found.
    All filesets for 71-01-081334_SP were found.
    Not all filesets for 71-02-031334_SP were found.
    All filesets for 71-01-091341_SP were found.
    Not all filesets for 71-02-041341_SP were found.
    All filesets for 71-03-011341_SP were found.
    All filesets for 71-03-021412_SP were found.
    All filesets for 71-01-101415_SP were found.
    Not all filesets for 71-02-051415_SP were found.
    All filesets for 71-03-031415_SP were found.
    Not all filesets for 71-02-061441_SP were found.
    All filesets for 71-03-041441_SP were found.
    All filesets for 71-03-051524_SP were found.
    Not all filesets for 71-02-071524_SP were found.
    All filesets for 71-03-061543_SP were found.
    All filesets for 71-04-011543_SP were found.
    Not all filesets for 71-03-071614_SP were found.
    All filesets for 71-04-021614_SP were found.
    Not all filesets for 71-03-081642_SP were found.
    All filesets for 71-04-031642_SP were found.
    All filesets for 71-04-041717_SP were found.
    Not all filesets for 71-03-091717_SP were found.
    All filesets for 71-04-051720_SP were found.
    (root@test /)>

    (root@test /)> for IFIX_ML in $(instfix -i | grep SP | grep Not | awk '{ print $5 }') ; do^Jecho $IFIX_ML^Jdone
    for IFIX_ML in $(instfix -i | grep SP | grep Not | awk '{ print $5 }') ; do
    instfix -icqk $IFIX_ML | grep ":-:"
    done
    71-02-021316_SP:devices.pciex.df1028e214105d04.rte:7.1.2.15:7.1.2.0:-:AIX 7100-02-02 Service Pack
    71-02-031334_SP:devices.pciex.df1028e214105d04.rte:7.1.2.16:7.1.2.0:-:AIX 7100-02-03 Service Pack
    71-02-041341_SP:devices.pciex.df1028e214105d04.rte:7.1.2.16:7.1.2.0:-:AIX 7100-02-04 Service Pack
    71-02-051415_SP:devices.pciex.df1028e214105d04.rte:7.1.2.16:7.1.2.0:-:AIX 7100-02-05 Service Pack
    71-02-061441_SP:devices.pciex.df1028e214105d04.rte:7.1.2.16:7.1.2.0:-:AIX 7100-02-06 Service Pack
    71-02-071524_SP:devices.pciex.df1028e214105d04.rte:7.1.2.16:7.1.2.0:-:AIX 7100-02-07 Service Pack
    71-03-071614_SP:devices.pciex.df1028e214105d04.rte:7.1.3.46:7.1.2.0:-:AIX 7100-03-07 Service Pack
    71-03-081642_SP:devices.pciex.df1028e214105d04.rte:7.1.3.47:7.1.2.0:-:AIX 7100-03-08 Service Pack
    71-03-091717_SP:devices.pciex.df1028e214105d04.rte:7.1.3.47:7.1.2.0:-:AIX 7100-03-09 Service Pack
    (root@test /)>
    (root@test /)>
    (root@test /)> for IFIX_ML in $(instfix -i | grep SP | grep Not | awk '{ print $5 }') ; do^Jinstfix -icqk $IFIX_ML | grep ":-:"^Jdone
    for IFIX_ML in $(instfix -i | grep ML | grep Not | awk '{ print $5 }') ; do
    instfix -icqk $IFIX_ML | grep ":-:"
    done
    7100-03_AIX_ML:devices.pciex.df1028e214105d04.rte:7.1.3.0:7.1.2.0:-:AIX 7100-03 Update
    (root@test /)>

    (root@test /)> oslevel -sq
    Known Service Packs
    -------------------
    7100-05-00-0000
    7100-04-05-1720
    7100-04-04-1717
    7100-04-03-1642
    7100-04-02-1614
    7100-04-01-1543
    7100-03-09-1717
    7100-03-08-1642
    7100-03-07-1614
    7100-03-06-1543
    7100-03-05-1524
    7100-03-04-1441
    7100-03-03-1415
    7100-03-02-1412
    7100-03-01-1341
    7100-02-07-1524
    7100-02-06-1441
    7100-02-05-1415
    7100-02-04-1341
    7100-02-03-1334
    7100-02-02-1316
    7100-02-01-1245
    7100-01-10-1415
    7100-01-09-1341
    7100-01-08-1334
    7100-01-07-1316
    7100-01-06-1241
    7100-01-05-1228
    7100-01-04-1216
    7100-01-03-1207
    7100-01-02-1150
    7100-01-01-1141
    7100-00-10-1334
    7100-00-09-1316
    7100-00-08-1241
    7100-00-07-1228
    7100-00-06-1216
    7100-00-05-1207
    7100-00-04-1140
    7100-00-03-1115
    7100-00-02-1041
    7100-00-01-1037
    (root@test /)>

    (root@test /)> lppchk -c
    lppchk: 0504-206 File /usr/tivoli/tsm/client/ba/bin64/cit/bin/etc/wscanhw/ could not be located.
    lppchk: 0504-208 Size of /usr/tivoli/tsm/client/ba/swidtag/ibm.com_IBM_Spectrum_Protect_Client_and_VSS_Requestor-8.1.10.swidtag is 698,
    expected value was 700.
    (root@test /)>

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    All this is really confusing. From oslevel command it looks like system doesn't know TL5SP9.
    Instfix command shows many ML/SP. Should I fix all that in order to get my system to a consistent state?

    Very appreciate!

    ------------------------------
    Alejandro Rojas
    ------------------------------



  • 6.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Tue December 06, 2022 11:18 PM
    Edited by Alejandro Rojas Wed December 07, 2022 08:01 AM
    Ok, I think I fixed it. I was downloading iso from Fix central to my MacBook, then extracting iso in my macbook and upload result to server. My guess is that macbook extraction just messed something up that leads to the problem. I just downloaded the iso again (yes, after extraction I deleted it) and upload it just as iso, no extracting at all, to my VIOS (then I created a virtual media: https://www.ibm.com/support/pages/how-configure-vios-media-repositoryvirtual-media-library-ex-aix-installrestore). Now I'm running preview and getting some sense output finally!

    +-----------------------------------------------------------------------------+
    BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
    388 Selected to be installed, of which:
    1 Passed pre-installation verification
    1 Replaced by superseding updates
    386 Deferred (see *NOTE below)
    ----
    1 Total to be installed

    *NOTE The deferred filesets mentioned above will be processed after the
    installp update and its requisites are successfully installed.

    Cheers!

    ------------------------------
    Alejandro Rojas
    ------------------------------



  • 7.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    IBM Champion
    Posted Wed December 07, 2022 03:49 AM

    By default, MacOS is case-insensitive.  This will cause the last language files to be extracted to overwrite the previous ones. (The same problem happens if you extract under Microsoft Windows)

    e.g. You'll get only one of ISO8859-1 or UTF-8

    xlC.msg.en_US.cpp.9.0.0.0.I
    xlC.msg.EN_US.cpp.9.0.0.0.I

    You have three options:

    - Mount the ISO on the Mac, then scp the files to AIX

    - scp the ISO to AIX, then loopmount it
    - scp the ISO to the VIOS, then mount it as a virtual CD



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 8.  RE: Unable to update to AIX71TL5SP6 | "No filesets on the media could be used to update"

    Posted Thu December 08, 2022 10:38 AM
    That's very good to know, José.  Thanks!

    ------------------------------
    Anker Lerret
    Blue Cross Blue Shield of Massachusetts
    ------------------------------