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

Headwind MDM web panel could not be opened after start!

I opened /var/lib/tomcat8/logs/catalina.out and found the record:

2020-10-12 11:36:11 [INFO] liquibase.lockservice.StandardLockService : Waiting for changelog lock....

Please help, how to recover the web panel?

by (37.6k points)

1 Answer

0 votes

Headwind MDM web panel checks the database integrity after start. This usually takes some seconds. To avoid occasional database changing at this time, it is locking access to the database.

Sometimes, for example, if the Tomcat server is restarted multiple times with a short time interval, the lock is not being released, and you are getting this error.

To fix the issue, open the PostgreSQL command line and run the unlock command manually:

# su postgres

# psql hmdm

# UPDATE databasechangeloglock SET locked=FALSE;

# \q

This should immediately continue running Headwind MDM. 

If you still see any issues with the webpage, restart Tomcat (as root, type exit to return from postgres user back to root):

# service tomcat9 restart

Notice that even if Headwind MDM web panel fails to start, it doesn't cause the failure of all your mobile devices, they will work as expected!

by (37.6k points)
edited by
...