Stopping and starting 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.
When you start the Application ServerAn Application Server is the primary server program responsible for providing the PaperCut user interface, storing data, and providing services to users. PaperCut uses the Application Server to manage user and account information, manage printers, calculate print costs, provide a web browser interface to administrators and end users, and much more., wait approximately 15-20 seconds for the service to start before accessing the Admin web interface. This gives the system time to initialize.
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:
-
Open the services control panel. ( Start > Control Panel > Administrative Tools > Services )
-
Find the service named PaperCut Application Server.
-
Right-click the service.
-
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|i686]/:
-
start-server - starts the Application Server
-
stop-server - stops the Application Server