From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Evans Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Time Date: Mon, 03 Mar 2003 15:48:29 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046708737 26191 80.91.224.249 (3 Mar 2003 16:25:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2003 16:25:37 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18psjr-0006jP-00 for ; Mon, 03 Mar 2003 17:24:27 +0100 Original-Received: (qmail 15378 invoked by uid 5); 3 Mar 2003 16:24:42 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15356 invoked by uid 49493); 3 Mar 2003 16:24:42 -0000 Original-Received: from joe.evans@kcl.ac.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.0/5.0):. Processed in 0.49274 secs); 03 Mar 2003 16:24:42 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 3 Mar 2003 16:24:41 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HB6007OKLL3OK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Mar 2003 11:24:41 -0500 (EST) Original-Received: from angelo.kcl.ac.uk (angelo.kcl.ac.uk [137.73.66.5]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HB600DASLL17U@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Mar 2003 11:24:38 -0500 (EST) Original-Received: from sinope (sinope.adm.kcl.ac.uk [137.73.41.199]) by angelo.kcl.ac.uk with SMTP id h23FmWvV025109; Mon, 03 Mar 2003 15:48:32 +0000 (GMT) Original-To: "Tru64-Unix-Managers \(E-mail\)" X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-MailScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:3497 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3497 Original Message we want to change the time setting on our main production server. Is this safe to do with out restarting? or is it likely to confuse the system? The machine is primarily an oracle database server (Tru64 5.0A). ------------------------------------------ Thanks to those that replied. There seams to be mixed opinions on this. Several people thought that going forward in time would not be a problem. Others suggested changing the time at single user mode. -------------------------------------------- I believe you're ok for changing the time forward - I've had to do this before, but there can be problems if you take the clock back - as this may confuse anything that compares file timestamps to determine whether something is due or not. Lindsay Wakeman ---------------------------------------------- It's always better to take the system down to single-user mode and then change the time. Then reboot. Too many file date/timestamps could get confused otherwise. And the applications that may be running that reference current date/time.... Better to change time in single-user mode. James Eiler ------------------------------------------------ The recommendation we had from our Informix support was that it was okay to do, but you should always restart when you have the opportunity. We have changed the time and not rebooted and everything has been okay... Keith Texel ------------------------------------------------ I am not a DBA but I learnt from one that you have to make sure that the database is down before you make changes to your system time, or face a lot of trouble. Also you must note the time at the point of change, if the system time is 11.00am at the point you stopped it and you intend to change the time to 10:00am. Then after the change you have to wait till it is 11.00am again before re-starting your database. Please confirm with other DBA's but I think the above information is right, BUT as I said earlier on I am not a Oracle person but our DBA has warned us several times on this issue of "time". Ebele Mba ----------------------------------------------------- We do not use Oracle, but another similar DB (Ingres). I can't answer for Oracle, but my experience with the OS is going forward in time relative to GMT should not be a problem. We did encounter a minor problem going backwards in time. None of the jobs in the crontab kicked off - I guess it was waiting for the server time to pass the most recent cron date/time activity. So adjusting for a few seconds or minutes should be OK, anything more than a day then you should monitor your crontab entries. The current cron process can be killed and a new one started if cron jobs aren't picked up. Shaun Racine -----------------------------------------------------