Starting and stopping PingFederate
Depending on the application mode and the operating system, the steps to start, stop, or restart PingFederate vary.
If you install or upgrade PingFederate using its platform-specific installer, PingFederate configures to run as a service. You can stop and disable the service and run PingFederate as a console application.
If you install or upgrade PingFederate manually by using the PingFederate product distribution file or the Upgrade Utility in command line, you can run PingFederate as a console application or install the PingFederate service manually and run it as a service.
Starting and stopping PingFederate on Windows
Starting and stopping PingFederate as an application
To start PingFederate:
-
In Windows, open a command prompt.
-
Go to
<pf_install>/pingfederate/bin. -
Run
run.bat. -
Keep the command prompt open.
To stop PingFederate:
-
Locate the command prompt running PingFederate.
-
Press CTRL+C to terminate PingFederate.
To stop and restart PingFederate:
-
Locate the command prompt running PingFederate.
-
Press CTRL+C to terminate PingFederate.
-
When PingFederate stops, run
run.bat. -
Keep the command prompt open.
Starting and stopping PingFederate as a Windows service
To start PingFederate:
-
In Windows, go to Control Panel > System and Security > Administrative Tools > Services.
-
Right-click on the PingFederate service and click Start.
To stop PingFederate:
-
Go to Control Panel > Administrative Tools > Services.
-
Right-click on the PingFederate service and click Stop.
To restart PingFederate:
-
Go to Control Panel > Administrative Tools > Services.
-
Right-click on the PingFederate service and select Restart.
Starting and stopping PingFederate on Linux
There are two ways to start and stop PingFederate on Linux:
bin/run.sh launches PingFederate as a foreground application in the current terminal session. Console outputs are streamed to the terminal, and the application terminates when the terminal session ends. This method is useful for interactive use during application or plugin development and testing or troubleshooting your PingFederate deployment.
sbin/pingfederate-run.sh launches PingFederate as a background service. Console outputs are logged in the stdout.log and stderr.log files. The server continues running after the initiating terminal session closes. This method is intended for production deployments and long-running or unattended environments.
Starting and stopping PingFederate as an application
To start PingFederate:
-
Open a terminal window.
-
Go to
<pf_install>/pingfederate/bin. -
Run
run.sh. -
Keep the terminal window open.
To stop PingFederate:
-
Locate the terminal window running PingFederate.
-
Press CTRL+C to terminate PingFederate.
To restart PingFederate:
-
Locate the terminal window running PingFederate.
-
Press CTRL+C to terminate PingFederate.
-
When PingFederate stops, run
run.sh. -
Keep the terminal window open.
Starting and stopping PingFederate as a Linux service
To start PingFederate:
-
Open a terminal session.
-
Go to
<pingfed_install>/pingfederate/sbin. -
Run
pingfederate-run.sh.
To check the status of PingFederate:
-
Open a terminal session.
-
Go to
<pingfed_install>/pingfederate/sbin. -
Run
pingfederate-status.sh.
To stop PingFederate:
-
Open a terminal session.
-
Go to
<pingfed_install>/pingfederate/sbin. -
Run
pingfederate-shutdown.sh.