Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
I tried to install Headwind MDM on my Ubuntu Linux server, but something goes wrong. How to reinstall it?
by (2.9k points)

1 Answer

0 votes

1. Remove the web application from the Tomcat webapps directory.

# cd /var/lib/tomcat8/webapps

# rm -rf ROOT ROOT.war

(if you installed as hmdm or another directory, replace ROOT to this directory)

2. Remove the Tomcat configuration file for Headwind MDM

rm /var/lib/tomcat8/conf/Catalina/localhost/ROOT.war

3. Flush the PostgreSQL database:

# service postgresql restart

# su postgres

> drop database hmdm;

> create database hmdm;

> \q

The restart of postgresql service prevents the Headwind MDM database from locking.

4. Remove the Headwind MDM directory (defaults to /opt/hmdm):

rm -rf /opt/hmdm

After these actions, you can safely re-run the installer script of Headwind MDM:

# bash ./hmdm_install.sh

by (2.9k points)
edited by
...