A
A
alkhadidzhaevich2014-10-27 14:27:35
FreeBSD
alkhadidzhaevich, 2014-10-27 14:27:35

How to change time on freebsd server?

Hello, I have a server on FreeBSD 9.1.
After the recent transition to winter time, I need to change the clock on it, tell me how to do this?
I try through the date command, but after a while the server moves the clock back an hour ahead.
Tried via ntpdate
# ntpdate -b 0.ru.pool.ntp.org
27 Oct 15:26:37 ntpdate[71748]: step time server 195.91.239.8 offset 0.008201 sec
This time is also an hour ahead

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vit, 2014-10-27
@fornit1917

The current tzdata must be collected, which takes into account that we now have winter time. itadept.ru/freebsd-timezone-update

J
jcmvbkbc, 2014-10-27
@jcmvbkbc

The time zone needs to be changed, not the time.

S
Sergey Petrikov, 2014-10-28
@RicoX

portsnap fetch
portsnap update
cd /usr/ports/misc/zoneinfo/ && make install clean

Everything, updated last Sunday 9.0, the flight is normal.

V
Vadim Rybalko, 2014-10-30
@Pas

make -C /usr/ports/misc/zoneinfo/ install clean && tzsetup -r

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question