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

    Upgrade to 2.2, failed to reboot.. Out of file descriptors… then bricked

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    9 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.
    • S
      sense1138
      last edited by

      Ran auto updater..  waited for it to upgrade,  waited for wan link to die..  never saw it die, found that strange..

      went back to status page, saw copyright updated to 2015 at bottom.. and it was complaining about SQLite missing for Captive Portal status page..

      check logs:

      lighttpd[60316]: (server.c.1558) server stopped by UID = 0 PID = 86416
      php: /reboot.php: The command '/usr/local/bin/beep.sh stop' returned exit code '2', the output was 'Out of file descriptors'
      check_reload_status: Syncing firewall
      php: /reboot.php: Stopping all packages.
      php: /reboot.php: The command '/usr/local/etc/rc.d/ntop.sh stop' returned exit code '2', the output was 'Out of file descriptors'

      Firewalls been running fine for weeks without issue, no other logs before that with anything strange in them.. just the daily DynDNS update.

      hard rebooted, since I couldn't SSH into it (it was closing connection).. and box never came back.

      Have to drag a monitor out there now..  didn't see anyone reporting any Sqllite issues related to captive portal,  and the out of file descriptors thing I could find was from 6+ months ago in the bug database, seems unrelated since its "Fixed".
      https://redmine.pfsense.org/issues/3749

      1 Reply Last reply Reply Quote 0
      • S
        sense1138
        last edited by

        and the bricking part is that it starts to boot and immediately says "BTX halted".  Whether on the upgraded hard drive install, or a fresh USB stick.

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Seems like most people having issues didn't remove their packages before update, as recommended.

          1 Reply Last reply Reply Quote 0
          • S
            sense1138
            last edited by

            I must have missed the section on the auto update page that warned to do anything beyond update.  :(

            WHich package would cause that?  Captive portal isnt an installed package, its default..  i had nmap as the only installed package.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              I wouldn't think nmap would crash it.

              1 Reply Last reply Reply Quote 0
              • S
                sense1138
                last edited by

                yeah im not sure..  Even a freshly made usb thumb drive couldn't boot, getting the BTX error.    so i made one with 2.1.5 on it,  booted up fine.. re-installed, now trying to restore original config.. will just stay off 2.2 for a while.

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  Sorry - Maybe they will 2.2.1 pretty quick.  I always worry about hardware falling off the support list with big OS updates.

                  My hardware is pretty old.  I'm waiting to be told one day "sorry - we don't support your ancient box anymore"

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joshy
                    last edited by

                    BTX errors have been linked to using SATA controllers that aren't set to AHCI in the system's BIOS for other FreeBSD installs (and derivatives).  What hardware are you using and can you check to see if your BIOS settings are set to AHCI for your controllers?

                    Also you might want to check for any BIOS updates that exist.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sense1138
                      last edited by

                      I'll have to take a look when I can shut it down again..  It had been working without issue on 2.1.5 with the current bios settings.. nothing was touched on the motherboard between 2.1.5 and 2.2.

                      The motherboard is pretty ancient, maybe 5 years old at this point.

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