FN_GM
1
Hello,
I have SNG 7 and NTP doesn’t seem to be running. I have all the updates and this hasn’t helped. As a result the time on my phones is out.
I ran this to verify and it does appear to be not running
ntpdate -q 127.0.0.1
…
no server suitable for synchronization found
Can anyone assist please?
Thanks
PBX Firmware:12.7.4-1803-1.sng7
PBX Service Pack:1.0.0.0
PitzKey
(Itzik)
2
Go Under Administration > System Admin > Timezone, is it set right?
https://wiki.freepbx.org/display/PPS/Time+and+NTP
Note: after making changes you’ll need to reboot your system
FN_GM
3
All that is fine. The server has the correct time. It is the server that isn’t acting as the NTP server for the phones.
Thanks
PitzKey
(Itzik)
4
From bash: is the Date/Time correct when you type date
and hit enter?
FN_GM
5
Yes. The date and time is correct. Also seen this from the time conditions page in the FreePBX GUI.
Thanks
PitzKey
(Itzik)
6
OK, and you sure that your phones don’t have their own time servers? or are off with timezones?..
FN_GM
7
100%. The command in the original post confirms the NTP isn’t running on the server
ntpdate -q 127.0.0.1
…
no server suitable for synchronization found
PitzKey
(Itzik)
8
See this wiki.
Once you’ve done the 4 steps you can go back to the gui and set again the timezone
FN_GM
9
Isn’t that to to set the PBX server time via an NTP source rather than making the PBX and NTP server?
FN_GM
10
Running this starts the NTP server service and makes NTP work
systemctl start ntpd
Should I run this to get it to start on server boot?
sudo systemctl enable ntpd
Thanks
lgaetz
(Lorne Gaetz)
11
SNG7 doesn’t use ntpd, it uses chronyd for ntp service:
# service chronyd status
Redirecting to /bin/systemctl status chronyd.service
â— chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
FN_GM
12
So how would I fix the problem I have please?
When I run systemctl start ntpd my phones times are correct. How do I use this with chronyd please?
Thanks
system
(system)
Closed
13
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.