- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-10-2018 09:44 AM
SSH to Expedition and change the /etc/ntp.conf settings
ssh -l expedition <ip.of.your.server>
sudo -s . (passwd: paloalto)
nano /etc/ntp.conf
comment out all lines starting with "pool ..." and insert a "server statement:
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
# pool 0.ubuntu.pool.ntp.org iburst
# pool 1.ubuntu.pool.ntp.org iburst
# pool 2.ubuntu.pool.ntp.org iburst
# pool 3.ubuntu.pool.ntp.org iburst
# Use Ubuntu's ntp server as a fallback.
# pool ntp.ubuntu.com
server 192.168.123.123
Restart NTP: service ntp restart
or stop and run ntpdate and start again
service ntp stop
ntpdate 192.168.123.123
service ntp start
11-10-2018 09:54 AM
That is what I was looking for @KlausGroeger but on my VM /etc/ntp.conf and NTP service are missing.
I am looking now at:
https://help.ubuntu.com/lts/serverguide/NTP.html.en
and
https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-16-04
They seem to apply to my Ubuntu. I am trying to validate the success of the changes now...
11-10-2018 09:57 AM
Just become root on your expedition server and install ntp and ntpdate:
apt-get install ntpdate
apt-get install ntp
Go on with the above.
11-10-2018 10:33 AM
It never crossed my mind to install ntp and ntpdate. Aparently if installed they start takeing care of keeping time even if the new (replacement) service is installed already. Thank you for guidance and support @KlausGroeger
What I ended up doing though is:
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!