NTP server problem

Peter Johnston paj at beermat.demon.co.uk
Wed Feb 11 12:50:41 UTC 2004


> 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

Aha.  That works now.  Thanks very much.

Pete





More information about the fedora-list mailing list