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

# sk173844 - Policy installation failed due to an internal error

| Property | Value |
|----------|-------|
| Solution ID | sk173844 |
| Date Created | 2021-06-10 |
| Last Modified | 2022-06-21 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R81 (EOS), R81 (EOS) |
| OS | Gaia |
| Platform | VMWare ESX |

## Symptoms

- * Policy installation failed due to an internal error.
* These logs appear in the Postgres.elg output: ` 2021-01-20 10:59:32.230 IST 11498 73937 9/98 STATEMENT: select publish_session_data('2')
  2021-01-20 11:00:00.265 IST 11525 74307 11/90 ERROR: could not open file "/opt/CPsuite-R81/fw1/tmp/gw_policies/ACCESS_BLADE/GATE-DC1/dcerpc_service" for writing: Permission denied
  2021-01-20 11:00:00.265 IST 11525 74307 11/90 HINT: COPY TO instructs the PostgreSQL server process to write a file. You may want a client-side facility such as psql's \copy. `

## Cause

Permission issues for `"dcerpc_service"` in Postgres.elg

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170114) starting from Take 51

If you choose not to upgrade, provide permission to the file using this command:  

`# chmod 755 /opt/CPsuite-R81/fw1/tmp/gw_policies/ACCESS_BLADE`  
`# chmod 755 /opt/CPsuite-R81/fw1/tmp/gw_policies`  
`# chgrp -R root /opt/CPsuite-R81/fw1/tmp/gw_policies`  

If the problem persists, [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/).

---

# 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
