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

# sk178126 - "Operation ended with errors" error during policy installation

| Property | Value |
|----------|-------|
| Solution ID | sk178126 |
| Date Created | 2022-03-14 |
| Last Modified | 2024-10-31 |
| Technical Level | Advanced |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82, R81.20, R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS), R81.20, R82 |
| OS | Gaia |

## Symptoms

- * "Operation ended with errors" error during policy installation.

* On policy load debug (`export INTERNAL_POLICY_LOADING=1; fwm -d load <policy_name> <gateway_object_name> > fwmloaddbg.txt`) you see a similar log:  

  `
  [FW_LOADER PID]@Hostname[DATE TIME] registry_root_flush: Error opening tmp registry file [/opt/CPmds-R81/customers/<management_name>/CPshrd-R81/registry/HKLM_registry.data.tmp] for writing: Permission denied`

* The output of the command: `lsattr $CPDIR/registry/` is:  

  `----i----------- /opt/CPshrd-R81.10/registry/HKLM_registry.data`  

  which means the registry file is locked for editing.

## Cause

The *$CPDIR/registry* directory and/or the *$CPDIR/registry/HKLM_registry.data* file are locked.

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