Stopping and Starting the Application Server

Most of the time it will not be necessary to stop or start the server; however there are some circumstances where this is required:

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

Important

When you start the application server, wait approximately 15-20 seconds for the service to start before accessing the admin interface. This gives the system time to initialize.

Stopping/Starting the server on Windows

The PaperCut NG application server runs as a Windows service when installed on Windows, and it can be stopped and started using the Services control panel applet. To stop/start/restart the application server:

  1. Open the services control panel. (StartControl PanelAdministrative ToolsServices)

  2. Find the service name PaperCut Application Server.

  3. Right-click on 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/Starting the server on Mac

To start/stop the application server you will need to run the scripts located under [app-path]\server\bin\mac. The scripts are called:

  • start-server.command - starts the server

  • stop-server.command - stops the server

Stopping/Starting the server on Linux

To start/stop the application server you will need to run the scripts located under [app-path]\server\bin\linux-i686. The scripts are called:

  • start-server - starts the server

  • stop-server - stops the server