Server Date and Time

Hi,
I am trying to change server date and time for testing purposes but every time i change the date and time it gets switched back to system date and time after half an hour or so. Is there a way to change the server date and time temporarily? My guess is that the server time is in sync with time server.

To stop

 
service ntpd stop

To start

 
service ntpd start

Time Synchronization with NTP
Quick HOWTO : Ch24 : The NTP Server - Linux Home Networking

Thanks for your reply. I stopped the ntpd service but i can still see in the log that after about 26 minutes, time changes back to current time. I am trying to change the server date and time on my development server to september 7, 2010 for testing purpose(i have pasted a portion of the log below)

<Nov 7, 2010 12:55:25 PM EST> <Warning> <WLI-Monitoring Runtime> <BEA-473224> <Aggregator did not receive statistics from [ALSB_STAGE_MNG_1] for the aggregation performed for tick 95176500.>
<Nov 7, 2010 12:56:25 PM EST> <Warning> <WLI-Monitoring Runtime> <BEA-473224> <Aggregator did not receive statistics from [ALSB_STAGE_MNG_1] for the aggregation performed for tick 95176560.>
<Jul 11, 2011 3:59:15 PM EDT> <Info> <Log Management> <BEA-170017> <The log file /opt/bea/user_projects/domains/ALSB_STAGE_DOMAIN/servers/ALSB_STAGE_MNG_1/logs/ALSB_STAGE_MNG_1.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Jul 11, 2011 3:59:15 PM EDT> <Info> <Log Management> <BEA-170018> <The log file has been rotated to /opt/bea/user_projects/domains/ALSB_STAGE_DOMAIN/servers/ALSB_STAGE_MNG_1/logs/ALSB_STAGE_MNG_1.log44744. Log messages will continue to be logged in

check is there any cron setup to synch the time for every 30 mins

i checked the cron jobs and this is what i got. Do you see anything that is changing the time?

[weblogic@sdpsb01 ~]$ crontab -l
#00,05,10,15,20,25,30,35,40,45,50,55 * * * * CLASSPATH=$CLASSPATH:/opt/bea/weblogic92/server/lib/weblogic.jar:/opt/bea/weblogic92/common/lib/jython.jar:/opt/bea /weblogic92
#00,05,10,15,20,25,30,35,40,45,50,55 * * * * /opt/bea/jrockit90_150_06/bin/java org.python.util.jython /home/weblogic/EGScript/Monitoring/wlsMonitor1.py -f /hom e/weblogic/E#GScript/Monitoring/monitor.xml >> /home/weblogic/EGScript/Monitori g/wlsmonitor.txt 2>&1
#00,05,10,15,20,25,30,35,40,45,50,55 * * * * cd /home/weblogic/EGScript/Monitori ng && /opt/bea/jrockit90_150_06/bin/java org.python.util.jython wlsMonitor1.py - f /home/webl#ogic/EGScript/Monitoring/monitor.xml >> /home/weblogic/EGScript/Montoring/wlsmonitor.txt 2>&1
00,30 * * * * /home/weblogic/EGScript/Monitoring/runMonitoring.sh >> /home/weblogic/EGScript/Monitoring/error1.txt 2>&1
00,10,20,30,40,50 * * * * mail -s "Daily Monitoring" l.kaushik@accenture.com <wlsmonitor.txt
[weblogic@sdpsb01 ~]$
You have new mail in /var/spool/mail/weblogic

cek your /etc/ntp.conf configuration and see whether is it pointing to any specific ip address.. and you can disable the synchronization from the time clock if u use gui just click the time in the taskbar and later u untick the sync(there are 2 radio button at the bottom)