# Systemctl start lattermost failed

**URL:** <https://forum.mattermost.com/t/systemctl-start-lattermost-failed/1905>\
**Category:** Troubleshooting\
**Created:** [July 19, 2016, 6:38am UTC](https://forum.mattermost.com/t/systemctl-start-lattermost-failed/1905 "2016-07-19T06:38:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nev](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@Nev](https://forum.mattermost.com/u/Nev)\
**Post date:** [July 20, 2016, 5:56am UTC](https://forum.mattermost.com/t/systemctl-start-lattermost-failed/1905/2 "2016-07-20T05:56:15Z")

</div>

You might check these tips. the chmod of the logfile resolved my issues.  
I had similar errors on mattermost, everything else was runnig fine.

> [@Clean install of Gitlab 8.9 (not upgrade), enable Mattermost, Bad Gateway](https://forum.mattermost.com/t/clean-install-of-gitlab-8-9-not-upgrade-enable-mattermost-bad-gateway/1760/5):
>
> It looks like a permissions issue on the mattermost log file. Steps to make it work Gitlab on a clean machine sudo vi /etc/gitlab/gitlab.rb setup and uncomment mattermost\_external\_url Notice: I didn’t need to add the following for a clean install mattermost['db2\_backup\_created'] = true mattermost['db2\_team\_name'] = 'TEAMNAME' sudo gitlab-ctl reconfigure notice all the files in /var/log/gitlab/mattermost/ are the root owner sudo chown -R mattermost:mattermost /var/log/gitlab/mattermost/ c…

Greetings Nev

---

_[View the full topic](https://forum.mattermost.com/t/systemctl-start-lattermost-failed/1905)._
