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

# sk170764 - Cannot enable debug and other commands on Security Gateway with"GetLicFromFile: Failed to open file: /opt/CPshrd-R8X.X/conf/cp.pnp" error message

| Property | Value |
|----------|-------|
| Solution ID | sk170764 |
| Date Created | 2020-12-07 |
| Last Modified | 2023-12-14 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |

## Symptoms

- Getting an error message when fail to enable debug/zdebug or other commands(e.g. fw logswitch) on Security Gateway   
"GetLicFromFile: Failed to open file: /opt/CPshrd-R8X.X/conf/cp.pnp   
pnp_blades_iterate: Failed to find a match to PNP_BLADE_APPI_V1 in PnP file: /opt/CPshrd-R8X.X/conf/cp.pnp"   
or   
" GetLicFromFile: Failed to open file: /opt/CPshrd-R8X.X/conf/cp.pnp   
pnp_init_blades: Failed to get data from PnP file: /opt/CPshrd-R8X.X/conf/cp.pnp"

## Cause

`cp.pnp` file is missing under `/var/opt/CPshrd-R8X.X/conf` directory.

<br />

## Solution

Get `cp.pnp` file from any other machine that is running the same version, and copy the file to `/opt/CPshrd-R8X.X/conf`.   
**Note:** There is no need to do `cpstop/cpstart`.

<br />

---

# 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
