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

IMPORTANT: Please notify the team about your question by filling in the form on the contact page. Otherwise, we may miss your question!

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 (9k 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;

This should immediately continue running Headwind MDM.

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 (9k points)