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

    ERROR "Failed opening required 'Net/IPv6.php' " - HELP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    8 Posts 3 Posters 2.2k 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.
    • chudakC
      chudak
      last edited by

      Hello,

      I use version 2.4.4 and updated several packages before updating to 2.4.5. I actually was waiting for next point release to avoid current problems.

      (Note: Why incompatible packages even offered via UI Package Manager? I think this is a missing feature and packages with incomparable versions should not be even available for updates. )

      Then I saw pfBlockerNG-devel to 2.2.5_30 available for update and after reading about problem from other people upgrading to 2.4.5 thought it would be good idea to update it (since I already updated to pfBlockerNG-devel to 2.2.5_29).

      Till this point my router and pfSense had no problem expect I did not see version updated on UI https://imgur.com/a/gw9hQOW.

      @jimp suggested that this can be due to DNS issues.

      Since the only thing I did was pfBlockerNG-devel to 2.2.5_30 update, I decided to remove it and reinstall (keeping settings)

      And there problems started !

      No access to UI

      PHP ERROR: Type: 64, File: /etc/inc/config.inc, Line: 51, Message: require_once(): Failed opening required 'Net/IPv6.php' (include_path='.:/etc/inc:/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 still have access via SSH and router seem functinaly.

      Please help!

      @jimp
      @BBcan177

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        There s some good news :
        2.4.5 is rock solid.
        So :
        Make a copy of your config.
        Do a clean install (make that USB key, boot from it etc).
        Assign LAN and WAN from console access.
        Make WAN work if it's not DHCP (for example, PPPOE, use the GUI for this).
        When WAN is up : import your config using GUI.
        Reboot.
        Et voilà !!
        You just finished the crash course pfSense re install test - always a good thing to know. Now your ready for it the next item - if it ever happens again.

        Will you wiat for the install (5 minutes) : look here : https://www.youtube.com/watch?v=2ch-QyQsVDY ( an news bulletin on CNN will follow ) or look at the https://www.netgate.com/blog/pfsense-2-4-5-release-now-available.html (+ articles mentioned)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        chudakC 1 Reply Last reply Reply Quote 0
        • chudakC
          chudak @Gertjan
          last edited by

          @Gertjan said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:

          There s some good news :
          2.4.5 is rock solid.
          So :
          Make a copy of your config.
          Do a clean install (make that USB key, boot from it etc).
          Assign LAN and WAN from console access.
          Make WAN work if it's not DHCP (for example, PPPOE, use the GUI for this).
          When WAN is up : import your config using GUI.
          Reboot.
          Et voilà !!
          You just finished the crash course pfSense re install test - always a good thing to know. Now your ready for it the next item - if it ever happens again.

          Will you wiat for the install (5 minutes) : look here : https://www.youtube.com/watch?v=2ch-QyQsVDY ( an news bulletin on CNN will follow ) or look at the https://www.netgate.com/blog/pfsense-2-4-5-release-now-available.html (+ articles mentioned)

          Is there a way to do some updates via ssh command lines only?
          I want to stay on 2.4.4 ATM

          1 Reply Last reply Reply Quote 0
          • chudakC
            chudak
            last edited by

            Tried
            16) Restart PHP-FPM
            via ssh

            and
            11) Restart webConfigurator

            and
            12) PHP shell + pfSense tools

            Enter an option: 15

            Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
            Stack trace:
            #0 /etc/inc/functions.inc(32): require_once()
            #1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
            #2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
            #3 /etc/rc.restore_config_backup(23): require_once('/etc/inc/config...')
            #4 {main}
            thrown in /etc/inc/certs.inc on line 46

            Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
            Stack trace:
            #0 /etc/inc/functions.inc(32): require_once()
            #1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
            #2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
            #3 /etc/rc.banner(24): require_once('/etc/inc/config...')
            #4 {main}
            thrown in /etc/inc/certs.inc on line 46

            Wonder did I do so wrong trying to uninstall a package that the overall pfSense system is so badly damaged?

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              Your PHP library files are conflicting.

              That package installed new versions.
              Your pfSense is using older - same library files - version.
              A conflict is born.
              A manual way out is possible, but it's IMHO, pure madness to do so.

              Btw : I can't really see any difference between the latest 2.4.5-RC and 2.4.5-Release.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.

                This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                chudakC 2 Replies Last reply Reply Quote 0
                • chudakC
                  chudak @jimp
                  last edited by

                  @jimp said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:

                  At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.

                  This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.

                  @jimp
                  I am at bad state now, in addition to having issues with the router, I lost my laptop and I had my router back there.

                  I used the option to do automatic backup but don't remember how to get it. Pls remind me. Is it possible? (I think it used to be a way to login and get it IIRC)

                  Also you suggest using 2.4.5 even tho I used and crashed on 2.4.4?

                  Thx

                  1 Reply Last reply Reply Quote 0
                  • chudakC
                    chudak @jimp
                    last edited by

                    @jimp said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:

                    At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.

                    This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.

                    @jimp
                    @Gertjan

                    Can you please see that nothing is missed here ?

                    https://forum.netgate.com/topic/151956/restore-pfsense-setting-during-usb-stick-setup

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.