> Source: [sk185276](https://support.checkpoint.com/results/sk/sk185276)

# sk185276 - Expert Mode Commands Fail with "plan-name: command not found" on Security Gateway

| Property | Value |
|----------|-------|
| Solution ID | sk185276 |
| Date Created | 2026-08-17 |
| Last Modified | 2026-08-17 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82 |
| OS | Gaia |

## Symptoms

- * Commands that run in Expert mode on the affected Security Gateway fails with error:  

  ```
  plan-name: command not found
  ```

  <br />

* Gaia Command Line Shell (Clish) commands work as expected.

* Expert mode commands fail to execute or behave unexpectedly.

## Cause

The Gaia shell profile configuration files are corrupted on the affected Security Gateway.

Affected files may include:

* */etc/profile*
* Files located under */etc/profile.d*

When an administrator enters Expert mode, the shell reads these profile files to initialize the shell environment. During this process, environment variables, command paths, and other required shell settings are loaded.

If the profile files are corrupted, Expert mode cannot initialize correctly. As a result, the shell may interpret configuration content as executable commands and display errors such as:

`plan-name: command not found`

This prevents normal command execution in Expert mode.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
