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

# sk170816 - Management HA synchronization fails with "Failed to obtain shared licenses" error

| Property | Value |
|----------|-------|
| Solution ID | sk170816 |
| Date Created | 2021-01-04 |
| Last Modified | 2022-01-30 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Symptoms

- * "*Synchronization error - \<Standby Management Server hostname\> - Failed to obtain shared licenses* " error on Management HA synchronization failure.  

* The *$FWDIR/log/fwm.elg* file on the standby management server shows it failed to create the */opt/CPsuite-R8X.XX/fw1/log/mgha* directory:  

  `[FWM ...]@SecondaryMGMT[DATE TIME] Create emtpy dir /opt/CPsuite-R80.40/fw1/log/mgha/41e821a0-3720-11e3-aa6e-0800200c9fde/lic{9486BCA7-93D9-4902-A5B2-1F451E627F74}`  
  `[FWM ...]@SecondaryMGMT[DATE TIME] `**Failed to create /opt/CPsuite-R80.40/fw1/log/mgha/**`41e821a0-3720-11e3-aa6e-0800200c9fde/lic{9486BCA7-93D9-4902-A5B2-1F451E627F74} directory `  
  `[FWM ...]@SecondaryMGMT[DATE TIME] Create emtpy dir /opt/CPsuite-R80.40/fw1/log/mgha/41e821a0-3720-11e3-aa6e-0800200c9fde/cntrct{9486BCA7-93D9-4902-A5B2-1F451E627F74}`  
  `[FWM ...]@SecondaryMGMT[DATE TIME] Failed to create /opt/CPsuite-R80.40/fw1/log/mgha/41e821a0-3720-11e3-aa6e-0800200c9fde/cntrct{9486BCA7-93D9-4902-A5B2-1F451E627F74} directory `  
  `[FWM ...]@SecondaryMGMT[DATE TIME] Copy /opt/CPshrd-R80.40/conf/cp.license to /opt/CPsuite-R80.40/fw1/log/mgha/41e821a0-3720-11e3-aa6e-0800200c9fde/lic{9486BCA7-93D9-4902-A5B2-1F451E627F74}`  
  `[FWM ...]@SecondaryMGMT[DATE TIME] Failed to copy /opt/CPshrd-R80.40/conf/cp.license to /opt/CPsuite-R80.40/fw1/log/mgha/41e821a0-3720-11e3-aa6e-0800200c9fde/lic{9486BCA7-93D9-4902-A5B2-1F451E627F74}`

## Cause

The FWM process failed to create a sub-directory under *$FWDIR/log/mgha*. This may happen due to wrong redirection of this path to a non-existing path.

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