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

Re: [cobalt-users] NTP Servers Again



On Thursday 04 July 2002 11:31 pm, chae wrote:
> Hi Yah,
>
> No matter which NTP server I use in the GUI or through webmins GUI I keep
> getting:-
>
> Failed to connect to xyzabc:37 : Connection refused (webmin)
> Cannot Refresh Time From xyzabc (Cobalt Time GUI)
>
> One of the techo's looking after one of the NTP servers stated:
>
> "..public time server only responds to, and supports the Network Time
> Protocol (NTP) which uses port 123."
>
> So does the Cobalt RaQ3's use something else?
>
It seems as though one of the updates did something to NTP
I switched my servers over to rdate
ftp://rpmfind.net/linux/redhat/6.2/en/os/i386/RedHat/RPMS/rdate-1.0-1.i386.rpm
saved my ntpdate.auto
mv etc/cron.daily//ntpdate.auto /admin/save/
Changed /etc/cron.daily/ntpdate.auto to 
#======= file ntp.auto ===========
# set my clock at 4:00 am
rdate -s <your-ntp-server> && hwclock --systohc
#============= end ==============

I also put this in my rc.local to set time when system boots up
# set system time
rdate -s <your-ntp-server>  && hwclock --systohc

Seems to work OK, you may want to try it.

-- 
Gerald Waugh 
http://frontstreetnetworks.com  SOHO Networks & Web Site Hosting
Front Street Networks LLC     voice +1 203 785 0699 * fax +1 203 785 1787
229 Front Street, Ste. #C, New Haven CT 06513-3203