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

    Update failed with HAVP and too small /tmp RAM disk

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 3 Posters 1.5k 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.
    • peteP
      pete
      last edited by

      Thank you  doktornotor.

      I downgraded back to pfSense-Full-Update-2.2.3-RELEASE-amd64.tgz and was fine until I tried the upgrade again.

      Now I am stuck again relating to my backup configurations?

      I did a backup of my configuration before I updated.

      The backup xml file saids its version 11.9 which was the first one with the RAM enabled.

      I kept doing backups and later xml versions state 11.7.

      I am still stuck even though it appears to be booting to version 2.2.3.

      Still stopping here while starting 2.2.3 at loading the NTP client.

      I was able to earlier downgrade and boot to version 2.2.3 with no issues.

      • Pete

      Auto mater
      23.09.1-RELEASE (amd64)
      built on Mon Dec 11 12:24:00 CST 2023
      FreeBSD 14.0-CURRENT
      PFSense + Qotom - Master
      PFSense + Jetway - Backup
      PFSense + Jetway - Backup
      PFSense + Generic - Backup

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Uhm… if you are running out of space in /tmp because you have moved it to ramdisk, then either increase the size considerably, or simply do NOT move things to ramdisk. This really has nothing to do with 2.2.4 nor any other pfSense version.

        1 Reply Last reply Reply Quote 0
        • peteP
          pete
          last edited by

          Understood doktornotor.

          Yup originally went to 100Mb on /var and /tmp.  Its been fine except when I went to update it ran out of space in /tmp.

          That said downgrading back to 2.2.3 and it is updating the packages installed with no issues right now.

          Console booted up fine just now after the upgrading.

          Packages that were installed have been the same now for a while.

          Snort3, Squid, HAVP AV and a fail over gateway.

          Only change over the last few months has been to use RAM.

          I will leave the use of RAM off reboot a couple of times, back up configuration and try the update again….later though as I do not currently want to deal with this...

          Thinking it has been only the issue of using RAM and setting it to 100Mb.

          CPU, Memory and HD space are all fine.  Concerned here about the 100% usage which appears to be not an issue though eh?

          $ df -h
          Filesystem     Size    Used   Avail Capacity  Mounted on
          /dev/ad6s1a     64G    4.9G     54G     8%    /
          devfs          1.0K    1.0K      0B   100%    /dev
          /dev/md0       3.4M    168K    3.0M     5%    /var/run
          devfs          1.0K    1.0K      0B   100%    /var/dhcpd/dev
          /dev/md10      958M     12K    881M     0%    /var/tmp/havpRAM
          procfs         4.0K    4.0K      0B   100%    /proc
          

          sysinfo2.gif_thumb
          sysinfo2.gif
          sysinfo-1.gif_thumb
          sysinfo-1.gif

          • Pete

          Auto mater
          23.09.1-RELEASE (amd64)
          built on Mon Dec 11 12:24:00 CST 2023
          FreeBSD 14.0-CURRENT
          PFSense + Qotom - Master
          PFSense + Jetway - Backup
          PFSense + Jetway - Backup
          PFSense + Generic - Backup

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            @pete:

            Concerned here about the 100% usage which appears to be not an issue though eh?

            $ df -h
            Filesystem     Size    Used   Avail Capacity  Mounted on
            /dev/ad6s1a     64G    4.9G     54G     8%    /
            devfs          1.0K    1.0K      0B   100%    /dev
            /dev/md0       3.4M    168K    3.0M     5%    /var/run
            devfs          1.0K    1.0K      0B   100%    /var/dhcpd/dev
            /dev/md10      958M     12K    881M     0%    /var/tmp/havpRAM
            procfs         4.0K    4.0K      0B   100%    /proc
            

            devfs is NOT the issue ;)

            1 Reply Last reply Reply Quote 0
            • peteP
              pete
              last edited by

              Rebooted 2.2.3 twice and all is well except for the tickle to update.

              Other than shutting off RAM use and backing up my configuration before the update are there any other recommendations suggested?

              I understand this is a larger package.

              I have not had any issues updating PFSense over the last year or so.

              Should I disable or remove any of the packages installed?

              It's not a big deal to reconfigure them.

              • Pete

              Auto mater
              23.09.1-RELEASE (amd64)
              built on Mon Dec 11 12:24:00 CST 2023
              FreeBSD 14.0-CURRENT
              PFSense + Qotom - Master
              PFSense + Jetway - Backup
              PFSense + Jetway - Backup
              PFSense + Generic - Backup

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Pretty much convinced the issue is due to HAVP. (And, really consider switching to C-ICAP; the HAVP upstream has been dead for years.)

                1 Reply Last reply Reply Quote 0
                • peteP
                  pete
                  last edited by

                  Thank you doktornotor.

                  Removed HAVP.

                  Rebooted and will try the update again.

                  • Pete

                  Auto mater
                  23.09.1-RELEASE (amd64)
                  built on Mon Dec 11 12:24:00 CST 2023
                  FreeBSD 14.0-CURRENT
                  PFSense + Qotom - Master
                  PFSense + Jetway - Backup
                  PFSense + Jetway - Backup
                  PFSense + Generic - Backup

                  1 Reply Last reply Reply Quote 0
                  • peteP
                    pete
                    last edited by

                    Thank you doktornotor for your help this morning and changing the title of the OP.

                    I couldn't wait so updated again.  Update worked fine and all is well again.

                    2.2.4-RELEASE (amd64)
                    built on Sat Jul 25 19:57:37 CDT 2015
                    FreeBSD 10.1-RELEASE-p15

                    • Pete

                    Auto mater
                    23.09.1-RELEASE (amd64)
                    built on Mon Dec 11 12:24:00 CST 2023
                    FreeBSD 14.0-CURRENT
                    PFSense + Qotom - Master
                    PFSense + Jetway - Backup
                    PFSense + Jetway - Backup
                    PFSense + Generic - Backup

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmb
                      last edited by

                      Glad to hear it, thanks for the follow up. I updated the thread title so the root cause was clear for others looking for potential problem areas.

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by

                        @pete:

                        I couldn't wait so updated again.  Update worked fine and all is well again.

                        2.2.4-RELEASE (amd64)
                        built on Sat Jul 25 19:57:37 CDT 2015
                        FreeBSD 10.1-RELEASE-p15

                        Good to hear that… ;)

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