Skip to main content
1-Visitor
August 27, 2015
Solved

Can't install PTC System Monitor agent

  • August 27, 2015
  • 1 reply
  • 2674 views

Does anyone have any idea what I am doing wrong? I have installed the server and collector on a Windows server without any problems, but when I come to install the agent for monitoring the integrity server on a Linux machine, it always fails:

Log file:

java.lang.NullPointerException

    at com.ptc.windchill.psm.agents.configration.IntegrityConfiguration.install(IntegrityConfiguration.java:252)

    at com.ptc.windchill.psm.ia.IAInstaller.install(IAInstaller.java:120)

    at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source)

    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)

    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)

    at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)

    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)

    at com.zerog.ia.installer.Installer.install(Unknown Source)

    at com.zerog.ia.installer.actions.InstallProgressAction.af(Unknown Source)

    at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source)

DEBUG  2015-08-27 14:07:08 - **********************************************************

DEBUG  2015-08-27 14:07:08 - PTC System Monitor agent installation failed: PTC Integrity Server

DEBUG  2015-08-27 14:07:08 - Installation log file location: /tmp/installer/logs/PTC_SYSTEM_MONITOR_40_F000_PtcInstall.log

DEBUG  2015-08-27 14:07:08 - **********************************************************

DEBUG  2015-08-27 14:07:08 - Retrying Installables deferred in pass 0

DEBUG  2015-08-27 14:07:08 - Deferral retries done because:

DEBUG  2015-08-27 14:07:08 - There were no deferrals in the last pass.

DEBUG  2015-08-27 14:07:09 - Did not match to message method

DEBUG  2015-08-27 14:07:34 - SHUTDOWN REQUESTED

DEBUG  2015-08-27 14:07:34 - (X) commiting registry

DEBUG  2015-08-27 14:07:34 - REGISTRY ALREADY STORED!

DEBUG  2015-08-27 14:07:34 - (X) shutting down service manager

DEBUG  2015-08-27 14:07:34 - (X) cleaning up temporary directories

DEBUG  2015-08-27 14:07:34 - Exiting with exit code: 0

I am using the GUI to do the install but it fails whether I use root or the Integrity user. I've already wasted a day on this so would really be appreciative of any help.

Best regards,

Paul

    Best answer by BineshKumar1

    In the the <Integrity server install directory>/config/mksservice.conf file

    Try removing the quotations around mks.java.additional.XX=-agentpath:"<PSM Agent install path>\libdtagent.so"=name=<local name>,server=<server name: server port>,wait=15

    Thanks

    Binesh Kumar

    Barry Wehmiller

    1 reply

    1-Visitor
    August 27, 2015

    "Increase Integrity JVM Timeout to 10 minutes" box in the "JVM Timeout section"

    Edit <IntegrityServerInstallDir>\config\mksservice.conf

    Set the following property:

    mks.ping.timeout=300

    Also please make sure you have enough space /tmp

    Thanks

    Binesh Kumar

    Barry Wehmiller

    padams1-VisitorAuthor
    1-Visitor
    August 27, 2015

    Thanks for the info.

    ping timeout was already set and trying to set JVM Timeout to 10 minutes then returned a message box that it would not be set as I have less then 8GB heap space, which I already knew. However it then installed!

    The next problem is that my Integrity server will no longer start. The JVM stops immediately:

    From startup.log:

    STATUS | 2015/08/27 15:48:35 | Launching a JVM...

    ERROR  | 2015/08/27 15:48:35 | JVM exited while loading the application.

    and repeats until the mks.max_failed_invocations setting is reached.

    restoring the old mksservice.conf allows the server to start normally

    Any ideas?

    Best regards,

    Paul

    1-Visitor
    August 27, 2015

    In the the <Integrity server install directory>/config/mksservice.conf file

    Try removing the quotations around mks.java.additional.XX=-agentpath:"<PSM Agent install path>\libdtagent.so"=name=<local name>,server=<server name: server port>,wait=15

    Thanks

    Binesh Kumar

    Barry Wehmiller