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

# sk179655 -  Redistributing a Virtual System (VS) with the "vsx_util vsls" command fails on the "manually set priority and weight" menu option with a "Operation failed. Can't write to database" error

| Property | Value |
|----------|-------|
| Solution ID | sk179655 |
| Date Created | 2022-07-11 |
| Last Modified | 2022-11-08 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R81.10 (EOS), R81 (EOS) |
| OS | Gaia |
| Platform | Open Server |

## Symptoms

- * Setting a new weight for each VS in automatic mode fails with this error:

  "`Operation failed. Can't write to database.`"
* Debugging the *fwm* process on the Security Management Server or the main Domain Management Server during the operation with "`fw debug fwm on TDERROR_ALL_VSXM=5`" prints these errors:

  ```
  
   CSrvObj::ServerValidate: failed to ValidateOwnedObjects - Object Validation Failed
   E R R O R !!! Validation failed for Object 'VSX_CLUSTER_OBJ' @ 'network_objects': Validation error in field 'vsls_parameters' 
  at object 'VSX_CLUSTER_OBJ' @ 'network_objects' --> Validation error in field 'weight' at object 'VS_OBJ_NAME' @ '' --> 
  The value '0' is not in the list of valid values '1~100' (Object Validation Failed)
  
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30] vsx_slot_utils.cpp:5051>Internal error: Failed to write object 'VSX_CLUSTER_OBJ'
   to db with the following errors:
  num - '-2147467259'
  str - 'Unspecified error'
  msg - 'Validation error in field 'vsls_parameters' at object 'VSX_CLUSTER_OBJ' @ 'network_objects' --> 
  Validation error in field 'weight' at object 'VS_OBJ_NAME' @ '' --> The value '0' is not in the list of valid values '1~100''
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30]  vsls error: can't write mvs netobj to db
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30]  vsxm_convert_cluster_mode failed
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30] vsxm_cmd_handler::send_reply: Entering sendReply.
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30] vsxm_cmd_handler.cpp:206>Body is NULL
  [FWM 32766 4012226496]@HostName[15 Jun 21:48:30] vsxm_cmd_handler::send_reply: The following reply is about to be sent -
  Result is: Unspecified error
  IsLast: 1
  Reply body: (
          :vsx_status (65536)
          :vsx_stat_str ("Operation failed. Can't write to database.")
  )
  
  [FWM 32766]@HostName[15 Jun 21:48:30] VSX-150001 - convert/redistribute cluster operation - failed
  
  ```

  <br />

## Cause

Behavior change in versions R81 and R81.10.

<br />

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 79
* [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 77

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

<br />

---

# 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
