LinHES Forums http://forums.linhes.org/ |
|
R5B7 ntp-server seems to do nothing. http://forums.linhes.org/viewtopic.php?f=5&t=9541 |
Page 1 of 1 |
Author: | andrewsw [ Sat Apr 08, 2006 5:11 pm ] |
Post subject: | R5B7 ntp-server seems to do nothing. |
Anyone else seeing this? I've tried a variety of configs in my ntp.conf (including the default) and still ntpd doesn't seem to actually do anything. interestingly, a check of ntpq> associations shows all servers as rejected. anyone got a working ntp.conf they want to share? A |
Author: | graysky [ Sun Apr 09, 2006 5:16 am ] |
Post subject: | |
The ntp-server would screw up my clock on my R5A30.2 machine while just issuing a ntp-date server from the console worked like a charm. I finally just made a script that issued the nptdate command (logged it also) and made a cron job to run it every hour. Does your ntpdate work? If so you may want to do what I did. I can post instructions if needed. |
Author: | graysky [ Sun Apr 09, 2006 5:49 am ] |
Post subject: | |
Here's what I did: su cd /etc/init.d touch gettime nano gettime make that file say: ntpdate pool.ntp.org >> /var/log/gettime.log (note you can use whatever server you want) then save and exit chmod 775 gettime (makes it an executable) update-rc.d gettime defaults (that makes it run at boot time) cp /etc/init.d/gettime /etc/cron.daily (makes it run daily – you can also copy it to cron.hourly to make it run hourly etc.) You can always look at the log file to see how far your clock is drifting nano /var/log/gettime.log Let me know if this helped! As an aside, I have an nforce2 chipset board and followed badrelish's instructions in this thread. |
Author: | andrewsw [ Sun Apr 09, 2006 3:21 pm ] |
Post subject: | |
yeah, I thought about that. I mucked around in the ntp.conf script some more and got it working by stripping out everything but the 'server' lines. Also, my clock had drifted so far that ntpd wouldn't fix it anymore.... Its got a 1000s builtin limit to its adjustments. I think I was already near or at the limit and drifting faster than it could keep up with, so it just gave up. Anyway, its working now. thanks A |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |