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

# sk155532 - Policy installation fails with "Policy installation had failed due to an internal error"

| Property | Value |
|----------|-------|
| Solution ID | sk155532 |
| Date Created | 2019-06-10 |
| Last Modified | 2019-06-11 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |

## Symptoms

- * Policy installation fails with `"Policy installation had failed due to an internal error."` message.

* After running the following debug:  

  `[Expert@Host]# export INTERNAL_POLICY_LOADING=1 `  
  `
  [Expert@Host]# export TDERROR_ALL_ALL=5 `  
  `
  [Expert@Host]# fwm load <POLICY_NAME> <Gateway_namee>& output.txt`

  <br />


  We can see the following errors:   


  \[FWM ...\[DATE TIME\] **Cannot get 'shadow_objects.C' component's data. Probably the component was not initialized.**   

  \[FWM ...\[DATE TIME\] \[Reading file: /opt/CPsuite-R80.20/fw1/conf//db_snapshot/{E41DED08-589E-AB43-97DB-0399AAD71EFB}/shadow_objects.C\] \[Start\]   

  \[FWM ...\[DATE TIME\] \[Reading file: /opt/CPsuite-R80.20/fw1/conf//db_snapshot/{E41DED08-589E-AB43-97DB-0399AAD71EFB}/shadow_objects.C\] \[End\]   

  \[FWM ...\[DATE TIME\] \[Reading file: /opt/CPsuite-R80.20/fw1/conf//db_snapshot/{E41DED08-589E-AB43-97DB-0399AAD71EFB}/shadow_objects.C\] \[Bytes read: 0\]   

  \[FWM ...\[DATE TIME\] **File 'shadow_objects.C' does not exist in directory '/opt/CPsuite-R80.20/fw1/conf/' or is corrupted.**   

  \[FWM ...\[DATE TIME\] **Failed to read file 'shadow_objects.C'. Conversion can not be performed.**   

* `ls -lh $FWDIR/conf/shadow_objects.C` displays that the filesize is 0 bytes.
* Creating a backup and deleting the `shadow_objects.C` and the `last_dump.C` does not automatically recreate the `shadow_objects.C` file.
* `find / -iname shadow_objects.C` shows that the file exists elsewhere on the gateway.

## Cause

The *$FWDIR/conf/shadow_objects.C* file is corrupt/empty.

## 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
