Unable to import the solutions/KMs into the TrueSight Presentation Server 10.x, 11.x repository - Java.io.IOException: Unable to delete file: /tmp/bmc_products/install.ctl seen in the session.stdout log

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Presentation Server


    COMPONENT:

    TSPS Central Monitoring Administration


    APPLIES TO:

    TrueSight Presentation Server 10.x, 11.x



    DETAILS:

    The initial review of the logs did not reveal many details. However, there were the following messages in the session.stdout file

    Caused by: com.proactivenet.api.aspen.ws.to.CMAJServiceException:  Error while getting the importSingleOrCustomRepository
    at com. proactivenet.api.aspen.ws.CAWSFacadelPlatformImpl.importSingleOrCustomRepository(CAWSFacadePlatformImpl.java:1829)
    at com.bmc.sms.cmaws.ngp.wsclient.CMAJServiceClient.importSingleOrCustomRepository(CMAJServiceClient.java:690)
    … 64 more
    Caused by: com.proactivenet.api.aspen.ws.to.CMAJServiceException:  Error while getting the importSingleOrCustomRepository
    at com. proactivenet.api.aspen.ws.CAWSFacadelPlatformImpl.importSingleOrCustomRepository(CAWSFacadePlatformImpl.java:1824)

    This indicates there is some problem importing into the repository, but there are not enough details to tell us why.

    The recommendation is to enable more TSPS side debug, use the tssh logger list to see the debug options.
    Enable the following loggers:

    CMA
    CMA_AUDIT
    com.bmc.unifiedadmin.persistence.server.kmpush
    RestServiceAduit

    - cd C:\Program Files\BMC Software\TrueSightPServer\truesightpserver\bin
    - tssh logger list ( command lists logger name options, current logging level, and affected files)
    - tssh logger edit -n <logger name> -m <file size in Mb> -b <backup file count>
    Example:
    tssh logger edit -n CMA -m 10 -b 2

    To enable debugging:
    tssh logger debug on -n <logger name>
    Example:
    tssh logger debug on -n MobileApp

    To disable debugging
    tssh logger debug off -n <logger name>

    Review the files, or send the tssh dump export to Support for further review.

    In the use case, the session.stdout file showed the following message:

                   Java.io.IOException: Unable to delete file: /tmp/bmc_products/install.ctl
     
    Solution is to manually remove the /tmp/bmc_products/install.ctl and then import the solutions again.
    The reason the file was laid down is that a PATROL Agent was installed on the same box as the TSPS server, so that's the install.ctl file which is blocking the import into the repository. The idea here is that the user applied a PATROL Agent on the TSPS box and unzipped the install files into /tmp/bmc_products
    Removing the install.ctl file is harmless to both PATROL and TrueSight.
    I manually removed /tmp/bmc_products/install.ctl.  Import was then successful.  That’s a frustrating issue :(  Why does the app care what’s in tmp?
     


    Article Number:

    000162935


    Article Type:

    Product/Service Description



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles