Articles in this section

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

kb: bug kb: fixed Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk is on AlmaLinux 9 or 10
  • 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

This is Plesk bug with ID PPP-69564 that will be fixed in Plesk update 73.

Resolution

As a workaround, switch SELinux to permissive mode:

  1. Connect to the server via SSH
  2. Switch SELinux to permissive mode:

    # setenforce 0

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.