You are here: Administration > Tools - database, server-command scripting, and APIs (Advanced) > Stop and start the Application Server

Stop and start the Application Server

Most of the time you will not need to stop or start the server; however, there are some circumstances where this is required:

  • Performing an offline backup

  • Upsizing the database to an external database

  • Upgrading the application

The procedure for stopping the server depends on the platform the server is run on.

Stopping and starting the Application Server on Windows

The PaperCut NG Application Server runs as a Windows service when installed on Windows. You can stop or start it using the Services control panel applet. To stop/start/restart the Application Server:

  1. Open the services control panel. ( Start > Control Panel > Administrative Tools > Services )

  2. Find the service named PaperCut Application Server.

  3. Right-click the service.

  4. Select the option you want to perform (e.g. Stop/Start/Restart).

An alternative to using the services applet is to run the batch files located in the directory [app-path]\server\bin\win. Using the batch files might be more convenient when the process needs to be automated (like scripting a database backup). The batch files to stop/start the server are called:

  • start-server.bat - starts the service

  • stop-server.bat - stops the service

Stopping and starting the Application Server on Mac

You can stop or start the PaperCut NG Application Server on Mac by using the following scripts found at [app-path]/server/bin/mac/:

  • start-server.command - starts the Application Server

  • stop-server.command - stops the Application Server

Stopping and starting the Application Server on Linux and Novell

You can start or stop the PaperCut NG Application Server on Linux and Novell by using the following scripts found at [app-path]/server/bin/linux-x64/:

  • start-server - starts the Application Server

  • stop-server - stops the Application Server


Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.