IBM License Metric Tool (ILMT)

IBM License Metric Tool (ILMT)

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  ILMT Disconnected Scanner iSeries

    Posted Fri September 22, 2023 11:58 AM

    We are standing up ILMT disconnected scanner on multiple iSeries lpar's but having an issue on one LPAR. All others have been successful.

    The error occurs during the /cit/run_sw_and_pack.sh after the initial install.

    (2023-09-21 10:35:52) Preparing the output package with scan results...                                       
    (2023-09-21 10:35:52) Preparing computer.yml...                                                               
    /QOpenSys/pkgs/bin/touch: invalid option -- 'C'                                                               
    Try '/QOpenSys/pkgs/bin/touch --help' for more information.                                                   
    /QOpenSys/pkgs/bin/cp: target '/cit/config/computer.yml' is not a directory                                   
    grep: 001-2113 Error found getting information for object /cit/output/computer.yml. No such path or directory.
    /QOpenSys/pkgs/bin/cp: target '/cit/output/computerTemp.yml' is not a directory                               
    grep: 001-2113 Error found getting information for object /cit/output/computer.yml. No such path or directory.
    /QOpenSys/pkgs/bin/cp: target '/cit/output/computerTemp.yml' is not a directory                               
    (2023-09-21 10:35:54) Creating result package: 202309211535-781E0E8-3.zip                                     
    /cit/output/computer.yml : no such file or directory                                                          
    (2023-09-21 10:35:56) ERROR: Creation of /cit/output/202309211535-781E0E8-3.zip ended with error code: 1      
    (2023-09-21 10:35:56) END: pack_results 

    This was installed using qsecofr account and all of the required directories and files do appear to exist.

    Thanks!

    Brad                                                               



    ------------------------------
    Brad Wernicke
    ------------------------------


  • 2.  RE: ILMT Disconnected Scanner iSeries

    Posted Sat September 23, 2023 02:42 AM

    Hello Brad,

    Problem seems to be with the default path for Qshell commands :
    /QOpenSys/pkgs/bin/touch: invalid option -- 'C' 


    'touch' (and also 'cp') command (from /QOpenSys/pkgs/bin) which has been used here is not the one which was supposed to be used (from /usr/bin).
    Those commands has not been run from QShell but rather from PASE for i repository.

    Those two can't be run interchangeably...both use although similar but a separate sets of utilities and commands.
    Most PASE for i directories and files (including shells and utilities) are stored in the /QOpenSys file system.

    Changing the order of your PATH environment variable should address this problem...



    ------------------------------
    Thank you,
    Oktawian

    Oktawian Powązka, L3 Support
    IBM License Metric Tool
    ------------------------------