Just noticed that my server is running 5 hours behind my time, puzzled me why Cron’s werent running when i expected them to. Is there a way in Interworx (if there is it will be in nodeworx right???) to set the Date/Time or Timezone? As i cannot seem to do this from ssh so does interworx have such a feature or not?
I’ve never seen any way to do this through NodeWorx, but can be done pretty easily via SSH.
Ijust did a google search for “set timezone linux” and found this link:
It may vary a little depending on the distro you have, but that link should get you started.
Are you can setup NTP and the time will be automatically corrected, following these instructions (nb: no warranty given or implied)
rpm -q ntp
//If it comes back with a version it’s already installed
pico -w /etc/ntp.conf
restrict default nomodify notrap noquery
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
pico -w /etc/ntp/step-tickers
/sbin/chkconfig --level 345 ntpd on
/sbin/service ntpd restart
//To view how it’s running:
ntpq -p localhost
How does that know the TZ though?