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

Bootup: Fatal Error Uncaught Error Stack trace

Scheduled Pinned Locked Moved General pfSense Questions
7 Posts 3 Posters 628 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.
  • F
    fnarq
    last edited by May 6, 2019, 4:51 PM

    Hi, yesterday I rebooted my pfSense 2.4.4.p2 bare metal minipc install, and I wasn't able to reconnect to it afterwards. Towards the end of yesterday's troubleshooting, I definitely gave it a couple hard shutdowns. Today,I connected KB & monitor to it, and am seeing:

    Fatal Error: Uncaught Error: Call to undefined function gettext() in /etc/line/certs.inc: 46
    Stack trace: thrown in /tec/inc/certs.inc on line 46

    ... followed by a ton of PHP errors. Seems like no network interfaces are up, and the console menu takes my input but won't execute any commands.

    Any thoughts what to try to fix this? Thanks in advance!

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by May 6, 2019, 5:14 PM

      The fastest and easiest fix would be to reinstall.

      If it was up and running OK before the reboot, it could be a filesystem or disk issue.
      If you upgraded it and it stopped just after, it could be an incomplete or otherwise failed upgrade.

      Either way, reinstalling is the safest path forward.

      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 1
      • F
        fnarq
        last edited by May 7, 2019, 1:39 PM

        Thanks Jim.

        I reinstalled, restored the config and am back in service.

        That box is on UPS, connected via USB and running NUT besides. I don't feel like there was a power surge that could have affected the disk. I am also using ZFS because I have read that it's more resilient to rough treatment.

        I just ran a short SMART test and it completed without error. So... gremlins or cosmic rays?

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by May 7, 2019, 3:25 PM

          Difficult to say, not enough information.

          ZFS is more resilient, but it can still have issues in the right (wrong?) circumstances.

          SMART can be helpful but a pass from it doesn't always mean the drive is OK. It's prone to false negatives. (You can trust errors it shows, but error-free doesn't necessarily mean the disk is good)

          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
          • C
            conor
            last edited by May 8, 2019, 1:26 PM

            I create ZFS snapshots after upgrades as have plenty of space on the SSD.

            I understand there isn't enough information but am curious what your thoughts on this would be:

            The above errors are PHP so would be in the /etc/rc.bootup stage so FreeBSD would be up and ZFS mounted, so does it make sense to have the start of rc.bootup create say a 3 second console prompt to drop straight to a FreeBSD shell to access zfs snapshots or does that open a security hole.

            200+ pfSense installs - best firewall ever.

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by May 8, 2019, 1:30 PM

              You can use the boot menu to select single user mode if you need to make those kinds of changes.

              The errors you saw were PHP errors but the problem is that it couldn't find gettext() which is provided by a PHP module. If that is missing, it could be from several causes:

              • The file is missing or corrupt, likely due to a filesystem or disk issue
              • The package containing that module is not installed, or it is not the expected version, likely due to an incomplete or failed upgrade

              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!

              C 1 Reply Last reply May 8, 2019, 1:32 PM Reply Quote 1
              • C
                conor @jimp
                last edited by May 8, 2019, 1:32 PM

                @jimp said in Bootup: Fatal Error Uncaught Error Stack trace:

                You can use the boot menu to select single user mode if you need to make those kinds of changes.

                Thanks

                200+ pfSense installs - best firewall ever.

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