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

How to delete logs?

Scheduled Pinned Locked Moved General pfSense Questions
10 Posts 4 Posters 17.0k 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.
  • M Offline
    msantamaria
    last edited by Apr 21, 2011, 8:21 PM

    I have problem with the pfsense firewall, it was working correctly but now i have an error of out of space on disk. I dont know why the disk is full, but reading on this forum i see that some people that have the same problem just delete the logs.

    How i cant delete the logs ?  Is there any way to disable logs for avoid future problems?

    1 Reply Last reply Reply Quote 0
    • C Offline
      cmb
      last edited by Apr 22, 2011, 3:07 AM

      The logs cannot fill up your disk, they're circular files that are stored in RAM. Some packages can fill your disk. To figure out where your disk space is being used, you can run du at the command line, such as:

      cd /
      du -hd1

      Then drill down into the directory where the majority of the disk space resides and run that again.

      1 Reply Last reply Reply Quote 0
      • M Offline
        msantamaria
        last edited by Apr 24, 2011, 5:34 PM

        the problem is that i get a message that said: " out of inodes " and the pfsense is not working.

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cry Havok
          last edited by Apr 24, 2011, 5:36 PM

          That doesn't mean that the problem relates to logs. It may be related to a package you installed, but in neither thread you've got going have you given any details.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jimp Rebel Alliance Developer Netgate
            last edited by Apr 25, 2011, 2:25 PM

            As mentioned in the other thread you started, this could also be due to a failing hard drive.

            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
            • M Offline
              msantamaria
              last edited by Apr 25, 2011, 2:58 PM

              THANKS, I guess that the hd is failling. but i am want to be sure.

              There is any way to backup all the pfsense configurations and settings ? Then i can install the pfsense in a new drive and then restore all settings and configurations .. is this possible ?

              1 Reply Last reply Reply Quote 0
              • J Offline
                jimp Rebel Alliance Developer Netgate
                last edited by Apr 25, 2011, 3:07 PM

                Diagnostics > Backup/Restore.

                All you need is the config.xml. You can restore that to a new system and all is well.

                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
                • M Offline
                  msantamaria
                  last edited by Apr 25, 2011, 3:11 PM

                  This is using the web interface? because i cant access it :(

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by Apr 25, 2011, 3:19 PM

                    There are ways to get the config off a hard drive in that case, but none of them are simple.

                    If you still have network access, from the console you could scp /conf/config.xml  to some other box and get it there. If you boot from CD, you could attempt to mount the hard drive and copy the config to a remote system that way.

                    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
                    • M Offline
                      msantamaria
                      last edited by Apr 25, 2011, 3:22 PM

                      thanks i will try it!

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