Apache cannot be started if SELinux is in enforcing mode: (13)Permission denied:

Started by Suhitha, Sep 26, 2025, 02:37 AM

Previous topic - Next topic

Suhitha

Question: Apache cannot be started if SELinux is in enforcing mode: (13)Permission denied: AH00072: make_sock: could not bind to address 127.0.0.1:7080


Applicable to:

  • Plesk for Linux


Symptoms

1.Plesk is on AlmaLinux 9 or 10

2.Apache cannot be started if SELinux is in enforcing mode, with the following error appearing in journalctl -xeu httpd.service:

Sep 12 17:20:23 httpd[6363]: (13)Permission denied: AH00072: make_sock: could not bind to address 127.0.0.1:7080
Sep 12 17:20:23 httpd[6363]: no listening sockets available, shutting down


Cause

Product issue:

  • #PPP-69515 "Fixed the issue where, on Plesk servers running AlmaLinux 10, and especially on newly installed Plesk Obsidian 18.0.72 servers, the Plesk selinux policy sometimes would not load."
Fixed in:

  • Plesk Obsidian 18.0.72 Update 3 16 September 2025 (Linux)


Resolution

Update Plesk:

How to install Plesk updates


Workaround

If update is not possible for any reason:

Workaround
As a workaround, switch SELinux to permissive mode:

1.Connect to the server via SSH

2.Switch SELinux to permissive mode:

# setenforce 0