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

PHP Error: Type 64: Failed opening required 'haproxy/haproxy.inc'

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 509 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.
  • A
    acdsosys
    last edited by Feb 26, 2022, 2:39 PM

    I've tried searching the forum for help but as I couldn't find anything I've posted this, apologies if it has already been covered.

    I'm still relatively new to pfSense so please bear with me if this seems trivial.

    I have 2 Dell Optiplex 7010 SFF pc's, both running pfSense (headless for the active unit)
    'A' is currently in operation as my router/firewall with everything on a single subnet xxx.xxx.7.1
    'B' is currently undergoing reassignment as I now want to split the various groups of devices onto separate subnets (wifi, peripherals, pc's, etc)
    Plan is, once I have 'B' working, I will swap it with 'A'. I'll then use a config backup of 'B' to update 'A' before returning 'A' to active duty.
    I am currently receiving the following error every time I boot up 'B'

    13:47:51 PHP ERROR: Type: 64, File: Standard input code, Line: 4, Message: require_once(): Failed opening required 'haproxy/haproxy.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/')

    I did have HAProxy installed at one point but it proved to complicated for me currently, so uninstalled it.
    I also had Suricata loaded but have since found out it's overkill for a basic home user, so also removed that.
    I also got as far as having HA active to the point of 'A' and 'B' syncing but as I only have a single public IP and don't actually want both units operational at the same time, I reset everything back as it was.

    I have looked in the config.xml file and there are still entries in there relating to HAProxy and Suricata even though they were removed prior to the latest config backup.

    I will point out both were installed when I was running 2.5 CE, I'm now running 22.01+ having upgraded via 2.6 CE

    Does this error have something to do with the entries in the config file?
    Can I simply delete the various sections from the .xml file and reload it?
    Would I be better off doing a complete re-install of 2.6, effectively starting again from scratch?

    Many thanks

    1 Reply Last reply Reply Quote 0
    • J jimp moved this topic from Problems Installing or Upgrading pfSense Software on Feb 26, 2022, 4:22 PM
    • S
      stephenw10 Netgate Administrator
      last edited by Feb 27, 2022, 3:54 PM

      Mmm, that looks like something still referencing the uninstalled package for some reason.

      I would try installing it again and uninstalling it first.

      There will be entries in the config file even if it has been uninstalled correctly as the HAProxy config is retained in case it is ever reinstalled.
      It's possible to remove config from the file manually but I wouldn't advise it.
      If re-uninstalling the package doesn't the next thing I would do is install 2.6 clean and restore the existing config.

      Steve

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