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

# sk183031 - Gaia database lock on a Maestro Security Group configured with Management Aggregation (MAGG) is lost when using API or Gaia gClish to add a new Management interface to the Security Group

| Property | Value |
|----------|-------|
| Solution ID | sk183031 |
| Date Created | 2025-01-15 |
| Last Modified | 2025-11-05 |
| Technical Level | General |
| Products | Scalable Platforms |
| Versions | R82.10, R82 |
| OS | Gaia |

## Symptoms

- * If a Maestro Security Group (in the VSNext mode or Traditional VSX mode) is configured with Management Aggregation (MAGG), then adding a new Management interface to this Security Group in Gaia gClish or with API may fail because the Gaia database lock is continuously lost. During this issue, the `/var/log/messages` file repeatedly shows:

  `
  cmd by admin: Start executing : add bonding ...`  
  `
  cmd by admin: Start executing : delete bonding ...
  `
* You cannot run gClish commands because of the missing lock. The issue persists after you run the "`lock database override`" command.

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R82](https://sc1.checkpoint.com/documents/Jumbo_HFA/R82/Default.htm) starting from Take 44

If you choose not to upgrade, do not use Gaia API or gClish to create a Maestro Security Group configured with Management Aggregation (MAGG). To create a Maestro Security Group configured with Management Aggregation (MAGG), use the Gaia Portal.

**Workaround** :  

If the issue occurs on an existing Maestro Security Group, then run this command in the Expert mode on each Maestro Security Group:  

`
grep -q MAGG_AUTO_JOIN_FLAG /etc/init.d/smartd || { echo Patching && sed -i '/^[^#]*\update_mgmt_interface_following_sgdb_change/s/^/#/' /etc/init.d/smartd && echo Success && service smartd stop && service smartd start; };`

---

# 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
