Start and Stop Confluence
Installing Confluence
On this page
Related content
- The Mail Queue
- Health Check: Mail Error Queue
- Health Check: Mail Queue
- Confluence fails to send emails with User Unknown error when using Exchange and the number of failures is displayed in the Error Queue
- Email Messages Are Not Sent Due to 'java.lang.ClassCastException com.atlassian.confluence.mail.template.ConfluenceMailQueueItem'
- Configuring a Server for Outgoing Mail
- Configuring a Server for Outgoing Mail
- How to get the message id of the email notification that is sent successfully from confluence, but not received in the mail box of the user
- Unable to Receive Email Notifications From Confluence
- 554 Relay Rejected for Policy Reasons Errors when Sending Mail from Confluence
How you start and stop Confluence depends on whether you are running Confluence as a Service.
To check whether Confluence is already running you can go to http://<base-url>/status
.
Windows
If you installed Confluence as a service, you can Start Confluence and Stop Confluence from the Windows Start menu.
You can't start or stop Confluence manually using the start-confluence.bat
and stop-confluence.bat
file.
If you didn't install Confluence as a service you'll need to start and stop Confluence manually. The way you do this depends on how Confluence was originally installed.
If you installed Confluence manually, and have Java installed on your server:
- To start Confluence run
<installation-directory>\bin\start-confluence.bat
- To stop Confluence run
<installation-directory>\bin\stop-confluence.bat
We recommend running Confluence with a dedicated user account. To do this, use use the runas
command to execute start-confluence.bat
.
> runas /env /user:<DOMAIN>\<confluence> start-confluence.bat
Where <DOMAIN>
is your Windows domain or computer name and <confluence>
is the name of your dedicated user.
If you installed Confluence using the installer, and don't have Java installed, use the Start and Stop Confluence options in the Start menu, or:
- To start Confluence run
<installation-directory>\startup-bundled-jre.bat
- To stop Confluence run
<installation-directory>\shutdown-bundled-jre.bat
Linux
If you installed Confluence as a service, use one of the following commands to start, stop or restart Confluence.
$ sudo /etc/init.d/confluence start
$ sudo /etc/init.d/confluence stop
$ sudo /etc/init.d/confluence restart
You can't start or stop Confluence manually using the start-confluence.sh
and stop-confluence.sh
files.
If you didn't install Confluence as a service you'll need to start and stop Confluence manually.
- To start Confluence run
<installation-directory>/bin/start-confluence.sh
- To stop Confluence run
<installation-directory>/bin/stop-confluence.sh
We recommend running Confluence with a dedicated user account:
$ su -u <user>
$ ./start-confluence.sh
Where <user>
is the name of your dedicated user.
If you're using Ubuntu the command is a little different:
$ sudo su <user>
$ ./start-confluence.sh
Related content
- The Mail Queue
- Health Check: Mail Error Queue
- Health Check: Mail Queue
- Confluence fails to send emails with User Unknown error when using Exchange and the number of failures is displayed in the Error Queue
- Email Messages Are Not Sent Due to 'java.lang.ClassCastException com.atlassian.confluence.mail.template.ConfluenceMailQueueItem'
- Configuring a Server for Outgoing Mail
- Configuring a Server for Outgoing Mail
- How to get the message id of the email notification that is sent successfully from confluence, but not received in the mail box of the user
- Unable to Receive Email Notifications From Confluence
- 554 Relay Rejected for Policy Reasons Errors when Sending Mail from Confluence