Saturday, September 8, 2007, 1:28:42 PM, you wrote:
>Hmmm... Although I disabled selinux, I didn't have
'selinux=0' in my
>grub.conf. Probably it gets disabled somewhere else.
No, that is the only way to shut it completely off. This is a known
FC7
problem. Setting it to be permissive as you did in the install is not
sufficient to allow ntp to work.
As I remember, during installation there was an option to set selinux
to permissive mode or to disable it. I choose 'Disable'.
Anyway, now I have 'selinux=0' parameter in grub.conf, so it should be
disabled.
>Sep 8 12:56:10 frontend_light ntpdate[1943]: step time server
66.187.233.4
> offset -65.237699 sec Sep 8 12:56:10 frontend_light ntpd[1945]: ntpd
> 4.2.4p2(a)1.1495-o Tue Aug 21 14:07:56 UTC 2007 (1) Sep 8 12:56:10
> frontend_light ntpd[1946]: precision = 1.000 usec
>Sep 8 12:56:10 frontend_light ntpd[1946]: Listening on interface #0
> wildcard, 0.0.0.0#123 Disabled Sep 8 12:56:10 frontend_light ntpd[1946]:
> Listening on interface #1 wildcard, ::#123 Disabled Sep 8 12:56:10
> frontend_light ntpd[1946]: Listening on interface #2 lo, ::1#123 Enabled
> Sep 8 12:56:10 frontend_light ntpd[1946]: Listening on interface #3 eth0,
> fe80::230:5ff:fe22:857#123 Enabled Sep 8 12:56:10 frontend_light
> ntpd[1946]: Listening on interface #4 lo, 127.0.0.1#123 Enabled Sep 8
> 12:56:10 frontend_light ntpd[1946]: Listening on interface #5 eth0,
> 172.23.0.133#123 Enabled Sep 8 12:56:10 frontend_light ntpd[1946]: kernel
> time sync status 0040 Sep 8 12:56:11 frontend_light ntpd[1946]: frequency
> initialized 0.000 PPM from /var/lib/ntp/drift
>
>
>[root@frontend_light ~]# ntpq -p
> remote refid st t when poll reach delay offset
> jitter
> ===========================================================================
>=== balthazar.tihld 192.36.144.22 2 u 15 64 377 41.875 -3341.6
> 1648.40 bbs.csie.ncyu.e 220.130.158.71 3 u 13 64 377 364.927
> -3354.8 1646.82 hobbes.macvaerk 193.162.142.71 3 u 14 64 377
> 128.439 -3332.9 1608.39 [root@frontend_light ~]# ntpstat
>unsynchronised
> time server re-starting
And why is it restarting? I don't know the answer there, but
someplace in a
log, there should be a clue.
I don't know either... Above I provided all the logs regarding ntpd.
There's nothing special, really... It's almost the same as on my
Fedora Core 6 machine, except that ntp here is not getting synced...