[CentOS] CentOs 5.6 and Time Sync

Wed Apr 13 20:00:08 UTC 2011
Daniel J Walsh <dwalsh at redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/13/2011 03:35 PM, Cal Webster wrote:
> On Wed, 2011-04-13 at 15:10 -0400, Mailing List wrote:
>> On 4/13/2011 2:50 PM, Cal Webster wrote:
> [snip]
>>
>>        The ntp server does connect to the internet fine. the version of 
>> ntp is as follows.
>>
>> ntp-4.2.2p1-9.el5.centos.2.1
>>
>>    The time is not off by a matter of minutes or I would not crab so 
>> much. It gets to the point of being more then an hour off after setting 
>> it. And also Dovecot dies after setting the tuime so much.
>>
>>    As I had posted before, I never had any issue with the sync till I 
>> updated to 5.6. And whe I rolled it back to the old kernel time and sync 
>> went along flawlessly.
>>
>> Brian.
> 
> I'm running the same kernel and ntp versions and I'm having no problems
> at all on ntp servers or clients.
> 
> If my previous suggestions didn't help maybe you could share contents of
> the following files and output of some commands so the list can see what
> you've got.
> 
> /etc/ntp.conf
> /etc/ntp/ntpservers
> /etc/ntp/step-tickers
> /var/lib/ntp/drift
> 
> 
> grep ntpd /var/log/messages*
> (please remove repeated messages for clarity)
> 
> Most recent entries in /var/log/ntpd.log
> 
> SELinux could also be playing a role.
> 
> Are you running SELinux enabled, permissive, or disabled?
> What mode was it running before it stopped working?
> Are there any possibly related "avc" messages in /var/log/messages
> or /var/audit/audit.log?
> 
> ./Cal
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
The avc messages are in /var/log/audit/audit.log

ausearch -m avc -ts recent

Will also show you recent AVC messages.

audit2allow -la

will search for any avc message in /var/log/audit/audit.log or
/var/log/messages since the last policy load.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2mAMgACgkQrlYvE4MpobOfmwCgu5L08ChIqfuUpUEtF8z2yg8Z
Ei4AmwU3l1j1gwLwQuiB2/YJ42WjR0Pm
=kz3z
-----END PGP SIGNATURE-----