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

# sk169594 - cp_log_export commands fail with "grep: this version of PCRE is compiled without UTF support" error

| Property | Value |
|----------|-------|
| Solution ID | sk169594 |
| Date Created | 2020-09-28 |
| Last Modified | 2025-06-30 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82, R81.20, R81.10 (EOS) |

## Symptoms

- * The *cp_log_export* commands fail with this error:  

  "*grep: this version of PCRE is compiled without UTF support*".

* This command returns the same error.:  

  *grep -oP '(?\<=).\*?(?=)' /dev/null*

## Cause

Check Point's *cp_log_export* command runs the script with the "P" flag in the *grep* command. The "P" flag interprets the patterns as Perl-compatible regular expressions (PCRE).

In addition, this error can appear if the user's default shell was changed to a shell other then */etc/cli.sh* or */bin/bash* .  

<br />

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