3 Replies Latest reply on Jan 6, 2016 12:30 PM by Neal Meagher

    Error when running BCLI Utility exportComplianceRunLatest

    Neal Meagher

      I get error below in app server logs when running

       

      blcli_execute Utility exportComplianceRunLatest "${TEMPLATE_LOCATION}" "${TEMPLATE_NAME}" "${COMPLIANCE_RULE_NAME}" "${COMPLIANCE_JOB_LOCATION}" "${COMPLIANCE_JOB_NAME}" "$LOG_LOCATION/$LOG_NAME.csv" "CSV"


      I have verified, and the above syntax is correct.

      First I get error:

      java.lang.UnsatisfiedLinkError: /opt/bmc/bladelogic/NSH/br/java/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

      When I run it again I get

      ERROR [MESSAGE] Command execution failed.  [/MESSAGE]

      com.bladelogic.om.infra.cli.factory.CommandNotFoundException: Unknown name space : -v

        at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.getCommandTemplateList(CommandTemplateInventory.java:480)

        at com.bladelogic.om.infra.cli.factory.CommandTemplateInventory.getCommandTemplate(CommandTemplateInventory.java:119)

        at com.bladelogic.om.infra.cli.factory.CommandFactory.getCommand(CommandFactory.java:69)

        at com.bladelogic.om.infra.cli.CLIEngine.executeCommand(CLIEngine.java:109)

        at com.bladelogic.om.infra.cli.CLIMain.executeCommand(CLIMain.java:959)

        at com.bladelogic.om.infra.cli.CLIMain.executeCommand(CLIMain.java:942)

        at com.bladelogic.om.infra.cli.CLIMain.executeEmbeddedShellCommand(CLIMain.java:751)

       

      I run it as a job I get different erroneous error:

       

      Error 01/04/2016 14:03:26 2. /home/example/exm/example.csv (Permission denied)
      Error 01/04/2016 14:03:26 1. Export file name contains invalid characters like * , ? , : , ' , < , > or | while performing export operations.
      Error 01/04/2016 14:03:26 Possible Causes:
      Info 01/04/2016 14:03:26 Exit Code 0
      Error 01/04/2016 14:03:26 Command execution failed. com.bladelogic.om.infra.mfw.util.BlException: An error occurred while attempting to create/open the export file