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

could not connect to /var/run/php-fpm.socket pfsense

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 487 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.
  • R
    rjcab
    last edited by rjcab Feb 22, 2024, 7:31 PM Feb 22, 2024, 7:28 PM

    Hello,

    I have an issue with Pfsense. I have two interfaces and one of them is an adaptater Ethernet USB3.0 for the LAN.

    net.jpg

    I got the message:

    I got 502 Bad Gateway, nginx message so I did 16) Restart PHP-FPM and it works for several minutes and then down again.
    I went to the log files and I saw a lot of:

    could not connect to /var/run/php-fpm.socket pfsense

    But something is strange, when I did Restart PHP-FPM I don't see any logs in var/log/nginx: cat error.log

    Feb 22 20:23:29 fw check_reload_status[64234]: Linkup starting ue0
    Feb 22 20:23:29 fw check_reload_status[64234]: Linkup starting ue0
    Feb 22 20:23:30 fw php-fpm[26595]: /rc.newwanip: Gateway, none 'available' for inet, use the first one configured. 'GW'
    Feb 22 20:23:30 fw php-fpm[26595]: /rc.newwanip: Gateway, NONE AVAILABLE
    Feb 22 20:23:30 fw php-fpm[26595]: /rc.newwanip: Resyncing OpenVPN instances for interface LAN.
    Feb 22 20:23:30 fw php-fpm[26595]: /rc.newwanip: Creating rrd update script
    Feb 22 20:23:32 fw php-fpm[50955]: /rc.newwanip: [squid] Installed but disabled. Not installing 'nat' rules.
    Feb 22 20:23:32 fw php-fpm[26595]: /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - 192.168.10.199 ->  192.168.10.199 - Restarting packages.
    Feb 22 20:23:32 fw check_reload_status[42021]: check_reload_status is starting.
    Feb 22 20:23:32 fw check_reload_status[42021]: Reloading filter
    Feb 22 20:23:33 fw php-fpm[50955]: /rc.newwanip: [squid] Installed but disabled. Not installing 'pfearly' rules.
    Feb 22 20:23:33 fw check_reload_status[42021]: Could not connect to /var/run/php-fpm.socket
    Feb 22 20:23:34 fw check_reload_status[42021]: Could not connect to /var/run/php-fpm.socket
    Feb 22 20:23:35 fw check_reload_status[42021]: Could not connect to /var/run/php-fpm.socket
    Feb 22 20:23:35 fw rc.php-fpm_restart[67273]: >>> Restarting php-fpm
    Feb 22 20:23:35 fw check_reload_status[68452]: check_reload_status is starting.
    Feb 22 20:23:40 fw php-fpm[68009]: /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules.
    Feb 22 20:23:41 fw php-fpm[68009]: /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules.
    [2.7.2-RELEASE][admin@fw.local.lan]/var/log/nginx: cat error.log 
    [2.7.2-RELEASE][admin@fw.local.lan]/var/log/nginx: 
    

    Do you think the adaptater which is well recongized may cause that issue ?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Feb 22, 2024, 8:42 PM

      What is logged in the system log when it fails?

      USB Ethernet is generally not recommended though.

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