Thanks @angshuonline, the issue with invalid characters was resolved.
Is there a solution for this one
I followed this workaround but it did not work
I get this error message when I run systemctl status openmrs.service
New main PID 1463 does not belong to service, and PID file is not owned by root.
And this when I run systemctl start openmrs
Job for openmrs.service failed because a configured resource limit was exceeded. See "systemctl status openmrs.service" and "journalctl -xe" for details.