IBM Business Automation Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
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.
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...