Troubleshoot > HP Service Manager Doctor > Introduction > Running Service Manager Doctor

Running Service Manager Doctor

Run the following command in the smdoctor folder directly under the server installation directory to start the tool in GUI mode (only for Windows):

smdoctor_gui.bat

Run one of the following commands in the smdoctor folder directly under the server installation directory to start the tool in command-line mode:

smdoctor.bat (for Windows)

smdoctor.sh (for UNIX/Linux)

When running Service Manager Doctor commands with logging enabled, the tool generates a SMDoctor_Report_<hostname>.html and SMDoctor_Report_<hostname>.txt logs in the current directory, where <hostname> is the host name of the Service Manager server. For example: run -all -dlog or run -all -zip.

Note If the SQL Server database is used, go to https://www.microsoft.com/en-us/download/details.aspx?id=11774 and download the Microsoft JDBC Driver for SQL Server 4.1. Follow the install instructions to install the driver. The file sqljdbc41.jar must be in the installation folder of the driver.

Check whether the system environment variable "CLASSPATH" exists. If not, create it and set the value to the absolute path of the sqljdbc41jar file; otherwise, add the absolute path of the file to the value of "CLASSPATH".