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

# sk184482 - Failure to perform 'lightshot restore' on R82 JHF Take 44

| Property | Value |
|----------|-------|
| Solution ID | sk184482 |
| Date Created | 2025-12-24 |
| Last Modified | 2025-12-26 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82 |
| OS | Gaia |

## Symptoms

- * Unable to perform `lightshot restore` from CLISH, GCLISH or Expert mode.
* Error from CLISH/GCLISH/Expert:  

  ```
  
  [Global] HostName-s01-01> set lightshot restore name pre_jhf1
  1_01:
  Failed to perform 'lightshot restore', since lightshot service is not active and could not be started.
  Please check /var/log/lightshot.log for more information.
  ```

* Error from Lightshot log file: /var/log/lightshot:  

  ```
  
  [INFO] zzzlightshot is not running, starting it...
  [DEBUG] Execute: systemctl start zzzlightshot
  [ERROR] Execute: systemctl start zzzlightshot
  rc: 127, stdout: , stderr: /bin/sh: systemctl: command not found
  [ERROR] Failed to start zzzlightshot (rc=127): /bin/sh: systemctl: command not found
  ```

* Reverting to Quick FCD (Factory Default), following a removal of Security Group Member (SGM) from a Security Group, results the same failure.

## Solution

**Temporary Workaround:**

Edit the `lightshot.py` Python script on the Security Gateway Module:

1. Make a copy of the lightshot.py file:

   ```
   # cp /etc/lightshot/src/lightshot.py /etc/lightshot/src/lightshot.py.orig
   ```

2. Run this command in expert mode:

   ```
   # sed -i '/if not ensure_zzzlightshot_is_active():/,/sys.exit(1)/d' /etc/lightshot/src/lightshot.py
   ```

3. Run the following command and make sure there are no errors:

   ```
   # python3 -m py_compile /etc/lightshot/src/lightshot.py
   ```

4. Sanity test:  
   Run `lightshot` in expert mode and make sure you see the help page.  

**Permanent Solution**:

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect these files:

1. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Management Server involved in the case.
2. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Security Gateway / each Cluster Member / Security Group involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).

---

# 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
