# Error starting tomcat and mysql after Openmrs installation

**URL:** <https://talk.openmrs.org/t/error-starting-tomcat-and-mysql-after-openmrs-installation/35398>\
**Category:** Implementing\
**Created:** [December 18, 2021, 2:03am UTC](https://talk.openmrs.org/t/error-starting-tomcat-and-mysql-after-openmrs-installation/35398 "2021-12-18T02:03:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [December 18, 2021, 2:03am UTC](https://talk.openmrs.org/t/error-starting-tomcat-and-mysql-after-openmrs-installation/35398/1 "2021-12-18T02:03:42Z")

</div>

Help needed please! I have installed openmrs on ubuntu server 18 with java 8, tomcat8 and mysql 5.6. Tomcat and mysql were working fine after installation and I had deployed openmrs.war file and I was dealing with openmrs interface display issues. Then all of a sudden tomcat and mysql do not restart they are producing errors whenever I execute the commands.

jerome@cdci:~$ sudo service tomcat8 restart Job for tomcat8.service failed because the control process exited with error code. See “systemctl status tomcat8.service” and “journalctl -xe” for details. jerome@cdci:~$ sudo systemctl start mysql Job for mysql.service failed because the control process exited with error code. See “systemctl status mysql.service” and “journalctl -xe” for details.

I don’t if it is the configuration issues or what? I did delete openmrs-runtime properties file and redeploy openmrs.war while I was trying to fix openmrs interface.

 ![openmrs](https://talk.openmrs.org/uploads/default/original/2X/6/6faf76c7862a85032e2ca6f97d0340ab81763a23.png)That is what I see from the browser at the moment and ip is reachable. Please help I want to restore data so people can use the system.

> **[openmrs error - Pastebin.com](https://pastebin.com/TNjKaQZX)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [December 23, 2021, 10:20pm UTC](https://talk.openmrs.org/t/error-starting-tomcat-and-mysql-after-openmrs-installation/35398/2 "2021-12-23T22:20:27Z")

</div>

are you still facing challenges with this? @jerome24

---

<div class="post-metadata">

**Author:** ![jerome24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jerome24/32/16232_2.png) [@jerome24](https://talk.openmrs.org/u/jerome24)\
**Post date:** [December 24, 2021, 5:32pm UTC](https://talk.openmrs.org/t/error-starting-tomcat-and-mysql-after-openmrs-installation/35398/3 "2021-12-24T17:32:58Z")

</div>

No I don’t face this challenge anymore. I was using a user who is not root for installation so I think he did not have all the privileges so he was denied some permissions in the background running tomcat and mysql. Once I change the user and do all the installation with the root account I did not face errors I was facing before.
