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

# sk158232 - "Upgrade operation failed for [VS Name]" error when 'vsx_util upgrade' fails for one or more Virtual Systems

| Property | Value |
|----------|-------|
| Solution ID | sk158232 |
| Date Created | 2019-07-14 |
| Last Modified | 2019-07-16 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * 'vsx_util upgrade' fails on one or more Virtual System with error:  

  `" Upgrade operation failed for <VS Name>"`

* Output of FWM debug (fw debug fwm on TDERROR_ALL_VSXM=5) is showing:  

  `[FWM PID]@management1[DATE TIME] vsx_slot_utils.cpp:4593 Internal error: Failed to write object 'INTERNAL-vs' to db with the following errors: `  
  `
  num - '0'`  
  `
  str - 'The Operation Finished Successfully' `  
  `
  msg - 'Object 'INTERNAL-vs' is locked by another session.' `  
  `
  `

## Cause

There is a LOCK on the VS in question found within the SmartConsole which manages the gateways or VS, causing a database read/write error.

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