This is a PDF version of Article CS286947 and may be out of date. For the latest version here
技術文章 - CS286947

安装 PSM 5.1 Agent 以后,Windchill 进程启动失败

建立時間: 07-Jun-2018   |   修改時間: 07-Jun-2018   

套用到

  • PTC System Monitor 5.1
  • Windchill PDMLink 10.2
  • Red Hat Enterprise Linux 6.9

描述

  • 安装 PSM 5.1 Agent 以后,Windchill 进程启动失败
  • 没有生成 ServerManager 和 MethodServer 进程
  • 参考 CS26192 执行 ServerManager 启动命令时得到下列错误
# /apphome/ptc/Windchill_10.2/Java/jre/bin/java -server -XX:+UseCompressedOops -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -classpath /apphome/ptc/Windchill_10.2/Windchill/codebase:/apphome/ptc/Windchill_10.2/Windchill/codebase/WEB-INF/lib/*:/apphome/ptc/Windchill_10.2/Windchill/lib/*:/apphome/ptc/Windchill_10.2/Java/lib/tools.jar:/apphome/ptc/Windchill_10.2/Windchill/tomcat/bin/bootstrap.jar:/apphome/ptc/Windchill_10.2/Windchill/tomcat/bin/tomcat-juli.jar -javaagent:/apphome/ptc/Windchill_10.2/Windchill/srclib/wnc/WtAsmAgent.jar -noverify  -Djava.endorsed.dirs=/apphome/ptc/Windchill_10.2/Windchill/lib/endorsed -Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true -Dwt.manager.serviceName=ServerManager -Dwt.logs.dir=/apphome/ptc/Windchill_10.2/Windchill/logs -Dcom.sun.management.jmxremote -Djmx.remote.protocol.provider.pkgs=wt.jmx.remote.protocol   -agentpath:/apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/64/libdtagent.so=name=ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1,server=10.99.201.173:9988,logpath=/apphome/ptc/Windchill_10.2/Windchill/logs,loglevel=info -Dlog4j.configuration=WEB-INF/log4jServerManager.properties   -Xms2048m -Xmx2048m -XX:ParallelGCThreads=5 -Xloggc:/apphome/ptc/Windchill_10.2/Windchill/logs/gc/ServerManager-180529110253850-1-GC.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xss1024k -Xcompressedrefs -XX:PermSize=170m -XX:MaxPermSize=450m -XX:NewRatio=6 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/apphome/ptc/Windchill_10.2/Windchill wt.manager.ServerManagerMain
2018-05-29 11:05:17 [2b8dd84a] info    [native] Loading collector peer list from /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/conf/collectorlist.ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1
2018-05-29 11:05:17 [2b8dd84a] info    [native] 0 entries loaded
2018-05-29 11:05:17 [2b8dd84a] info    [native] dynaTrace Bootstrap Agent 6.3.0.1305
2018-05-29 11:05:17 [2b8dd84a] warning [native] Agent library at unexpected location: /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/64/libdtagent.so
2018-05-29 11:05:17 [2b8dd84a] info    [native] Using /apphome/ptc/Windchill_10.2/Windchill/opt/psm as Agent storage
2018-05-29 11:05:17 [2b8dd84a] info    [native] Log file is /apphome/ptc/Windchill_10.2/Windchill/logs/dt_ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1_bootstrap_28439.0.log
2018-05-29 11:05:17 [2b8dd84a] info    [native] Trying to connect to Collector for up to 20 seconds
2018-05-29 11:05:17 [2b8dd84a] info    [native] Connected to Collector 10.99.201.173:9988
2018-05-29 11:05:17 [2b8dd84a] info    [native] Handshake with Collector (6.3.4.1034) successful
2018-05-29 11:05:17 [2b8dd84a] info    [native] Collector requests to use agent version 6.3.4.1034 (hash: 648ef3685ec8342714239db91b7aeefc)
2018-05-29 11:05:17 [2b8dd84a] info    [native] Checking availability of requested agent binary linux-x86-64/libdtagentcore.so with version 6.3.4.1034
2018-05-29 11:05:17 [2b8dd84a] info    [native] Loading Agent /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/downloads/6.3.4.1034/native/linux-x86-64/libdtagentcore.so
2018-05-29 11:05:17 [2b8dd84a] info    [native] Persisting current loaded version 6.3.4.1034 of agent ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1 (linux-x86-64/libdtagentcore.so)
2018-05-29 11:05:17 [2b8dd84a] info    [native] POSIX clock type CLOCK_MONOTONIC detected
2018-05-29 11:05:17 [2b8dd84a] info    [native] Loading collector peer list from /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/conf/collectorlist.ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1
2018-05-29 11:05:17 [2b8dd84a] info    [native] 0 entries loaded
2018-05-29 11:05:17 [2b8dd84a] info    [native] POSIX clock type CLOCK_MONOTONIC detected
2018-05-29 11:05:17 [2b8dd84a] info    [native] High-resolution POSIX timer detected.
2018-05-29 11:05:17 [2b8dd84a] info    [native] ------------------------------------------------------------------------------------
2018-05-29 11:05:17 [2b8dd84a] info    [native] dynaTrace Agent for Java Copyright (C) 2004-2015 Dynatrace, http://www.dynatrace.com
2018-05-29 11:05:17 [2b8dd84a] info    [native] ------------------------------------------------------------------------------------
2018-05-29 11:05:17 [2b8dd84a] info    [native] Version ..................... 6.3.4.1034, build date May 19 2016 12:02:39, svn rev. 618254
2018-05-29 11:05:17 [2b8dd84a] info    [native] Command line is /apphome/ptc/Windchill_10.2/Java/jre/bin/java -server -XX:+UseCompressedOops -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -classpath /apphome/ptc/Windchill_10.2/Windchill/codebase:/apphome/ptc/Windchill_10.2/Windchill/codebase/WEB-INF/lib/*:/apphome/ptc/Windchill_10.2/Windchill/lib/*:/apphome/ptc/Windchill_10.2/Java/lib/tools.jar:/apphome/ptc/Windchill_10.2/Windchill/tomcat/bin/bootstrap.jar:/apphome/ptc/Windchill_10.2/Windchill/tomcat/bin/tomcat-juli.jar -javaagent:/apphome/ptc/Windchill_10.2/Windchill/srclib/wnc/WtAsmAgent.jar -noverify -Djava.endorsed.dirs=/apphome/ptc/Windchill_10.2/Windchill/lib/endorsed -Djava.security.egd=file:///dev/urandom -Djava.awt.headless=true -Dwt.manager.serviceName=ServerManager -Dwt.logs.dir=/apphome/ptc/Windchill_10.2/Windchill/logs -Dcom.sun.management.jmxremote -Djmx.remote.protocol.provider.pkgs=wt.jmx.remote.protocol -agentpath:/apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/64/libdtagent.so=name=ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1,server=10.99.201.173:9988,logpath=/apphome/ptc/Windchill_10.2/Windchill/logs,loglevel=info -Dlog4j.configuration=WEB-INF/log4jServerManager.properties -Xms2048m -Xmx2048m -XX:ParallelGCThreads=5 -Xloggc:/apphome/ptc/Windchill_10.2/Windchill/logs/gc/ServerManager-180529110253850-1-GC.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xss1024k -Xcompressedrefs -XX:PermSize=170m -XX:MaxPermSize=450m -XX:NewRatio=6 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/apphome/ptc/Windchill_10.2/Windchill wt.manager.ServerManagerMain 
2018-05-29 11:05:17 [2b8dd84a] info    [native] Build platform .............. Linux x86 64-bit
2018-05-29 11:05:17 [2b8dd84a] info    [native] Platform .................... Linux 2.6.32-696.16.1.el6.x86_64 x86_64
2018-05-29 11:05:17 [2b8dd84a] info    [native] System startup time ......... 2018-01-03 11:02:11
2018-05-29 11:05:17 [2b8dd84a] info    [native] User name ................... wcadmin
2018-05-29 11:05:17 [2b8dd84a] info    [native] Bootstrap version ........... 6.3.0.1305
2018-05-29 11:05:17 [2b8dd84a] info    [native] Log level console ........... info
2018-05-29 11:05:17 [2b8dd84a] info    [native] Log level file .............. info
2018-05-29 11:05:17 [2b8dd84a] info    [native] Log file .................... /apphome/ptc/Windchill_10.2/Windchill/logs/dt_ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1_28439.0.log
2018-05-29 11:05:17 [2b8dd84a] info    [native] Agent host .................. BLxxxxT001.xxxxx.com
2018-05-29 11:05:17 [2b8dd84a] info    [native] Agent library ............... /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/downloads/6.3.4.1034/native/linux-x86-64/libdtagentcore.so
2018-05-29 11:05:17 [2b8dd84a] info    [native] Options string .............. name=ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1,server=10.99.201.173:9988,logpath=/apphome/ptc/Windchill_10.2/Windchill/logs,loglevel=info
2018-05-29 11:05:17 [2b8dd84a] info    [native] Agent name .................. ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1
2018-05-29 11:05:17 [2b8dd84a] info    [native] Server/Collector ............ 10.99.201.173:9988
2018-05-29 11:05:17 [2b8dd84a] info    [native] Interface type .............. JVMTI
2018-05-29 11:05:17 [2b8dd84a] info    [native] Process ID .................. 28439
2018-05-29 11:05:17 [2b8dd84a] info    [native] JVM name .................... Java HotSpot(TM) 64-Bit Server VM 24.72-b04
2018-05-29 11:05:17 [2b8dd84a] info    [native] JVM vendor .................. Oracle Corporation
2018-05-29 11:05:17 [2b8dd84a] info    [native] JVM info .................... compiled mode, sharing
2018-05-29 11:05:17 [2b8dd84a] info    [native] Reading LoadBalancing configuration from 10.99.201.173:9988
2018-05-29 11:05:17 [2b8dd84a] info    [native] Storing collector peer list (0 entries) to /apphome/ptc/Windchill_10.2/Windchill/opt/psm/agent/conf/collectorlist.ptc.wt.ServerManager-entpre.xxxxx.com-80-xxxx-1
2018-05-29 11:05:17 [2b8dd84a] info    [native] Server/Collector ............ 10.99.201.173:9988
2018-05-29 11:05:17 [2b8dd84a] info    [native] Trying to connect to Server/Collector for up to 20 seconds
2018-05-29 11:05:17 [2b8dd84a] info    [native] Instrumentation channel connected successfully
2018-05-29 11:05:17 [2b8dd84a] info    [native] Received instrumentation blacklist (1570 classes, 98 KiB)
2018-05-29 11:05:17 [2b8dd84a] info    [native] Connected to Server/Collector 10.99.201.173:9988
2018-05-29 11:05:18 [2b8dd84a] info    [native] Agent classes defined successfully
2018-05-29 11:05:19 [2b8dd84a] info    [native] Average transformation time for 1333 classes/modules was 0ms - maximum set to 60ms
2018-05-29 11:05:20 [2b8dd84a] info    [native] Platform .................... Linux 2.6.32-696.16.1.el6.x86_64, amd64
Segmentation fault (core dumped)