Вы здесь

Проблемы с ntpd [SOLVED]

Решил настроить ntpd и ntp-client, чтобы раздавал время локальным клиентам. На сервере настроил ntp-client на синхронизацию с ntp.ru, пускаю ntp-client и ntpd. Однако ntpd в процессах нет. В логах все нормально:

Sep  1 09:56:52 linux ntpd[27328]: ntpd -r Tue Jun 13 17:15:54 MSD
2006 (1)
Sep  1 09:56:52 linux ntpd[27328]: precision = 4.000 usec
Sep  1 09:56:52 linux ntpd[27328]: Listening on interface wildcard, 0.0.0.0#123
Sep  1 09:56:52 linux ntpd[27328]: Listening on interface eth0, xxx.xx.xx.xx#123
Sep  1 09:56:52 linux ntpd[27328]: Listening on interface lo, 127.0.0.1#123
Sep  1 09:56:52 linux ntpd[27328]: Listening on interface eth1, 192.168.1.222#12
3
Sep  1 09:56:52 linux ntpd[27328]: kernel time sync status 0040

Пускаю ntpd вручную, в процессах он появляется suspended, порт не открыт:

root     28395  0.0  5.9   3624  3624 ?        SLs  10:01   0:00 ntpd

В логах тоже самое.

покажь ntpd.conf

/etc/ntpd.conf

server ntp.ru

# you should not need to modify the following paths
driftfile       /var/lib/ntp/ntp.drift

restrict default nomodify nopeer
restrict 127.0.0.1

# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
restrict 192.168.1.0 mask 255.255.255.0 nomodify nopeer notrap

/etc/conf.d/ntpd

NTPD_OPTS="-u ntp:ntp"

bump, все еще ищю в чем же проблема...

Storm написал:
/etc/conf.d/ntpd

NTPD_OPTS="-u ntp:ntp"

У мну тоже после очередного обновления системы перестало с таким ntpd работать. Может оно и не совсем правильно и можно решить как-то по другому, но сейчас работает при такой конфигурации

15:46 [pk_HOME:3][~]$ cat /etc/conf.d/ntpd
# /etc/conf.d/ntpd

# Options to pass to the ntpd process
# Most people should leave this line alone ...
# however, if you know what you're doing, feel free to tweak
NTPD_OPTS=""

Вроде бы помогло

Вопрос конечно не в тему, но почему Вы не используете сервера 1 stratum'а? Ведь в Росси есть два публичных с атомными часами и один с GPS.

если не трудно напиши их доменные имена, буду юзать

ntp3.imvp.ru (62.117.76.140)
ntp2.imvp.ru (62.117.76.141)
ntp1.imvp.ru (62.117.76.142)
ntp.scx.ru (80.246.19.27)

Может мне поможете???
Ставлю ntpd сервер, норм настраиваю, по какой то доке, а клиенты винды не могут время с моего сервера обновить. В чем могут быть грабли?
__________________________________________
Linux home 2.6.19-gentoo-r5 #3 SMP Thu Jun 14 21:28:55 KRAST 2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
Теперь и HTC TyTN :) Жалко на Windows Mobile 6.0 :(