We're Hiring!

Mattermost, Inc.

Getting an error while installing mattermost

when doing sudo systemctl start nginx.

Getting this type of an error:
Job for nginx.serivce failed because the control process exited with error code.
See “systemctl status nginx.service” and journalctl -xe" for details.

Can someone help?

Hello, @pooh_bear

When you run the systemctl status nginx.service and/or journalctl -xe, may I know what is shown on your end and can you share it here? That will help us to get better clarity on the issue since the control process exited with error code is a generic one.

Hi, @pooh_bear

It seems that the address you configured for NGINX is already in use. Can you refer to the Nginx not starting: Address already in use article and run the command below to check if any other service that is already using port 80:

sudo netstat -plant | grep 80

It should show you which service exactly is listening on port 80 and you can then make a decision if you want to have that service as it is or have NGINX instead of it.

Hello, @pooh_bear

From the screen shot that you provided, it seems that you are already using Apache. You can now decide if you want to continue using it on the same port or just stop the service to make the switch to NGINX instead based on the article I provided earlier.

Thank you!

I need NGINX to start the mattermost. Can you help how to do that?