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

# sk138312 - Policy installation fails after running IPSUpdateRevert tool

| Property | Value |
|----------|-------|
| Solution ID | sk138312 |
| Date Created | 2018-10-16 |
| Last Modified | 2018-10-17 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R82.20, R81.20, R82, R82.20 |
| OS | Windows, Linux, Gaia |

## Symptoms

- Under some circumstances, after the IPSUpdateRevert tool is used to revert the IPS Database to a Previous Database Revision, policy installation fails with the following error:

```
 
"/opt/CPmds-R77/customers//CPsuite-R77/fw1/conf/.pf", line xxx: ERROR: function or table  undefined
Compilation failed.
```

**Note** : "n" are digits.   
**Note**: Example of IPS protocol object: \< AMSN20130514_02_0 \>

## Cause

This behavior is by design.

The**IPSUpdateRevert** tool was designed to allow the IPS SQLite database to be reverted to the version prior to the last IPS update. The reversion affects only the IPS configuration. The scope of the IPSUpdateRevert tool is limited to the IPS SQLite database and does not revert the changes (new services and protocols) in the *objects_5_0.C file* that on some occasions may be created by the newer IPS version update and new protections activated in a new IPS profile .

If a user reverts only the IPS database with IPSUpdateRevert, then he/she must manually remove all protocols/services that were added by the newer IPS version update, if applicable.

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