Serial debug log
-
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.
-
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
-
@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.
-
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
-