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

    Serial debug log

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 543 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.
    • G
      globus243
      last edited by

      Hey all,

      today my pfSense started to randomly freeze and break all connections. I updated to 22.05-RELEASE a week ago, and never had these issues before. My pfSense is a vm on an esxi host. Today it happened twice but each time it is resolved with a simple reboot.

      In the System Logs in the UI I am unable to find any indicator for this behaviour, one moment it's doing fine the next I need to reboot.
      Anyway I am at loss what could cause the issue and my fist impulse is to play back my week old backup. But since the problem is quickly fixed each time i am intrigued top find out the cause of this. Though not with the current log situation.

      Is there a way to make a pfSense verbose log everything to serial? this way my host can write it into a file and I can maybe find the issue.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        If it's panicking it will show on the serial console if you enable it and can connect to it in ESXi (I've never tried).
        Do you see anything on the video console when this happens now?
        Does it respond to 'ctl+t'? Sometimes it will respond using that when nothing else does.

        Steve

        G 1 Reply Last reply Reply Quote 1
        • G
          globus243 @stephenw10
          last edited by

          @stephenw10
          ok, I enable the console and added the serial device to my vm, running for a few hours now, so far the log file it pipes into is at 0kb. I'll wait for the issue to reappear and check again.

          to be clear, the option i enabled in pfsense is "System -> Advanced -> Admin Access -> Serial Communications"

          The video console is just stuck and does not respond to any input. I did not try ctrl+t though.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes if you have selected serial console as the primary console then kernel panic info will be sent to it. You should also see global messages there such as logins.

            Steve

            1 Reply Last reply Reply Quote 1
            • G globus243 referenced this topic on
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.