Re: NTP server problem

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

 



For test purposes, try to deactivate firewall

as root,

service iptables stop

Try to obtain the time from another machine, if rusn, your ntp server
machine iptables is blocking the petitions.

HTH


David Ballester Montolio
Responsable de Sistemas y Comunicaciones
Kern Pharma, S.L.
www.kernpharma.com

GNU!


|---------+------------------------------>
|         |           "Peter Johnston"   |
|         |           <paj@xxxxxxxxxxxxxx|
|         |           co.uk>             |
|         |           Enviado por:       |
|         |           fedora-list-admin@r|
|         |           edhat.com          |
|         |                              |
|         |                              |
|         |           11/02/2004 12:17   |
|         |           Por favor, responda|
|         |           a fedora-list      |
|         |                              |
|---------+------------------------------>
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  |     Para:     <fedora-list@xxxxxxxxxx>                                                                                      |
  |     cc:                                                                                                                     |
  |     Asunto:   NTP server problem                                                                                            |
  >-----------------------------------------------------------------------------------------------------------------------------|




Hi


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.  Running
nmap against the machine would seem to indicate that the port 123 is not
open.


When I run 'lsof -i TCP' there is no mention of 'ntpd' or port 123
anywhere.  This would seem to indicate that ntpd has not opened the port.
However, if I try to deliberately start a second copy of ntpd manually an
error message appears in /var/log/messages for each interface saying that
ntpd cannot bind to port 123 because the port is already in use.


Can anyone explain what is going on and how to fix it?


Thanks,
Peter











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

  Powered by Linux