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

# sk183503 - In Centrally Managed Spark Firewall, the "cpstat" command returns the error "Failed to establish session with AMON server at 127.0.0.1:18192"

| Property | Value |
|----------|-------|
| Solution ID | sk183503 |
| Date Created | 2025-06-01 |
| Last Modified | 2025-07-29 |
| Technical Level | General |
| Products | Spark Firewall (Locally Managed) |
| Versions | R81.10.X |
| Platform | 1570R, 1575R, 1500, 1900, 2000, 1600, 1800, 1595R |

## Symptoms

- * The cpstat command returns this error message: *"Failed to establish session with AMON server at 127.0.0.1:18192"*

* The log entries in the */var/log/messages* file indicate that the sfwd daemon was restarted.

  > `user.notice fw: [SFWD]: sfwd crashed due to corrupted logs. Logs were deleted! `  
  > `
  > user.notice fw: [SFWD]: dictionaries failed to load due to malformed logs. Logs were deleted! `
* The sfwd daemon is not stable. After enabling sfwd debug as per [sk113090](https://support.checkpoint.com/results/sk/sk113090), the following similar line appears in the *sfwd.elg* log file.

  > `CBinaryLogFile::ReadLog: failed to find FileIdFormat=8263 in m_FormatIdFileToMem, malformed log in file /cplogs/local/5/cp.log `  
  > `
  > CBinaryLogFile::ReplaceFileToMemStringID: error - can't get mem string id `  
  > `
  > logs_protection_signal_handler: CRPTLG SIGSEGV/SIGABRT received due to CURRUPTED LOGS!!!
  > backup_logs: CRPTLG statfs failed `

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect these files:  

[CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Security Gateway / each Cluster Member involved in the case.  

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).

---

# 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
