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

# sk108058 - "CLINFR0479 You can't start interactive session from another interactive session" error when trying to log in / switch to Clish over SSH

| Property | Value |
|----------|-------|
| Solution ID | sk108058 |
| Date Created | 2015-10-14 |
| Last Modified | 2025-06-30 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R82.20, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * "`CLINFR0479 You can't start interactive session from another interactive session`" error and the SSH session is closed when connecting and authenticating to Gaia OS over SSH with a user, whose default shell is *Clish* (/etc/cli).

* "`CLINFR0479 You can't start interactive session from another interactive session`" error when connecting and authenticating to Gaia OS over SSH with a user, whose default shell is *Bash* (/bin/bash) and trying to switch to Clish.

* Log in to Clish over Console connection works correctly (user is able to log in without any errors).

* */var/log/messages* files shows:

  `sshd[PID]: Accepted password for admin from X.X.X.X port XXX ssh2`  
  `
  sshd[`*PID* `]: pam_unix(sshd:session): session opened for user admin by (uid=0)`  
  `
  clish[`*PID* `]: user logged from admin`  
  `
  clish[`*PID* `]: User admin logged out due to an error from CLI shell`  
  `
  sshd[`*PID* `]: Received disconnect from x.x.x.x: 11: Connection discarded by broker`  
  `
  sshd[`*PID*`]: pam_unix(sshd:session): session closed for user admin`

## Cause

Due to some locking issue related to authenticating through RADIUS, the Clish shell remained locked, although the RADIUS session was closed and the Clish shell should have been released for use.

## Solution

[Contact Check Point Support](http://www.checkpoint.com/support-services/contact-support/index.html) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo file](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the involved Gaia machine.

**Code was improved:** All unnecessary Clish lock-files (*/tmp/clish.\<PID\>*) will be removed during start of each Clish instance.

**Hotfix installation instructions:**

1. Hotfix has to be installed on ***machine running Gaia OS***.

   **Notes:**
   * In cluster environment, this procedure must be performed on *all* members of the cluster.
   * In Management HA environment, this procedure must be performed on *both* Management Servers.

   <br />

   <br />

2. Transfer the hotfix package to the machine (into some directory, e.g., */some_path_to_fix/* ).   

3. Unpack the hotfix package:

   ***\[Expert@HostName\]# cd /some_path_to_fix/***   
   ***\[Expert@HostName\]# tar -zxvf SecurePlatform_\<HOTFIX_NAME\>.tgz***   

4. Install the hotfix:

   ***\[Expert@HostName\]# ./SecurePlatform_\<HOTFIX_NAME\>***
   **Note:** The script will stop all of Check Point services (*cpstop* ) - read the output on the screen.   

5. Reboot the machine.

**Temporary workaround instructions:**

1. Log out from all shells.   

2. Connect to the Gaia machine over Console.   

3. Log in to Expert mode.   

4. Remove all the Clish lock-files:

   ***\[Expert@HostName:0\]# rm -i /tmp/clish.\****   

5. Check that you are able to log in to Clish over Console.   

6. Connect to the Gaia machine over SSH:

   * Try to log in with a user, whose default shell is Clish (/etc/cli).
   * Try to log in with a user, whose default shell is Bash (/bin/bash) and then try to switch to Clish ("*clish*" command).

**Related solutions:**

* [sk109497 - Not possible to connect to Gaia OS over SSH after reboot](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk109497)

---

# 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
