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

    [SOLVED] /var/run error system full

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    14 Posts 4 Posters 2.7k 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.
    • P
      pfsenseboonie
      last edited by

      Hi guys,

      After installing to a 120GB HD  on booting i see some error about /var/run being full and some error about not being able to write to it.

      Which log file can i see this info in to get specific error message?

      df- h (/var/run section)

      /dev/md0  3.4M 3.4M -1240K 107% /var/run

      Is this going to present a problem or can I ignore it.

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

        /var/run is a ramdisk; "some error" is certainly useless for diagnosing the issue.

        1 Reply Last reply Reply Quote 0
        • P
          pfsenseboonie
          last edited by

          @doktornotor:

          /var/run is a ramdisk; "some error" is certainly useless for diagnosing the issue.

          Can you tell me where the log is that keeps the boot?
          I have searched the system.log file and boot.dmesg but cannot see the erro i saw in those.

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

            It should be in /var/log/system.log – be sure to view that or run it through clog first, for example:

            clog /var/log/system.log | grep -i run
            

            You can also check the kernel message buffer by running:

            dmesg
            

            If the error was somewhere else, like the GUI or printed during boot, then you may have to copy/paste or screenshot it.

            It's unusual for /var/run to be full, it's normally only PID files and some small but volatile files (like the gateway status)

            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
            • P
              pfsenseboonie
              last edited by

              Just adding these while i hunt down that error…

              diskusage.png
              diskusage.png_thumb
              dfh.png
              dfh.png_thumb

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                My /var/run only holds 30-some .pid & status files totaling 58KB, with utmp and ld-elf.so.hints being the largest and everything else really small.  What's in yours?

                1 Reply Last reply Reply Quote 0
                • P
                  pfsenseboonie
                  last edited by

                  @KOM:

                  My /var/run only holds 30-some .pid & status files totaling 58KB, with utmp and ld-elf.so.hints being the largest and everything else really small.  What's in yours?

                  Good find.

                  Look at that 3.3MB file ps.core.
                  I have no idea what it is.

                  I am thinking some sorta core dump.

                  varrun.png
                  varrun.png_thumb

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfsenseboonie
                    last edited by

                    can i safely delete that?

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

                      Yes, it shouldn't be there.

                      Though I wonder what could have caused ps to crash. Has the hardware been stable? Or has it had issues? That's the sort of thing I'd only expect to crash if there was a hardware issue.

                      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
                      • P
                        pfsenseboonie
                        last edited by

                        @jimp:

                        Yes, it shouldn't be there.

                        Though I wonder what could have caused ps to crash. Has the hardware been stable? Or has it had issues? That's the sort of thing I'd only expect to crash if there was a hardware issue.

                        It's new hardware. Just installed. 
                        I will delete it reboot and see if it re-occurs.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pfsenseboonie
                          last edited by

                          ugh it came back. Not sure of the cause.

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfsenseboonie
                            last edited by

                            I was able to get a screenshot of the error.

                            IMG_20150515_213918.jpg
                            IMG_20150515_213918.jpg_thumb

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

                              That new hardware sounds like a DoA to me…

                              1 Reply Last reply Reply Quote 0
                              • P
                                pfsenseboonie
                                last edited by

                                Hi again.  I think I have resolved the issue.

                                I reinstalled 2.1.3 from a CD (previously i had used 2.2.2 memstick install)

                                I then upgraded via the console to 2.2.2 which presented a problem with unbound not starting.

                                following some advice here https://forum.pfsense.org/index.php?PHPSESSID=85j3ap423rg5mtrurrgslvvpc6&topic=92712.msg514140#msg514140
                                I downloaded the update patch locally and applied it to the system again via the web interface.

                                I then restored my configuration and everything seems to be working so far.

                                Not sure if somewhere along the process of first install there was some data corruption somewhere.

                                Thank you guys for the assistance.

                                dashboard.png
                                dashboard.png_thumb

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