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

# sk167717 - Policy installation fails on SMB Gateway with "sfw_load: Failed to add CMI signatures" error

| Property | Value |
|----------|-------|
| Solution ID | sk167717 |
| Date Created | 2020-07-06 |
| Last Modified | 2021-12-28 |
| Technical Level | Advanced |
| Products | Spark Firewall (Locally Managed) |
| Versions | R82.00.X, R81.10.X |

## Symptoms

- * Policy installation fails with an error when the user manually fetches the policy from the Security Gateway.

  ```
  
  {policy} [ERROR]: appi_cmi_handler_add_signatures_cb: wsis_set_parser_parse failed
  {module} [ERROR]: cmi_loader_update_apps: add_signatures_cb failed for app APPI (0)
  {module} cmi_loader_update_context_destroy: Destroying update context opaque 0x4e70238
  {module} cmi_loader_update_context_destroy: Destroying update context opaque 0x545ba28
  {module} cmi_loader_update_context_destroy: Destroying update context opaque 0x59d56d0
  {module} cmi_loader_update_context_destroy: Destroying update context opaque 0x4284268
  cmi_loader_update_apps failed
  Policy installation failed. error is:
  [ 6057 1736839168]@ms-cp-gun-gw02[24 Feb 10:04:30] fw_atomic_cmi_add: cmi_loader_install_policy failed.
  [ 6057 1736839168]@ms-cp-gun-gw02[24 Feb 10:04:30] [10:04:30.935] [fw_atomic_cmi_add] [End]
  [ 6057 1736839168]@ms-cp-gun-gw02[24 Feb 10:04:30] sfw_load: Failed to add CMI signatures.
  [ 6057 1736839168]@ms-cp-gun-gw02[24 Feb 10:04:30]
  sfw_load: Error loading security policy
  
  ```

* The issue persists even if:
  * The user replaces *applications_entitlement.c* and *appi_db.c* from a working cluster member.
  * The user replaces the *applications_entitlement.c* and *appi_db.c* from a freshly installed device.

  <br />

## Cause

The file is corrupted. You need to refresh it.

<br />

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