10 Replies Latest reply on Jan 18, 2016 12:55 PM by S Crawford

    Compliance Job Error - AssetCollectionException, can't find AIX command

    S Crawford

      In BBSA 8.6, an extended object using an NSH script is used on AIX servers exclusively, and one of the values it tries to find is the version of Veritas by looking at the fileset version, using the lslpp AIX command:


      if [[ `nexec $HOSTNAME "/usr/bin/lslpp -l | grep VRTSvxfs | grep -c 6."` = '0' ]]; then





      echo "veritas-info:" "$veritas_version_6"

      However, when I run the compliance job, it comes back with this error across all AIX servers that I test, despite lslpp existing on all of the servers:


      Error01/18/2016 11:20:25com.bladelogic.om.infra.app.collector.AssetCollectionException: /bin/bash: /usr/bin/lslpp: No such file or directory (component=AIX Disk Parameters (server_aix1), selector=Extended Object:DiskInfo_Local)



      There are other AIX-specific commands that get called using nexec in the script, and those seem to be fine:


      volGroup="`nexec $HOSTNAME lspv | grep "^${dsk} " | awk '{print $3}'`"

      reservePolicy="`nexec $HOSTNAME lsattr -El $dsk -a reserve_policy | awk '{print $2}'`"

      Anyone else run into this type of issue before?