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

# sk171041 - "fw logswitch -h" command on the Log Server / Domain Log Server fails with "Failed to connect"

| Property | Value |
|----------|-------|
| Solution ID | sk171041 |
| Date Created | 2020-12-16 |
| Last Modified | 2025-07-13 |
| Technical Level | Advanced |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82, R81.20, R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS), R81.20, R82 |

## Symptoms

- * The "`fw logswitch -h <IP Address or Name of Security Gateway Object>`" command on the dedicated Log Server / Domain Log Server fails with "`Failed to connect`" message.

* The "`fw logswitch -h <IP Address or Name of Security Gateway Object>`" command on the Security Management Server / Domain Management Server works as expected.

* The FWD debug on the dedicated Log Server / Domain Log Server ([sk86321](https://support.checkpoint.com/results/sk/sk86321)) during this issue shows:

  `[...]@HostName[DATE TIME] Warning: Could not find object - <IP Address of Security Gateway>`  
  `
  [...]@HostName[DATE TIME] Warning: Could not find SIC name for <IP Address of Security Gateway>`  
  `
  [...]@HostName[DATE TIME] logswitch: filename == <null>, server == <IP Address of Security Gateway>, sicname == <null>`  
  `
  [...]@HostName[DATE TIME] --> 0xXXX CLogswitchClientController::doLogswitch`  
  `
  [...]@HostName[DATE TIME] Warning: no server SIC name supplied`  
  `
  [...]@HostName[DATE TIME] filename == XXX, server == <IP Address of Security Gateway>, sicname == <null>, type == log`  
  `
  [...]@HostName[DATE TIME] fwclient_do_connect_e: server <IP Address of Security Gateway> port 0 sicname N/A`  
  `
  [...]@HostName[DATE TIME] fwclient_do_connect_e: hostname <IP Address of Security Gateway> hostsicname N/A addr <IP Address of Security Gateway>`  
  `
  ...`  
  `
  [...]@HostName[DATE TIME] sic_client_do_connect: no server sic name supplied, server sic name is unknown.`

## Cause

Objects of type "Host" are configured with the IP address of the Security Gateway object.

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