DX Application Performance Management

Expand all | Collapse all

Unable to start APM WebView, Hi,Unable to start APM WebView

Jump to Best Answer
  • 1.  Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-03-2018 12:19 AM

    Hi,

     

    I am unable to start CA APM WebView. I restarted the EM and verified that EM is up and running. I see the below error message.

     

    [root@xxxxx bin]# ./WVCtrl.sh start
    Using APMHOME: /appintro/Introscope10.5.1.8
    Using JAVA_HOME: ../jre
    Using EM Host: xxxxx.tolls.dot.state.fl.us
    Using EM Port: 5001
    Reconnect attempt to EM: 1
    Reconnect attempt to EM: 2
    Reconnect attempt to EM: 3

     

    Please advise.

     

    Thanks,

     

    Arnab



  • 2.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-03-2018 12:12 PM

    can you telnet from your WV server to your EM?



  • 3.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-05-2018 04:14 PM

    Hi Haruhiko,

     

    The WV and EM is on the same server. I see the below message when I try to run it. Thanks

     

    [root@xxxxx bin]# sh -x ./WVCtrl.sh start
    ++ pwd
    + SCRIPTDIR=/appintro/Introscope10.5.1.8/bin
    + JAVA_HOME=../jre
    + export JAVA_HOME
    + '[' -z ../jre ']'
    ++ uname -a
    ++ awk '{print $1}'
    + THIS_OS=Linux
    + PATH=../jre/bin:/sbin:/bin:/usr/sbin:/usr/bin
    + export PATH
    + case $THIS_OS in
    + '[' -z '' ']'
    + APMHOME=/appintro/Introscope10.5.1.8/bin/..
    + export APMHOME
    + cd /appintro/Introscope10.5.1.8/bin/..
    ++ pwd
    + APMPARENT=/appintro/Introscope10.5.1.8
    + export APMPARENT
    + mkdir -p /appintro/Introscope10.5.1.8/logs
    + cd /appintro/Introscope10.5.1.8/bin/..
    + echo 'Using APMHOME: /appintro/Introscope10.5.1.8'
    Using APMHOME: /appintro/Introscope10.5.1.8
    + echo 'Using JAVA_HOME: ../jre'
    Using JAVA_HOME: ../jre
    + EXTN=log
    + LOGFILENAME=IntroscopeWebViewConsole
    + LOGDIR=/appintro/Introscope10.5.1.8/logs
    + LOGFILE=/appintro/Introscope10.5.1.8/logs/IntroscopeWebViewConsole.log
    + STARTED='succeeded!'
    + PIDFILE=/appintro/Introscope10.5.1.8/logs/.webview.pid
    + case $THIS_OS in
    + WV_CMD=/appintro/Introscope10.5.1.8/Introscope_WebView
    + '[' '!' -d /appintro/Introscope10.5.1.8/logs ']'
    + cd /appintro/Introscope10.5.1.8
    + ERROR=0
    + ARGV=start
    + '[' xstart = x ']'
    + for ARG in '$@' '$ARGS'
    + '[' -f /appintro/Introscope10.5.1.8/logs/.webview.pid ']'
    + STATUS='APM WebView (no pid file) not running'
    + PIDSTATUS=0
    + PROCESS_RUNNING=0
    + function_webview
    + flag_pid=-1
    ++ uname -a
    ++ awk '{print $1}'
    + THIS_OS=Linux
    + case $THIS_OS in
    ++ ps -Aeo pid,args
    ++ grep java
    ++ grep WebView
    ++ sed 's/^[ \t]*//'
    ++ cut '-d ' -f1
    + flag_pid=
    + '[' -1 -gt -1 ']'
    + PROCESS_RUNNING=0
    + flag_pid=-1
    + case $ARG in
    + '[' 0 -eq 1 ']'
    + check_IfMOMIsUpAndRunning
    + NETCAT=/usr/bin/nc
    + TELNET=/usr/bin/telnet
    + NC_OPTS='-w 3'
    + WV_PROPERTIES=IntroscopeWebView.properties
    + TCP_HOST=.enterprisemanager.tcp.host
    + TCP_PORT=.enterprisemanager.tcp.port
    + nmbr_retries=50
    + time_toSleep=60
    ++ grep .enterprisemanager.tcp.port /appintro/Introscope10.5.1.8/config/IntroscopeWebView.properties
    ++ cut -d= -f2
    ++ sed 's/\r//g'
    + MOM_PORT=5001
    + '[' 0 -ne 0 ']'
    ++ grep .enterprisemanager.tcp.host /appintro/Introscope10.5.1.8/config/IntroscopeWebView.properties
    ++ awk -F= '{print $2}'
    ++ tr -d '\n'
    + MOM_HOST=$'xxxxx.tolls.dot.state.fl.us\r'
    + '[' 0 -ne 0 ']'
    + '[' -z $'xxxxx.tolls.dot.state.fl.us\r' ']'
    + '[' -z 5001 ']'
    ' echo 'Using EM Host: xxxxx.tolls.dot.state.fl.us
    Using EM Host: xxxxx.tolls.dot.state.fl.us
    + echo 'Using EM Port: 5001'
    Using EM Port: 5001
    + count=0
    + '[' 0 -lt 50 ']'
    + case $THIS_OS in
    + '[' -f /usr/bin/nc ']'
    + /usr/bin/nc -w 3 $'xxxxx.tolls.dot.state.fl.us\r' 5001
    + '[' 2 -eq 0 ']'
    ++ expr 0 + 1
    + count=1
    + echo 'Reconnect attempt to EM: 1'
    Reconnect attempt to EM: 1
    + sleep 60
    + '[' 1 -lt 50 ']'
    + case $THIS_OS in
    + '[' -f /usr/bin/nc ']'
    + /usr/bin/nc -w 3 $xxxxx.tolls.dot.state.fl.us\r' 5001
    + '[' 2 -eq 0 ']'
    ++ expr 1 + 1
    + count=2
    + echo 'Reconnect attempt to EM: 2'
    Reconnect attempt to EM: 2
    + sleep 60

     

    Thanks,

     

    Arnab



  • 4.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView
    Best Answer

    Posted 02-05-2018 04:26 PM

    Hi Arnab,

    What does the output of this command show: 

    netstat -na |grep 5001 |grep LISTEN

     

    If you edit the IntroscopeWebView.properties file and change the EM hostname property as follows does it allow WebView to start?

    introscope.webview.enterprisemanager.tcp.host=xxxxx.tolls.dot.state.fl.us

    to

    introscope.webview.enterprisemanager.tcp.host=127.0.0.1

     

    Thanks

     

    Lynn



  • 5.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-05-2018 09:38 PM

    Hi William,

     

    Thank you for your excellent advise. I was able to restart WVView after changing to local host.

     

    Regards,

     

    Arnab



  • 6.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-05-2018 04:51 PM

    I would also check to see if ‘telnet' or ‘netcat|nc' is available in our account's path by running command ‘which (telnet|nc)'. If neither are available, this will prevent you from starting WV.

    Disable the checks used by these tools to let the script to continue starting WV.



  • 7.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-05-2018 09:56 PM

    Thanks Haruhiko! I appreciate your help and support!



  • 8.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-04-2018 09:32 AM


  • 9.  Re: Unable to start APM WebView, Hi,Unable to start APM WebView

    Posted 02-13-2018 12:47 PM

    I've also been having issues with WebView starting, but my messages are a bit different:

     

    CA Support case: 00960217

    $ ./WVCtrl.sh start Using APMHOME: /opt/CA/APM/EM Using JAVA_HOME: ../jre Using EM Host: temon001.aessuccess.org Using EM Port: 5001 MOM/EM is running.. JVM PID is 124157 ./WVCtrl.sh start: Starting APM WebView... (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 328 Problem while starting WebView server. Please check /opt/CA/APM/EM/logs/Introsco peWebViewConsole.log for details. ./WVCtrl.sh start: APM WebView could not be started

     

    Then in the MOM Enterprise Manager log there was an issue with the LDAP connection.  This was caused when our LDAP server was shifted during network maintenance.  

     

    Appears that the WebView in 10.5.2 is a bit less tolerate of the Mom being busy or having issues.