Time synchronisation problem 'grande'..
Hi! Well, I didn't get a single response when I asked this question, so I'll give it another shot.. I hope someone have any ideas. I have time setting problem when the system starts up, it's not doing what I expect it do after configuring it as follows.. I don't mean by 'ntpdate' since that works perfectly well, but the part I set in YaST, under 'System' -> 'Editor for /sys/sysconfig files' -> 'Network' -> 'NTP' -> 'XNTP_INITIAL_NTPDATE' I've set it to 'AUTO' and my /etc/ntp.conf contains the following: ## server 127.127.1.0 # local clock (LCL) fudge 127.127.1.0 stratum 10 # LCL is unsynchronized ## server 140.162.8.25 server 130.159.196.117 server 134.214.100.6 ## driftfile /var/lib/ntp/ntp.drift # path for drift file logfile /var/log/ntp # alternate log file ## logconfig = all Anyway, the time isn't set? And I don't know where to look for errors... If I run 'ntpdate 140.162.8.25' immediately after a system re-boot the time can be adjusted anywhere from 5 to 6000 seconds, which tells me that the setup I have in the sysconfig doesn't work... I don't know it the xntp setting uses 'ntpdate' at all, but if it does, it could be the fact that in YaST it's predefined that the function should work as user 'ntp'. And the 'ntp' user doesn't have access to 'ntpdate', when I su to 'ntp' and run 'ntpdate' I get the following: berit:/var/log # su --shell=/bin/bash ntp ntp@berit:/var/log> /usr/sbin/ntpdate ntp.css.gov 5 Jul 00:35:00 ntpdate[16496]: bind() fails: Permission denied ntp@berit:/var/log> Later! Anders Norrbring Norrbring Consulting
On Sat, 2003-07-05 at 22:17, Anders Norrbring wrote:
Hi!
Well, I didn't get a single response when I asked this question, so I'll give it another shot.. I hope someone have any ideas.
I'm still struggling to get ntpd to work even with the local servers. Meanwhile I do it manually... Hans
Hi!
Well, I didn't get a single response when I asked this question, so I'll give it another shot.. I hope someone have any ideas.
I'm still struggling to get ntpd to work even with the local servers. Meanwhile I do it manually...
Hans
Hans, it seems like I simply was too blind to see the obvious.. If you still have my mail you can look at my ntp.conf, the first server in the list is 127.0.0.1... I.e. it's synch'ing with itself. Thanks to all 3 readers who pointed that out.. :) Anders Norrbring Norrbring Consulting
On Saturday 05 July 2003 16:58 pm, H du Plooy wrote:
On Sat, 2003-07-05 at 22:17, Anders Norrbring wrote:
Hi!
Well, I didn't get a single response when I asked this question, so I'll give it another shot.. I hope someone have any ideas.
I'm still struggling to get ntpd to work even with the local servers. Meanwhile I do it manually...
Hans
And your problem is........ -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 07/05/03 18:00 + +----------------------------------------------------------------------------+ "Beer: It's not just for breakfast anymore."
I'm still struggling to get ntpd to work even with the local servers. Meanwhile I do it manually...
Hans
And your problem is........ something to the tune of "access denied." I'm not too much bothered
On Sun, 2003-07-06 at 00:00, Bruce Marshall wrote: though, I just tried it because the discussion interested me. Don't need it - other things I'm struggling with that are more important. Thanks Hans
On Sunday 06 July 2003 11:49 am, H du Plooy wrote:
On Sun, 2003-07-06 at 00:00, Bruce Marshall wrote:
I'm still struggling to get ntpd to work even with the local servers. Meanwhile I do it manually...
Hans
And your problem is........
something to the tune of "access denied." I'm not too much bothered though, I just tried it because the discussion interested me. Don't need it - other things I'm struggling with that are more important.
Well, if you get back to it let us know... shouldn't be a problem to get it going....
Thanks Hans
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 07/06/03 12:17 + +----------------------------------------------------------------------------+ "I am learning that criticism is not nearly as effective as sabotage."
participants (3)
-
Anders Norrbring
-
Bruce Marshall
-
H du Plooy