---
title: Start and stop ASE
description: Prerequisite:
component: pingintelligence
version: 5.1
page_id: pingintelligence:api_security_enforcer:pingintelligence_starting_and_stopping_ase
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/api_security_enforcer/pingintelligence_starting_and_stopping_ase.html
revdate: April 3, 2024
section_ids:
  start-ase: Start ASE
  stop-ase: Stop ASE
---

# Start and stop ASE

**Prerequisite:**

For ASE to start, the `ase_master.key` must be present in the `/opt/pingidentity/ase/config` directory. If you have moved the master key to a secured location for security reasons, copy it to the config directory before executing the start script. You can run ASE as a non-root user also.

## Start ASE

Before starting ASE, make sure that `nofile` limit in `/etc/security/limits.conf` is set to at least 65535 or higher on the host machine. Run the following command on the ASE host machine to check the `nofile` limit:

```
ulimit -n
```

Change working directory to `bin `and run the `start.sh` script.

```
/opt/pingidentity/ase/bin/start.sh
Starting API Security Enforcer 4.0.2...
please see /opt/pingidentity/ase/logs/controller.log for more details
```

## Stop ASE

Change working directory to `bin` and run the `stop.sh` script.

```
/opt/pingidentity/ase/bin/stop.sh -u admin –p admin
checking API Security Enforcer status…sending stop request to ASE. please wait…
API Security Enforcer stopped
```
