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

    Net/IPv6.php failed and broken package updater

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    3 Posts 2 Posters 1.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.
    • darkgamer120D Offline
      darkgamer120
      last edited by

      Hello, I have an SG-1000 from Netgate. I was trying to remove the extra package bind from my SG-1000 as I use Unbound and it was at the point of removing stale packages or something and it took forever so I clicked off of it. Oops. Now any site in the web navigator has lovely PHP errors all over it. Example:
      Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /etc/inc/config.inc on line 51 Fatal error: 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') in /etc/inc/config.inc on line 51 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') Warning: fopen(): Filename cannot be empty in /etc/inc/notices.inc on line 72 Fatal error: Call to undefined function gettext() in /etc/inc/notices.inc on line 74

      So I tried restarting the web navigator and php-fpm, yeah spits out a shit ton of errors there too.
      Enter an option: 11

      Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /etc/inc/config.inc on line 51

      Fatal error: 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') in /etc/inc/config.inc on line 51

      Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /etc/inc/config.inc on line 51

      Fatal error: 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') in /etc/inc/config.inc on line 51

      and the PHP-FPM part,
      Enter an option: 16

      Killing check_reload_status
      Killing php-fpm
      Starting php-fpm
      Starting check_reload_status
      nice: /usr/local/sbin/check_reload_status: No such file or directory

      Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /etc/inc/config.inc on line 51

      Fatal error: 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') in /etc/inc/config.inc on line 51

      so I was like fuck so I did some Googling and it says to do pkg update -f to re-install all packages, we got a problem there too. :(
      2.4.0-BETA][admin@archer.athome]/root: pkg update -f
      pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
      No active remote repositories configured.

      I even tried to upgrade to the latest stable 2.4.x version, as I'm still on a snapshotted 2.4-BETA,
      Enter an option: 13

      /bin/sh: cannot open /usr/local/sbin/pfSense-upgrade: No such file or directory

      Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /etc/inc/config.inc on line 51

      Fatal error: 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') in /etc/inc/config.inc on line 51

      Please help me :'(  >:(

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

        Your fastest and safest course of action would be to reinstall using the recovery image. You can find a link to that by logging into the portal.

        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!

        1 Reply Last reply Reply Quote 0
        • darkgamer120D Offline
          darkgamer120
          last edited by

          Alright, i figured as much.  :-\

          Thanks.  8)

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