Re: NTP server problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Johnston kirjoitti viestissÃÃn (lÃhetysaika keskiviikko, 
11. helmikuuta 2004 13:17):

> I'm trying to set up a NTP server on Fedora for my local
> network, but it doesn't seem to work.  I edited /etc/ntp.conf
> and added a 'restrict' line for my local subnet.  I then
> restarted ntpd.  ntpd is now running - I can see it with a 'ps
> aux|grep ntpd'.  There are no obvious error messages appearing
> in /var/log/messages, just diagnostic messages as it starts
> up. However, I can't connect to the server from any other
> machine.

Use 'ntpq -p' to see that ntpd is working properly.

Open port UDP:123 in your firewall.

> When I run 'lsof -i TCP' there is no mention of 'ntpd' or port
> 123 anywhere.

NTP uses UDP, not TCP. Try 'lsof -i UDP' and you should see it:
# lsof -i UDP
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
portmap 3730  rpc    3u  IPv4   3374       UDP *:sunrpc
cupsd   3786 root    2u  IPv4   3497       UDP *:ipp
ntpd    3866  ntp    4u  IPv4   3602       UDP *:ntp

-- 
	Markku Kolkka
	markku.kolkka@xxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux