The error "mach_set_rtc_mmss: RTC write failed with error -22" displayed in console or messages after restarting the firewall
1441
Created On 12/03/20 06:19 AM - Last Modified 10/30/25 20:26 PM
Symptom
After restarting the firewall, the error "mach_set_rtc_mmss: RTC write failed with error -22" got displayed in console or messages.
When you check messages, the firewall detected the clock spike and the synched clock shows strange time. You may see this invalid time in system log as well as the output of "show system info".
Nov 11 17:18:22 mgmt ntpd[28697]: 0.0.0.0 0613 03 spike_detect -1606201230.317143 s <<<<<<
Nov 24 17:20:35 mgmt ntpd[28697]: 0.0.0.0 061c 0c clock_step -1606201230.324705 s <<<<<<
Feb 5 18:40:12 mgmt ntpd[28697]: 0.0.0.0 0615 05 clock_sync
Feb 5 18:40:12 mgmt ntpd[28697]: 0.0.0.0 c618 08 no_sys_peer
Cause
The NTP server synching the clock with the firewall have wrong time.
Resolution
Please resolve the clock problem on NTP server or remove or change the NTP server that can cause the issue.