Skip to main content

How to Restart a ColdFusion or Lucee Service Safely

Restarting the ColdFusion or Lucee service refreshes the application environment, clears the memory, and applies any configuration changes. This task is performed by a developer or system administrator and requires elevated permissions to manage...

Restarting the ColdFusion or Lucee service refreshes the application environment, clears the memory, and applies any configuration changes. This task is performed by a developer or system administrator and requires elevated permissions to manage system services.

Important: This action requires administrative or root privileges on the server. Depending on the environment, you may need to contact Hostek support or your system administrator to perform this action if you do not have direct access to the server's management tools.

Before you begin

You will need:

  • Administrative or root access to the server.

  • The specific service name for your installation (e.g., ColdFusion or Lucee).

  • A maintenance window, as the website will be inaccessible while the service is restarting.

Restarting the service

The method for restarting the service depends on the operating system of the server.

On Windows Server

  1. Open the Start menu and type services.msc.

  2. Press Enter to open the Services management console.

  3. Locate the service in the list. It will typically be named ColdFusion or Lucee.

  4. Right-click the service and select Restart.

  5. Wait for the service status to return to Running before proceeding.

On Linux/Unix

  1. Connect to the server via SSH.

  2. Identify the service name using the following command:

    systemctl list-units --type=service | grep -iE "coldfusion|lucee"

  3. Restart the service using the systemctl command:

    sudo systemctl restart [service_name]

    Replace [service_name] with the actual name identified in the previous step (e.g., coldfusion or lucee).

  4. Verify the service is running:

    systemctl status [service_name]

Confirm the result

  • The service status shows as Running (Windows) or active (running) (Linux).

  • The website is accessible via a web browser.

  • The ColdFusion or Lucee Administrator console loads successfully.

Limitations

Restarting the service will cause a temporary outage for all websites running on that specific ColdFusion or Lucee instance. This process does not clear the CFML Template Cache; if you have made changes to .cfm or .cfc files and they are not updating, you must perform a separate step to clear the template cache.

Did this answer your question?