Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my redhat system, the time is showing 30 mins less than actual time.When I modify the time to actual time,after 3 mins it reverse back to previous time. Ntp is stopped.
I am getting below message from log
Jun 17 19:50:32 rzsbcx10 ntpd[4969]: ntpd exiting on signal 15
Jun 17 19:50:33 rzsbcx10 ntpd: ntpd shutdown succeeded
I have added a cron job of ntpdate to sync with network timeserver.
#30 05 * * * /usr/sbin/ntpdate 10.201.130.89; /sbin/hwclock -w
But due to this problem I have disable this cron job and manually update the time using ntpdate but after sometime system time automatically changes but hwclock remain same.
Not sure if you commented out all the servers to troubleshoot your time problem? There must be another ntpdate cron job running somewhere. Check the logs.
Check the running processes. Are you sure ntpd is not running?
[root@rzsbcx10 ~]# cd /etc/cron.d
[root@rzsbcx10 cron.d]# ls
sysstat
[root@rzsbcx10 cron.d]# more sysstat
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A
[root@rzsbcx10 cron.d]# more /etc/cron.daily
*** /etc/cron.daily: directory ***
[root@rzsbcx10 cron.d]# more /etc/cron.hourly
*** /etc/cron.hourly: directory ***
[root@rzsbcx10 cron.d]# more /etc/cron.monthly/
*** /etc/cron.monthly/: directory ***
[root@rzsbcx10 cron.d]# more /etc/cron.weekly/
*** /etc/cron.weekly/: directory ***
[root@rzsbcx10 cron.d]# more /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.