DDT Device Driver Tool Kit reporting Service Unavailable when trying to access the webpage
search cancel

DDT Device Driver Tool Kit reporting Service Unavailable when trying to access the webpage

book

Article ID: 315678

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Attempt to load the web app DDT Device Driver Toolkit from the browser reports Server Unavailable message in the browser when trying to reach the DDT webapp at: 

https://<NCM_AS_IP>/ddt/

Environment

NCM - v10.1.X

Cause

In this case customer upgraded NCM from 9.5.1.x to 10.1.x. The permissions may be the cause of the issue.

Resolution


1). Ncm-as service uses tomcat from $VOYENCE_HOME/ncmcore and DDT uses tomcat from $TOMCAT_HOME.

2). Hence we will have ddt logs captured at $TOMCAT_HOME/logs directory (Request the zipped files of this directory for review)
 
3). If there was a recent upgrade to 10.1.x Check for any errors in NCM-10.1.1.0-debug.log, NCM-10.1.1.0-install.log with respect to ddt, If so request these these logs, for review.

4). Check the files at $TOMCAT_HOME/webapps/ & $TOMCAT_HOME/webapps/ddt directory. Do they match the entries in the attached txt file? If yes, execute the following in their lab setup on AS/CS:

1. source /etc/voyence.conf

2. chown -R tomcat:tomcat $VOYENCE_HOME/custompackage/ddtDrivers/

3. chmod -R 777 $VOYENCE_HOME/custompackage

4. chmod -R 777 $VOYENCE_HOME/package

5. chown -R tomcat:tomcat $TOMCAT_HOME/webapps/ddt

6. service tomcat restart

After performing above steps, check if they are able to launch ddt webpage at https://<NCM_AS_IP/ddt


Additional Information

root@bngsmartsncm webapps]# source /etc/voyence.conf
[root@bngsmartsncm logs]# cd $TOMCAT_HOME/webapps/
[root@bngsmartsncm webapps]# ls -lrth
total 328K
drwxr-x--- 5 tomcat tomcat  4.0K May 25  2020 manager
drwxr-x--- 5 tomcat tomcat  4.0K May 25  2020 host-manager
drwxr-x--- 8 tomcat tomcat  4.0K Sep 14  2020 SysAdmin
-r--r----- 1 root   voyence 312K Sep 15  2020 ddt.war
drwxr-x--- 5 tomcat tomcat  4.0K Oct 27 00:53 ddt
[root@bngsmartsncm webapps]# 
[root@bngsmartsncm webapps]# cd ddt
[root@bngsmartsncm ddt]# 
[root@bngsmartsncm ddt]# ls -lrth
total 520K
-rw-r----- 1 tomcat tomcat 4.6K Jun  1  2020 welcome.jsp
-rw-r----- 1 tomcat tomcat  561 Jun  1  2020 warning.htm
-rw-r----- 1 tomcat tomcat  13K Jun  1  2020 sysprops.jsp
-rw-r----- 1 tomcat tomcat 7.1K Jun  1  2020 summary.jsp
-rw-r----- 1 tomcat tomcat  17K Jun  1  2020 sorttable.js
-rw-r----- 1 tomcat tomcat  853 Jun  1  2020 quickdriver.jsp
-rw-r----- 1 tomcat tomcat  173 Jun  1  2020 q.jsp
-rw-r----- 1 tomcat tomcat 4.5K Jun  1  2020 qcmds.jsp
-rw-r----- 1 tomcat tomcat 171K Jun  1  2020 qaddprelim.pdf
-rw-r----- 1 tomcat tomcat  865 Jun  1  2020 qadd.jsp
-rw-r----- 1 tomcat tomcat 1.4K Jun  1  2020 qadd.css
-rw-r----- 1 tomcat tomcat  14K Jun  1  2020 pushes.jsp
-rw-r----- 1 tomcat tomcat  17K Jun  1  2020 pulls.jsp
-rw-r----- 1 tomcat tomcat  14K Jun  1  2020 prompts.jsp
-rw-r----- 1 tomcat tomcat 6.6K Jun  1  2020 Originalmenu.jsp
-rw-r----- 1 tomcat tomcat 7.1K Jun  1  2020 menu.jsp
-rw-r----- 1 tomcat tomcat  650 Jun  1  2020 menudata_en.js
-rw-r----- 1 tomcat tomcat 8.7K Jun  1  2020 md5.js
-rw-r----- 1 tomcat tomcat  441 Jun  1  2020 logout.jsp
-rw-r----- 1 tomcat tomcat 2.4K Jun  1  2020 login.jsp
-rw-r----- 1 tomcat tomcat  47K Jun  1  2020 Login.gif
-rw-r----- 1 tomcat tomcat  292 Jun  1  2020 index.jsp
-rw-r----- 1 tomcat tomcat 1.8K Jun  1  2020 help.jsp
-rw-r----- 1 tomcat tomcat  32K Jun  1  2020 helpdata_en.js
-rw-r----- 1 tomcat tomcat 1.1K Jun  1  2020 helpbutton.jsp
-rw-r----- 1 tomcat tomcat 4.8K Jun  1  2020 events.jsp
-rw-r----- 1 tomcat tomcat  927 Jun  1  2020 download.jsp
-rw-r----- 1 tomcat tomcat  14K Jun  1  2020 discovery.jsp
-rw-r----- 1 tomcat tomcat  863 Jun  1  2020 devicedriver.jsp
-rw-r----- 1 tomcat tomcat 2.0K Jun  1  2020 currlist.jsp
-rw-r----- 1 tomcat tomcat 8.4K Jun  1  2020 credential.jsp
-rw-r----- 1 tomcat tomcat 6.3K Jun  1  2020 clicmds.jsp
-rw-r----- 1 tomcat tomcat 3.0K Jun  1  2020 buttons.jsp
-rw-r----- 1 tomcat tomcat  12K Jun  1  2020 basicinfo.jsp
drwxr-x--- 2 tomcat tomcat 4.0K Sep 15  2020 help
drwxr-x--- 3 tomcat tomcat 4.0K Sep 15  2020 WEB-INF
drwxr-x--- 2 tomcat tomcat 4.0K Sep 15  2020 META-INF
[root@bngsmartsncm ddt]# cd WEB-INF/
[root@bngsmartsncm WEB-INF]# ls -lrth
total 8.0K
-rw-r----- 1 tomcat tomcat 3.9K Jun  1  2020 web.xml
drwxr-x--- 2 tomcat tomcat 4.0K Sep 15  2020 lib
[root@bngsmartsncm WEB-INF]# cd lib/
[root@bngsmartsncm lib]# ls -lrth
total 36K
-rw-r----- 1 tomcat tomcat 35K Jun  1  2020 qadd.jar
[root@bngsmartsncm lib]# cd ../../
[root@bngsmartsncm ddt]# cd META-INF/
[root@bngsmartsncm META-INF]# ls -lrth
total 4.0K
-rw-r----- 1 tomcat tomcat 100 Jun  1  2020 MANIFEST.MF
-rw-r----- 1 tomcat tomcat   0 Sep 15  2020 war-tracker
[root@bngsmartsncm META-INF]# pwd
/usr/tomcat/apache-tomcat-9.0.33/webapps/ddt/META-INF
[root@bngsmartsncm META-INF]#

Attachments

ddt_directory get_app