Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
I tried to install Headwind MDM on my Ubuntu Linux server, but something goes wrong. How to reinstall it?
by (37.6k points)
retagged by

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 (37.6k points)
edited by
...