On Jan 4, 2008, at 10:40 PM, Darrick Hartman (lists) wrote:

> Lonnie Abelbeck wrote:
>> On Dec 27, 2007, at 11:28 AM, Lonnie Abelbeck wrote:
>>
>>> Greetings,
>>>
>>> I have been net5501 testing with Darrick's latest builds for the
>>> "asterisk-beta" branch.
>>> http://www.djhsolutions.com/astlinux/
>>>
>>> With all the changes (runnix, unionfs, asterisk 1.4) things work
>>> amazingly well... of course there are some problems.
>>>
>>> In particular openntpd.  This is what I have found.
>>>
>>> 1) The time is set properly at startup... perfectly.
>>>
>>> 2) Both the client and server processes are running and also show in
>>> netstat -a.
>>>
>>> 3) Over a period of 24 hours, using "date", my clock looses about 10
>>> seconds, but #2 above is still true.
>>>
>>> 4) As a test, I killed the ntpd processes, my local clock continues
>>> to loose 10 sec per 24 hours.
>>>
>>> It is almost like Openntpd is working (ie. not exiting) but not
>>> adjusting the local clock.
>>> Anyone else notice this on a net5501?
>>>
>>> Lonnie
>>
>> I'm trying to debug this problem...
>>
>> I killed the startup _ntp daemon and then started openntpd in non-
>> daemon mode with:
>>
>> ntpd -d
>>
>> In this case, it appears to work, keeping proper time and adjusting
>> what 'date' look at.
>>
>> Looking back at the 0.4.x versions, a rtc.ko module has been added to
>> the 0.5 beta branch.  I don't have a clue if this difference is a
>> part of the problem.
>>
>> In summary, the startup demonized _ntp does set what 'date' looks at,
>> but when run as a root user, non-daemon, it works fine.  Any proposed
>> solutions?
>
> Could be permissions on the rtc dev?

# ls -l /dev/rtc
cr--r--r--    1 root     root      10, 135 Feb  7  2008 /dev/rtc

What should it be?

Lonnie


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to