Rocky Linux 9 15
- Fix 403 Forbidden on a Web Folder with SELinux Labels on Rocky 9
Permissions look right but a new folder returns 403? Check the file label with ls -Z, then make it permanent with semanage fcontext and restorecon.
Rocky Linux 9 · based on RHEL 9 SELinux docs · 2026-10 - Open a Port with firewalld on Rocky Linux 9
Add a port with firewall-cmd --permanent, apply it with --reload, and verify it. If Connection refused remains, use ss to check whether anything is listening.
firewalld docs and RHEL 9 docs (same family as Rocky 9) · 2026-10 - Fix Rocky 9 dnf "repomd.xml GPG signature verification error"
Rocky 9 dnf "repomd.xml GPG signature verification error: Bad GPG signature" means metadata and signature do not match. Run dnf clean all, then suspect a proxy.
Rocky Linux 9.3 (Docker) · dnf 4.14.0 · gnupg2 2.3.3 · 2026-10 - Fix Rocky 9 nginx bind() to 8081 failed (13: Permission denied)
Rocky 9 nginx "bind() to 0.0.0.0:8081 failed (13: Permission denied)": if SELinux is enforcing and logs a name_bind AVC, label the port http_port_t.
Rocky Linux 9 · nginx 1.20.1 · policycoreutils 3.6 (Docker · SELinux off) · RHEL 9 SELinux docs · 2026-10 - Fix httpd AH00558 Could not reliably determine FQDN on Rocky 9
Silence AH00558 on Rocky 9 httpd with one global ServerName file in /etc/httpd/conf.d/. A VirtualHost ServerName is not enough; an FQDN hostname also works.
Rocky Linux 9.8 (Docker rockylinux:9) · httpd 2.4.62 · 2026-10 - Fix nginx 502 php-fpm www.sock failed (13: Permission denied)
nginx 502 with www.sock failed (13: Permission denied) means the worker user cannot write to the PHP-FPM socket. Add it to listen.acl_users or set listen.owner.
Rocky Linux 9.8 (Docker rockylinux:9) · nginx 1.20.1 · PHP-FPM 8.0.30 · 2026-10 - Enable HTTPS on Rocky Linux 9 httpd with mod_ssl
On Rocky 9, mod_ssl plus an httpd restart opens 443 with a self-signed localhost.crt. Swap in your certificate via two ssl.conf lines and check httpd -t.
Rocky Linux 9.8 (Docker rockylinux:9) · httpd 2.4.62 · mod_ssl 2.4.62 · 2026-10 - Fix Rocky 9 dnf "Failed to set locale, defaulting to C.UTF-8"
Rocky 9 dnf warns "Failed to set locale, defaulting to C.UTF-8" when LANG or LC_ALL names a missing locale. Install a glibc-langpack or use C.UTF-8.
Rocky Linux 9.3 · dnf 4.14.0 · glibc 2.34 (Docker) · 2026-10 - Enable the Rocky Linux 9 security repo (not in updateinfo)
Rocky 9's security repo ships disabled in rocky-repos 9.8. How to enable it, what it holds, and why dnf --security misses it: it has no updateinfo metadata.
Rocky Linux 9.8 (rocky-repos 9.8-1.2) · dnf 4.14 (Docker) · 2026-10 - Fix Rocky 9 dnf "Error: Unable to find a match"
Rocky 9 dnf "Error: Unable to find a match" means no enabled repo has that name. Check EPEL, CRB, command names, and excludes with repolist and provides.
Rocky Linux 9.3 · dnf 4.14.0 · epel-release 9-10 (Docker) · 2026-10 - Rocky 9 "Hash algorithm SHA1 not available": third-party repos
Rocky 9 "Hash algorithm SHA1 not available" means a third-party package is signed with SHA-1. Get the vendor's new key before you lower the crypto policy.
Rocky Linux 9 (Docker) · rpm 4.16.1.3-40 · crypto-policies 20260224 · 2026-10 - dnf needs-restarting -r: reboot needed after update? (Rocky 9)
After a dnf update on Rocky 9, dnf needs-restarting -r exits 1 when a reboot is required; this covers which packages count and how to find services to restart.
Rocky Linux 9.3 (Docker) · dnf-plugins-core 4.3.0-26.el9 · 2026-10 - Fix "Failed to download metadata for repo" in dnf on Rocky 9
Read the repo ID and URL from the error, clear the cache, then check the failing URL with curl to tell a mirror 404, a missing signature file and a proxy error.
DNF docs (conf_ref · command_ref) · EPEL issue #264 · as of 2026-10; not run on Rocky 9 - See which process is listening on a port
List listening TCP sockets with their processes, narrow to one port, and check that firewalld lets that port through.
ss (iproute2) · Ubuntu 24.04 output · firewalld per RHEL 9 and firewalld docs (same family as Rocky 9) - Fix Nginx proxy blocked by SELinux on Rocky Linux 9
Tell whether a 502 and a Permission denied in error.log come from SELinux, fix it with a boolean, and label a custom document root.
Rocky Linux 9 · per RHEL 9 SELinux documentation · 2026-10