• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

"502 Bad Gateway" - problem with PHP-FPM

Scheduled Pinned Locked Moved webGUI
1 Posts 1 Posters 345 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    LeoRapoport
    last edited by Dec 7, 2021, 8:43 PM

    Hi folks,

    Forgive me if this question has been asked before/recently but I have found myself locked out of the Web GUI for some time now. The error presents immediately after I submit credentials.

    Restarts have no effect and my scenario doesn't seem like the posts I have found online where the "502 Bad Gateway" message appears only after some uptime. In this case, it is constant and happens instantly after boot.

    I did some digging and determined that the PHP-FPM child process is throwing an error whenever I hit the "Login" button:

    WARNING: [pool www] child 96405 said into stderr: "pfctl: /dev/pf: Permission denied"

    My understanding is that permissiosn on /dev/pf control "who" is allowed to make changes to firewall rules, so I am reluctant to start monkeying around with these permissions. Has anyone run into an error like this before?

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received