---
title: "SELinux prevents using the execmem access on a process"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-troubleshooting-syslog-ng/troubleshooting-selinux-issue-creating-parsers/"
last_modified: "2026-05-20T14:14:14+02:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# SELinux prevents using the execmem access on a process

If you are using a recent enough PCRE library, AxoSyslog will automatically use the JIT of the regexp engine, which will result in a similar error:

```shell
   setroubleshoot [21631 ] : SELinux is preventing <syslog-ng path> from using the execmem access on a process. (...)

    python [21631 ] : SELinux is preventing <syslog-ng path> from using the execmem access on a process.
```

To resolve this issue, switch off the PCRE JIT compile function by using the [disable-jit](https://axoflow.com/docs/axosyslog-core/4.28/chapter-manipulating-messages/regular-expressions/reference-regexp-types/index.md#pcre-flags) `flags()` option in the given filter or rewrite rule of your configuration.

Last modified May 20, 2026: [Link fix (76e495d8)](https://github.com/axoflow/axosyslog-core-docs/commit/76e495d89007c2f6fb849621d0c3bacc95211e61)
