Firewall log time and system time not aligned
-
HI all,
I've noted that my firewall logs are reporting a time that is two hours back with regard to the system time, so I can see in the general log the correct date and time, and a wrong one in the firewall logs. I've connected thru the shell and the date command displays the right time. This could be an issue since I've scheduled rules, is there a way to adjust the time without rebooting (I've not tried yet)? -
The internal time may be correct, but it might be reported in the wrong time zone. Have you rebooted since changing the time zone? It may be necessary.
-
I confirm that after a reboot the time is aligned with the system date/time even in the filter log entries. Before the reboot, only the firewall log entries had a wrong time!
-
I've seen that happen after a time zone change. It's because after a TZ change a process has to restart to pick up the new TZ, and you can't exactly stop and restart the firewall process easily. :)