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

# sk98096 - Policy installation fails with "TCP connection failure port=18191 [error no. 10]" and "Load on Module failed - no memory"

| Property | Value |
|----------|-------|
| Solution ID | sk98096 |
| Date Created | 2014-01-07 |
| Last Modified | 2022-12-13 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81.20, R81 (EOS), R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS), R81.20 |

## Symptoms

- * Policy installation fails with error:  
  `
  Installation failed. Reason: TCP connection failure (port=18191)(IP= `*IP_address_of_Security_Gateway* `) [error no. 10]`  
  `
  Load on Module failed - no memory`   

* Fetching policy on the Security Gateway under debug ('`fw -d fetch `*IP_address_of_MGMT_Server*') shows incorrect Security Gateway's HostName:

  ```
  
  Fetching FW1 Security Policy From:
  get_policy: Explicit IP is used. This IP can take precedence in the fetch .
  get_server_info_for_fetch: an IP (Hex_IP_Address) with precedence was found
  opsec_init_entity_sic: called for the client side
  opsec_init_entity_sic: Authentication not initialized...
  opsec_init_entity_sic: in a CP product - no rules added to SIC
  ......
  Could not find info for ...opsec_client...
  opsec_get_comm: Creating session hash (size=256)
  opsec_get_comm: ADDING comm=(Hex_IP_Address to ent=(Hex_IP_Address with key=2
  resolver_gethostbyname: Performing gethostbyname for Gateway_HostName
  ...
  fwasync_connect_timeout: X timedout
  opsec_auth_client_connected: connection to server failed.
  ......
  comm failed to connect 0x...
  OPSEC_SET_ERRNO: err =  8  Comm is not connected/Unable to connect (pre =  0)
  ......
  Reason: TCP connectivity failure ( port = 18191 )( IP = IP_address_of_MGMT_Server )[ error no. 10 ].
   Policy Fetch Failed
  ```

* Rebooting the Security Gateway may resolve the issue for a while.

## Cause

Machine's hostname configured in the `/etc/hosts` file on the Security Gateway differs from the name of the Security Gateway object in SmartConsole.

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