Remedy - Server - AR Server Startup trace/logging

Version 1
    Share This:

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


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    Remedy AR System Server 9.x and higher version.



    PROBLEM:

    How to enable the AR Server startup logging / trace in ARS 9.x version.

    Arstartup.log is written to whenever the AR Server is restarted.

    By default, arstartup.log includes very little useful information for diagnosis, for example:

     

                         
    Thu Feb 07 11:03:03.569 2019 RestApiActivator:starting bundle... Thu Feb 07 11:03:03.600 2019 Restapi bundle started.
      
      

     


    CAUSE:

    Troubleshoot startup issues.


    SOLUTION:


    By adding the -t flag to armonitor.cfg/armonitor.conf, the arstartup.log will include debug information whenever the AR Server is restarted.

    1. Navigate to the armonitor file directory:

       
    • (windows) C:\Program Files\BMC Software\ARSystem\Conf
      
       
    • (linux) /etc/arsystem/<servername>/
      
    2. Take back up of armonitor.cfg /armonitor.conf file

    3. Edit the armonitor.cfg/armonitor.conf 

    4. Go to the line where arserver.jar is mentioned.

    5. Add the "-t" parameter just after "arserver.jar, and just before "-i", with spaces in between:

    Below are examples for both Windows and Linux.

    Windows


    Before:                       
    "C:\Program Files\Java\jre1.8.0_141\bin\java" -jar "C:\Program Files\BMC Software\ARSystem\arserver.jar" -i "C:\Program Files\BMC Software\ARSystem" -l "C:\Program Files\Common Files\AR System\Licenses\<servername>" -m
       After:                       
    "C:\Program Files\Java\jre1.8.0_141\bin\java" -jar "C:\Program Files\BMC Software\ARSystem\arserver.jar" -t -i "C:\Program Files\BMC Software\ARSystem" -l "C:\Program Files\Common Files\AR System\Licenses\<servername>" -m
      
    Linux

    Before:
                           
    ${BMC_JAVA_HOME}/java -jar /opt/bmc/ARSystem/bin/arserver.jar -s <servername> -i /opt/bmc/ARSystem -l /etc/arsystem/<servername>
       After:                       
    ${BMC_JAVA_HOME}/java -jar /opt/bmc/ARSystem/bin/arserver.jar -t -s <servername> -i /opt/bmc/ARSystem -l /etc/arsystem/<servername>
      

    6. Save and close armonitor.cfg/armonitor.conf. Restart the AR Server service.

    7. Output will be written in the 2 startup trace files created when the AR Server service is started- "arstartup_trace-YYYY-MM-DD-tt-mm.log", in the db folder
      
       
    • (windows)  C:\Program Files\BMC Software\ARSystem\Arserver\Db
      
       
    • (linux) /opt/bmc/ARSystem/db
      
    This Article pertains to ARServer 9.x. For 8.1 see   Enabling start-up logging - Documentation for Remedy Action Request System 8.1 - BMC Documentation

     


    Article Number:

    000140003


    Article Type:

    Solutions to a Product Problem



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