How to update time via ntpserver
Today, My MBP is out of power. I cannot surfing internet. and the brower tell me my time was wrong. Then I checked my time in my MBB, I’m back in time jan 1, 2018. Wow, I got extra whole year time!
Majove update time
1
| sudo sntp -sS time.asia.apple.com
|
When you’re getting this error
1
2
|
kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory
|
You can solved the problems with:
1
2
| sudo touch /var/db/ntp-kod
sudo chmod 666 /var/db/ntp-kod
|
Disable No subscription warning
1
| sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
|
Reference