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

# sk178489 - Policy Installation in SmartConsole fails with: "/opt/.../fw1/lib/init.def", line &lt;N&gt; ERROR: syntax error Error compiling IPv6 flavor. Operation ended with errors."

| Property | Value |
|----------|-------|
| Solution ID | sk178489 |
| Date Created | 2022-03-22 |
| Last Modified | 2022-05-08 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20 |

## Symptoms

- Policy Installation in SmartConsole fails with:

```
 "/opt/.../fw1/lib/init.def", line <N> ERROR: syntax error Error compiling IPv6 flavor. Operation ended with errors. 
```

## Solution

1. Locate the `user.def.X` file according to [sk98239](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk98239).
2. Review the file and check if there are any added lines after line 21.
3. If there are, make sure that the lines end with a semi-colon. For example:  
   This is the incorrect syntax (notice there is no semi-colon at the end of the line):  
   `all@{member1,member2} vpn_sticky_gws = { <10.10.10.1;1>, <20.20.20.1;1> }`  
   This is the correct syntax:  
   `all@{member1,member2} vpn_sticky_gws = { <10.10.10.1;1>, <20.20.20.1;1> };`
4. Save the changes and install policy.

---

# 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
