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

# sk108357 - "Error compiling IPv6 flavor", "unknown macro or function" and "syntax error" errors on policy installation failure

| Property | Value |
|----------|-------|
| Solution ID | sk108357 |
| Date Created | 2015-10-25 |
| Last Modified | 2025-05-28 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |

## Solution

Introduction {#Introduction}
----------------------------

This article describes different scenarios when policy installation fails with "***Error compiling IPv6 flavor*** ", "***unknown macro or function*** " and "***function or table \<...\> undefined*** " errors.   
Each Scenario has additional details, mostly received from debugs, additional error messages, its own cause and solution.  
See the Table of Contents below.

* First, see [sk92933 - Policy installation with MGCP protocol fails on R76 / R77.x Gateway with error "Error compiling IPv6 flavor"](http://supportcontent.checkpoint.com/solutions?id=sk92933)

**Table of Contents:**

* Scenario 1 - Replacing *mgcp.def* file as suggested in sk92933 does not help does not help
* Scenario 2 - "`ERROR: function or table <diameter_code> undefined`" after upgrade of Management Server
* Scenario 3 - "`ERROR: function or table <pgm_len_block_code> undefined`" after upgrade of Management Server
* Scenario 4 - "`ERROR: function or table <DNS_BF_DOS_APP_0> undefined`" after IPS update
* Scenario 5 - Policy installation fails with *dhcp.def* file errors messages
* Scenario 6 - "`ERROR: function or table <fasttrack_block_code> undefined`"
* Scenario 7 - "`ERROR: illegal token`" on policy installation failure
* Scenario 8 - Policy installation fails with "`syntax error`" and "`table has no predefined format`" errors
* Scenario 9 - "`ERROR: Duplicate keys ... in table 'cluster_members_ips_by_local_ip'`" when cluster object contains more than 32 interfaces
* Scenario 10 - "`ERROR: unknown macro or function <SIMPLIFIED_RULEMATCH>`"
* Scenario 11 - "`ERROR: cannot find <ADP_OPENSSL_NONSTAND> anywhere`" after IPS update
* Scenario 12 - "`ERROR: cannot find <nomatch> anywhere`"
* Scenario 13 - "`ERROR: function or table <session_is_accept_cluster_sync> undefined`" after upgrade of Management Server

<!-- -->

Show Entire Article

Scenario 1 - Replacing *mgcp.def* file as suggested in sk92933 does not help {#Scenario 1}
------------------------------------------------------------------------------------------

**Symptoms:**

* Policy installation fails with "Policy installation failed - Error compiling IPv6 flavor" error.
* Replacing *mgcp.def* file as suggested in [sk92933](http://supportcontent.checkpoint.com/solutions?id=sk92933) does not resolve the issue

Show / Hide solution  
**Cause:** The configuration made for excluding an external address of the VPN Gateway from encryption domain was made for an older version of VPN Gateway, or was written incompletely.

**Solution:**

Follow these steps:

1. Connect to command line on Security Management Server / Multi-Domain Security Management Server.   

2. On Multi-Domain Security Management Server, switch to the context of the involved Domain Management Server:  

   *\[Expert@HostName\]# mdsenv \<IP or Name of Domain Management Server\>*   

3. Edit the relevant definitions:  

   Edit the relevant '**`crypt.def`** ' file in Vi editor. For exact location of the file, refer to [sk98241 - Location of 'crypt.def' files on Security Management Server](http://supportcontent.checkpoint.com/solutions?id=sk98241).
   * To exclude only IPv4 address:

     from
     >
     > ```
     > #ifndef NON_VPN_TRAFFIC_RULES
     > #define NON_VPN_TRAFFIC_RULES 0
     > #endif
     > ```

     to
     >
     > ```
     > #ifndef IPV6_FLAVOR
     > #define NON_VPN_TRAFFIC_RULES (dst=Destination_IPv4_Address,dport=Destination_Port)
     > #else
     > #define NON_VPN_TRAFFIC_RULES 0
     > #endif
     > ```

   * To exclude only IPv6 address:

     from
     >
     > ```
     > #ifndef NON_VPN_TRAFFIC_RULES
     > #define NON_VPN_TRAFFIC_RULES 0
     > #endif
     > ```

     to
     >
     > ```
     > #ifndef IPV6_FLAVOR
     > #define NON_VPN_TRAFFIC_RULES 0
     > #else
     > #define NON_VPN_TRAFFIC_RULES (dst=Destination_IPv6_Address,dport=Destination_Port)
     > #endif
     > ```

   * To exclude both IPv4 address and IPv6 address:

     from
     >
     > ```
     > #ifndef NON_VPN_TRAFFIC_RULES
     > #define NON_VPN_TRAFFIC_RULES 0
     > #endif
     > ```

     to
     >
     > ```
     > #ifndef IPV6_FLAVOR
     > #define NON_VPN_TRAFFIC_RULES (dst=Destination_IPv4_Address,dport=Destination_Port)
     > #else
     > #define NON_VPN_TRAFFIC_RULES (dst=Destination_IPv6_Address,dport=Destination_Port)
     > #endif
     > ```

   <br />

   <br />

4. Save the changes in the file and exit from Vi editor.   

5. Connect with SmartDashboard to Security Management Server / Domain Management Server.   

6. Install the policy onto the relevant Security Gateway / Cluster object.

Scenario 2 - "`ERROR: function or table <diameter_code> undefined`" during policy verification / installation after upgrade of Management Server {#Scenario 2}
--------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* Policy verification fails with errors after upgrade of Management Server:  

  ```
  "/opt/.../lib/diameter.def", line N: ERROR: cannot find <KFUNC_DIAMETER_PACKET_FILTER> anywhere
  "/opt/.../lib/diameter.def", line N: ERROR: function or table < diameter_code > undefined
  Compilation Failed.
  Error compiling IPv6 flavor.
  Operation ended with errors.
  ```

Show / Hide solution  

**Cause:** The *$FWDIR/lib/diameter.def* file was not replaced during the upgrade process.

**Solution:**

Run the following command on the Security Management Server / relevant Domain Management Server to update the INSPECT files:

* On Security Management Server:

  *# update_inspect_files -f*
* On Multi-Domain Server:

  *# mdsenv \<IP or Name of Domain Management Server\>*   
  *# update_inspect_files -f*

Scenario 3 - "`ERROR: function or table <pgm_len_block_code> undefined`" during policy verification / installation after upgrade of Management Server {#Scenario 3}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* After upgrading a Security Management server, policy installation fails with the following errors:

  ```
  "/opt/.../conf/updates.def", line N: ERROR: syntax error
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: function or table < pgm_len_block_code > undefined
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: syntax error
  Compilation failed.
  Operation ended with errors. 
  ```

* AMSN20130514_02_0 : read only object and can not be deleted via GuiDBEdit per R80.10 OS build.

* Debug of FWM daemon (per [sk86186](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk86186)) shows the same "`ERROR: syntax error`".  

* Hotfix for IPv6 flavor issue from [sk92933](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92933) does not help.

Show / Hide solution  
**Cause:** IPS definitions are not up-to-date, or do not exist.

**Solution:**

Perform IPS Update in SmartConsole:

1. In the '*IPS* ' tab, click '*Download Updates* ' -\> '*Update Now* ' button.  

2. Perform the update.  

3. Save the changes: go to '*File* ' menu - click on '*Save* '.  

4. Install policy on all Security Gateways.

Scenario 4 - "`ERROR: function or table <DNS_BF_DOS_APP_0> undefined`" during policy verification / installation after IPS update {#Scenario 4}
-----------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* Policy installation in SmartDashboard fails during verification after IPS update:

  ```
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: function or table < DNS_BF_DOS_APP_0 > undefined 
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: function or table < hpdp_main_parser_data_conn > undefined 
  Error compiling IPv6 flavor. 
  Compilation failed. 
  Operation ended with errors. 
  ```

* IPS schedule update failed with following error in SmartDashboard:

  ```
  Internal Error: Failed to update Database object '{...}'. 
  Extended Database error message: 
  'Validation error in field 'signatures' of element #2 at object 'asm_dynamic_prop_oracle_1797_ext' @ 'IPS Attribute Extensions' -> 
  The referenced object 'oracle_1797_sig' from table 'ips_signatures' does not exist in the database'. 
  Object contain invalid reference.
  Internal Error: 
  Failed to perform action 'override' on 'asm_dynamic_prop_oracle_1797_ext' at 'ips_attribute_extensions:' in file 'ips_attribute_extensions.C'
  ```

Show / Hide solution  
**Cause:** IPS update failed. As a result, IPS database became corrupted.

**Solution:**

Follow these steps:

1. Close all SmartConsole windows (SmartDashboard, SmartView Tracker, SmartView Monitor, etc.).   

2. Connect to command line on Security Management Server / Multi-Domain Security Management Server (over SSH, or console).   

3. Log in to Expert mode.   

4. On Multi-Domain Security Management Server, switch to the context of the involved Domain Management Server:   

   *\[Expert@HostName\]# mdsenv \<IP or Name of Domain Management Server\>*   

5. Stop Check Point services:   

   * On Security Management Server:   

     *\[Expert@HostName\]# cpstop*   

   * On Multi-Domain Security Management Server, stop the Domain:   

     *\[Expert@HostName\]# mdsstop_customer \<IP or Name of Domain Management Server\>*

   <br />

   <br />

6. Backup the current `$FWDIR/conf/ips_attribute_extensions.C` file:   

   *\[Expert@HostName\]# cp -v $FWDIR/conf/ips_attribute_extensions.C{,_BKP}*   

7. Edit the current `$FWDIR/conf/ips_attribute_extensions.C` file:   

   *\[Expert@HostName\]# vi $FWDIR/conf/ips_attribute_extensions.C*   

8. Search for the *asm_dynamic_prop_oracle_1797_ext* protection.   

   *Example* :
   >
   > ```
   > 	: (asm_dynamic_prop_oracle_1797_ext
   > 		:AdminInfo (
   > 			:chkpf_uid ("{3C1DD5CB-DF2C-473B-923B-0965E33A6CCF}")
   > 			:ClassName (dyn_signature_activation_extension)
   > 			:table (ips_attribute_extensions)
   > 			:icon (Unknown)
   > 			:LastModified (
   > 				:Time ("Sat Sep 28 08:42:00 2013")
   > 				:last_modified_utc (1380357720)
   > 				:By (admin)
   > 				:From (localhost)
   > 			)
   > 		)
   > 		:sfw_signatures ()
   > 		:signatures (
   > 			: (ReferenceObject
   > 				:Table (ips_signatures)
   > 				:Name (oracle_1797_1_sig)
   > 				:Uid ("{89FC7F03-ACD3-4B97-B3E4-A7551649F66B}")
   > 			)
   > 			: (ReferenceObject
   > 				:Table (ips_signatures)
   > 				:Name (oracle_1797_sig)
   > 				:Uid ("{508A2835-9FB8-45AF-8B00-B2EDB12D9DF8}")
   > 			)
   > 		)
   > 		:activation_attrib_name (asm_dynamic_prop_oracle_1797)
   > 		:activation_attrib_type (attack_mode)
   > 		:type (dyn_signature_activation_extension)
   > 	)
   > ```

9. Empty the signatures set *:signatures* in this protection, so it looks like this (delete everything inside the "*:signatures* " brackets):   

   *:signatures ()*   

   *Example* :
   >
   > ```
   > 	: (asm_dynamic_prop_oracle_1797_ext
   > 		:AdminInfo (
   > 			:chkpf_uid ("{3C1DD5CB-DF2C-473B-923B-0965E33A6CCF}")
   > 			:ClassName (dyn_signature_activation_extension)
   > 			:table (ips_attribute_extensions)
   > 			:icon (Unknown)
   > 			:LastModified (
   > 				:Time ("Sat Sep 28 08:42:00 2013")
   > 				:last_modified_utc (1380357720)
   > 				:By (admin)
   > 				:From (localhost)
   > 			)
   > 		)
   > 		:sfw_signatures ()
   > 		:signatures ()
   > 		:activation_attrib_name (asm_dynamic_prop_oracle_1797)
   > 		:activation_attrib_type (attack_mode)
   > 		:type (dyn_signature_activation_extension)
   > 	)
   > ```

10. Save the changes and exit from Vi editor.   

11. Make sure all SmartConsole windows are closed.  

12. Backup the current SmartConsole cache files:   

    *\[Expert@HostName\]# mkdir -v $FWDIR/conf/Cache_BKP/*   
    *\[Expert@HostName\]# mv -v $FWDIR/conf/CPMIL\* $FWDIR/conf/Cache_BKP/*   
    *\[Expert@HostName\]# mv -v $FWDIR/conf/applications.C\* $FWDIR/conf/Cache_BKP/*   

13. Backup the current `$FWDIR/conf/SMC_Files/asm/crc_marker_db.fws` file:   

    *\[Expert@HostName\]# cp -v $FWDIR/conf/SMC_Files/asm/crc_marker_db.fws{,_ORIGINAL}*   

14. Delete the current `$FWDIR/conf/SMC_Files/asm/crc_marker_db.fws` file:   

    *\[Expert@HostName\]# rm -i $FWDIR/conf/SMC_Files/asm/crc_marker_db.fws*   

    **Note:** This will cause **all** IPS protections to show up as **FollowUp** after the IPS update.   

15. Start Check Point services:   

    * On Security Management Server:   

      *\[Expert@HostName\]# cpstart*   

    * On Multi-Domain Security Management Server, stop the Domain:   

      *\[Expert@HostName\]# mdsstart_customer \<IP or Name of Domain Management Server\>*

    <br />

    <br />

16. Connect with SmartDashboard to Security Management Server / involved Domain Management Server.   

17. Update the IPS signatures: go to '*IPS* ' tab - click '*Download Updates* ' - click '*Update Now* ' button.   

18. Save the database: go to '*File* ' menu - click '*Save* '.   

19. Verify the policy: go to '*Policy* ' menu - click '*Verify...* '.   

20. Install the policy.

Scenario 5 - Policy installation fails with *dhcp.def* file errors messages {#Scenario 5}
-----------------------------------------------------------------------------------------

**Symptoms:**

* Policy installation fails at the compilation stage with errors:

  ```
  "/opt/.../lib/dhcp.def", line N: ERROR: cannot find (KFUNC_NEEDS_SYNC_ACK) anywhere
  "/opt/.../lib/dhcp.def", line N: ERROR: unknown macro or function (dhcp_request_code_do)
  "/opt/.../lib/dhcp.def", line N: ERROR: unknown macro or function (dhcp_request_code)
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

Show / Hide solution  
**Cause:** Corruption in the *dhcp.def* file.

**Solution:**

After replacing this file with one from a clean installation from the same version, the policy will be installed successfully.

Procedure:

1. This file exists in several places on the Management Server - refer to [sk110054 - Location of 'dhcp.def' files on Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk110054).  
   In the error message you will see the path to the problematic file.  
   Take the file from the same folder on the fresh installation.  

2. On the problematic Security Management Server / Domain Management Server, go to that specific folder that contains this file (look at the error message to see the full path).  

3. Stop Check Point services:   

   * On Security Management Server:   

     *\[Expert@HostName\]# cpstop*   

   * On Multi-Domain Security Management Server, stop the Domain:   

     *\[Expert@HostName\]# mdsstop_customer \<IP or Name of Domain Management Server\>*

   <br />

   <br />

4. Backup the file: *# cp -v /path_to/dhcp.def{,_ORIGINAL}*   

5. Copy the fresh file to the target folder.  

6. Start Check Point services:   

   * On Security Management Server:   

     *\[Expert@HostName\]# cpstart*   

   * On Multi-Domain Security Management Server, stop the Domain:   

     *\[Expert@HostName\]# mdsstart_customer \<IP or Name of Domain Management Server\>*
7. Install the Security policy.

Scenario 6 - "`ERROR: function or table <fasttrack_block_code> undefined`" during policy verification / installation {#Scenario 6}
----------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* Policy installation fails with errors after Cleaning the IPS database (due to IPS database corruption) or after upgrade of Management Server:  

  ```
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: function or table < fasttrack_block_code > undefined
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: function or table < skype_ssl_block_code > undefined
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: syntax error
  Policy will not install.  
  ```

* Additional errors that might appear:  

  ```
  "/opt/.../conf/updates.def", line N: ERROR:table <xxx> has no predefined format
  "/opt/.../conf/updates.def", line N: ERROR:cannot find <xxx> anywhere
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.          
  ```

Show / Hide solution  
**Cause:** Due to IPS limitation, the database contains reference to an invalid category. Therefore silent IPS update fails (which among others, handles INSPECT code from which updates.def is generated), which causes the INSPECT code in the *inspect.C* file to be in the wrong order.

**Solution:**

1. The *FWM* daemon should start *SDUU* (Silent Database Update) process after performing the clean IPS procedure. Verify that *SDUU* is up and running. Run:

   *\[Expert@HostName\]# ps aux \| grep sduu*   

2. Collect a Database Revision in case there are issues with the following procedure:

   In SmartDashboard, go to "***File*** " menu - click on "***Database Revision Control...*** " - click on "***Create*** ".  

3. Install policy and save the errors as a plain-text document (e.g., in Notepad).  

4. Connect with [GuiDBedit Tool](http://supportcontent.checkpoint.com/solutions?id=sk13009) to Security Management Server / Domain Management Server.   

5. Copy each protection, i.e., copy the string that looks like *fasttrack_block_code* out of the part of the error that looks like this: *\<fasttrack_block_code\>* one at a time, from the errors and search for that string.

   **Note:** Make sure all "*Search in* " options are selected in the "Find" window.  

6. Once the search has completed, you will find the matched protection in the top right window under the "*Object Name* " column. Right-click on the protection name and click on ***Delete*** .  

7. Repeat for each error in the *.pf* file.  

8. Once you have removed all of the protocols listed in the errors, install policy again in SmartDashboard.

If there are errors in the *updates.def* file, the above procedure will not fix the issue. Perform the clean IPS procedure again and make sure *$FWDIR/conf/asm.C* was edited properly and SDUU process was allowed to complete. This should just leave *.pf* errors that may be corrected by the above procedure.

In addition, perform the following:

1. Connect with [GuiDBedit Tool](http://supportcontent.checkpoint.com/solutions?id=sk13009) to Security Management Server / Domain Management Server.   

2. Go to ***Others*** - ***sd_topic_categories***   

3. Search for the object named ***SDT_asm_rpc_protos_category*** .  

4. Remove reference to ***SDT_dcerpc_scheme*** (under "*Element index 1* ") from this object.  

5. Save the changes: go to ***File*** menu - click on ***Save All*** .  

6. Close the GuiDBedit Tool.
7. Restart Check Point services on Security Management Server / Domain Management Server:

   * On Security Management Server:  
     *\[Expert@HostName\]# cpstop ; cpstart*   

   * On Multi-Domain Security Management Server:  
     *\[Expert@HostName\]# mdsstop_customer \<Domain_Name\> ; mdsstart_customer \<Domain_Name\>*
8. Run the following command in Expert mode:

   *\[Expert@HostName\]# watch -n 10 grep need $FWDIR/conf/asm.C*
   The output should be  
   *:need_local_update (false)*

Scenario 7 - '`"... line `*N*`: ERROR: illegal token`' during policy verification / installation after migrating Security Management from Windows to Gaia {#Scenario 7}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* After migrating a Security Management from Windows OS to Gaia OS, policy installation fails with the following errors:

  ```
  cpp: line N, Warning: Unexpected text in #control line ignored
  #ifndef __user_early_def__from file /opt/CPsuite-R77/fw1/lib/fwui_head.def, line N:
  #include "user.def"
  from file /opt/CPsuite-R77/fw1/conf/<Name_of_Policy>.pf, line N:
  #include "fwui_head.def"
  
  cpp: line N, Warning: Unexpected text in #control line ignored
  #endif /* __user_def__ *from file /opt/CPsuite-R77/fw1/lib/fwui_head.def, line N:
  #include "user.def"  (Note: can be "table.def", "dcerpc.def" or "dcom.def")
  from file /opt/CPsuite-R77/fw1/conf/<Name_of_Policy>.pf, line N:
  #include "fwui_head.def"
  <Name_of_Policy>:"/opt/CPsuite-R77/fw1/lib/user.def", line N: ERROR: illegal token
  
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

Show / Hide solution  
**Cause:** The */opt/CPsuite-R77/fw1/lib/user.def* file (or another file, that appears in the error message) was not converted from DOS format to UNIX format during the migration process.

**Solution:**

Follow these steps:

1. Connect to command line on Security Management Server (over SSH, or console).   

2. Log in to Expert mode.   

3. Back up the current problematic file.   

   Note: Refer to [sk98239 - Location of 'user.def' files on Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk98239)Example:  

   *\[Expert@HostName\]# cp -v /opt/CPsuite-R77/fw1/lib/user.def{,_ORIGINAL}*   

4. Convert the current problematic file from DOS format to UNIX format, for example:   

   *\[Expert@HostName\]# dos2unix /opt/CPsuite-R77/fw1/lib/user.def*   

5. Connect with SmartDashboard to Security Management Server.   

6. Install policy onto all Security Gateways.

Scenario 8 - Policy installation fails with "`syntax error`" and "`table has no predefined format`" errors {#Scenario 8}
------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* Policy installation fails with the following errors:  

  ```
  "/opt/.../conf/<Name_of_Policy>.pf" , line N: ERROR: syntax error
  ... ... ...
  "/opt/.../conf/<Name_of_Policy>.pf" , line N: ERROR: table <auth_services> has no predefined format
  ... ... ...
  "/opt/.../conf/<Name_of_Policy>.pf" , line N: ERROR: table <client_was_auth> has no predefined format
  ... ... ...
  "/opt/.../conf/<Name_of_Policy>.pf" , line N: ERROR: syntax error
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

* Policy installation succeeds only when the settings of the URI Resource are changed as follows:

  1. SmartDashboard - '*Resources* ' tab - expand '*URI*' group - edit the URI Resource
  2. On '*General* ' tab, in the '*URI Match Specification Type* ' section - select '*UFP*'
  3. On '*Match* ' tab, in the '*UFP caching control* ' - select '*No caching*'
  4. Click on '*OK*'
* UFP IPv6 logs in SmartView Tracker show wrong hit rate statistics.

<br />

Show / Hide solution  

**Issue:** 01425206 , 01425391

**Cause:** Source Port, Destination Port and IP Protocol values for IPv6 are not fetched correctly from the *$FWDIR/lib/auth.def* file on Management Server.

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R77.30](http://supportcontent.checkpoint.com/solutions?id=sk104859)

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=435) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

Scenario 9 - "`ERROR: Duplicate keys ... in table 'cluster_members_ips_by_local_ip'`" during policy verification / installation when cluster object contains more than 32 interfaces {#Scenario 1}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* In some scenarios, when cluster object contains more than 32 interfaces, policy compilation might fail with the following error in SmartDashboard:

  ```
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: Duplicate keys < IP_Addres_in_Hex > in table 'cluster_members_ips_by_local_ip'
  
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

Show / Hide solution  

**Issue:** 01245535 , 01245826 , 01245827 , 01245828 , 01295067 , 01429594

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R77.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk97617)

Check Point recommends to always upgrade to the most recent version.

Scenario 10 - "`ERROR: unknown macro or function <SIMPLIFIED_RULEMATCH>`" during policy verification / installation {#Scenario 10}
----------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* When using VPN Traditional mode on SSL-VPN or Mobile Access blades, policy installation fails with:   

  ```
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: unknown macro or function < SIMPLIFIED_RULEMATCH > 
  Error compiling IPv6 flavor.
  Compilation failed.
  ```

Show / Hide solution  

**Cause:** The VPN configuration in Traditional mode is not supported with SSL-VPN gateways.   

Policy installation will fail with this specific error when trying to install Traditional Mode policy and none of Security Gateway objects has Mobile Access blade enabled (those Security Gateway objects do not have to be defined as policy installation Targets).

**Solution:**

Convert the VPN configuration from 'Traditional Mode' into 'Simplified Mode' and install policy:

Note: This procedure also applies to environments using Mobile Access Blade.

* ***Either*** run the "Simplified VPN" wizard and follow each step as instructed (go to '*Policy* ' menu - click on '*Convert to* ' - select '*Simplified VPN...*').

  * In the Security Policy rulebase, a new column called "*VPN* " appears and the '*Encrypt* ' option is no longer available in the '*Action* ' column. You are now working in '*Simplified Mode*'.
* ***Or*** follow these steps:

  1. Go to '*Policy* ' menu - click on '*Global Properties...* ' - go to '*VPN* ' pane - select either "*Simplified mode to all new Security Policies* ", or "*Traditional or Simplified per new Security Policy* " - click on '*OK* '.   

  2. Save the changes: go to '*File* ' menu - click '*Save* '.   

  3. Create a new policy package: go to '*File* ' menu - click '*New...* ' - the 'New Policy Package' window opens.   

  4. Assign a name for the new security policy package - select the '*Firewall and Address Translation* '.   

  5. Install the policy onto the relevant Security Gateway / Cluster object.

  In the Security Policy rulebase, a new column called "*VPN* " appears and the '*Encrypt* ' option is no longer available in the '*Action* ' column. You are now working in '*Simplified Mode*'.

Scenario 11 - "`/opt/.../lib/asm_dynamic_props.def, line `*N*`: ERROR: cannot find <ADP_OPENSSL_NONSTAND> anywhere`" during policy verification / installation after IPS update {#Scenario 11}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms**: Policy Installation fails after IPS update with the following errors:

```
"/opt/.../conf/Standard.pf", line N: ERROR: unknown macro or function <RECORD_CONN >
"/opt/.../lib/asm_dynamic_props.def", line N: ERROR: cannot find <ADP_OPENSSL_NONSTAND> anywhere
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <sd_match_code1 >
"/opt/.../lib/base.def", line N: ERROR: syntax error
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <spii_record_conn_match >
"/opt/.../lib/crypt.def", line N: ERROR: unknown macro or function <RECORD_CONN_EX >
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <USER_PASS_CONNECTION >
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <RECORD_CONN_EX >
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <SIMPLIFIED_RECORD_CONN >
"/opt/.../lib/proxy.def", line N: ERROR: unknown macro or function <RECORD_CONN_EX >
...
Error compiling IPv6 flavor.
Operation ended with errors.
```

Show / Hide solution  

**Issue:**02434204

**Solution:**

This problem was fixed. The fix is included in:

* [Check Point R80](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk108623)

Check Point recommends to always upgrade to the most recent version.
Also the following workaround is available:

1. Clear the current additional settings override of the IPS profile:  

   1. Close all SmartConsole windows.  

   2. Connect to Security Management Server with [GuiDBedit Tool](http://supportcontent.checkpoint.com/solutions?id=sk13009).  

   3. Navigate to "*Other* " -\> "*dyn_attack_dyn_attribs* "  

   4. Delete object with name "*SDT_asm_dynamic_prop_openssl_\<profile name\>* " (select the profile name accordingly.)  

      [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk115519/sk11701150850.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk115519/sk11701150850.png "Click the image to see it in full size in a new tab/window")  

   5. Save the changes: go to '*File* ' menu - click on '*Save All* '.  

   6. Close the GuiDBedit Tool.  

2. Create a new protection additional settings override:  

   1. In SmartConsole, go to *Security Policies* -\> *IPS* -\> *IPS protection* .  

   2. Search for "*Non Compliant SSL* " protection, right-click and edit it.  

   3. Select the relevant profile, right-click and edit.  

   4. Go to *Additional* settings -\> "*Configure...* " and select "*Protect SMTPS over SMTP port (TCP/25)* ":  

      [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk115519/sk21701150851.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk115519/sk21701150851.png "Click the image to see it in full size in a new tab/window")  

   5. Click OK to save.

   <br />

   <br />

3. Install policy with the relevant profile.

Scenario 12 - "`/opt/.../lib/base.def", line `*N*`: ERROR: cannot find <nomatch> anywhere`" during policy verification / installation {#Scenario 12}
----------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms**: After upgrade of Management Server, policy installation fails with errors:

```
    		
"/opt/.../lib/base.def", line N: ERROR: cannot find <nomatch> anywhere
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <match_other_services>
"/opt/.../lib/base.def", line N: ERROR: unknown macro or function <MATCH_FOR_ANY>
...
Error compiling IPv6 flavor.
Compilation failed.
Operation ended with errors
```

Show / Hide solution  

**Cause:** The *$FWDIR/lib/base.def* file still contains a service configuration that does not exist after upgrade.

**Solution:**

1. Stop Check Point services:   

   * On Security Management Server:   

     *\[Expert@HostName\]# cpstop*   

   * On Multi-Domain Security Management Server, stop the Domain:   

     *\[Expert@HostName\]# mdsstop_customer \<IP or Name of Domain Management Server\>*

   <br />

   <br />

2. Backup the current *$FWDIR/lib/base.def* file:  

   Note: Refer to [sk95147 - Location of 'base.def' files on Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk95147)   

   *# cp -v $FWDIR/lib/base.def{,_ORIGINAL}*   

3. Edit the current *$FWDIR/lib/base.def* file:   

   *# vi $FWDIR/lib/base.def*   

4. Display the line numbers in the file to find the first ERROR line:  

   Press SHIFT + ; keys to enter the command line  
   Type *:set number* and press Enter   

5. Locate and delete the first ERROR line.  

6. Save the file.  

7. Start Check Point services:   

   * On Security Management Server:   

     *\[Expert@HostName\]# cpstart*   

   * On Multi-Domain Security Management Server, stop the Domain:   

     *\[Expert@HostName\]# mdsstart_customer \<IP or Name of Domain Management Server\>*

   <br />

   <br />

8. Install the Security policy.

Scenario 13 - "`ERROR: function or table <session_is_accept_cluster_sync> undefined`" during verification / installation after upgrade of Management Server {#Scenario 13}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**Symptoms:**

* Policy verification fails with errors after upgrade of Management Server:  

  ```
  "/opt/.../conf/<Name_of_Policy>.pf", line N: ERROR: cannot find <session_is_accept_cluster_sync> anywhere
  Error compiling IPv6 flavor.
  Operation ended with errors.
  ```

Show / Hide solution  

**Cause:** The *$FWDIR/lib/\*.def* files were not replaced during the upgrade process.

**Solution:**Run the following command on the Security Management Server / relevant Domain Management Server to update the INSPECT files:

* On Security Management Server:

  *# update_inspect_files -f*
* On Multi-Domain Server:

  *# mdsenv \<IP or Name of Domain Management Server\>*   
  *# update_inspect_files -f*

---

# 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
