Date time issues on RHEL


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Date time issues on RHEL
# 1  
Old 07-15-2008
Date time issues on RHEL

Hi,

I am facing a weird problem with the 'Date'. If I check date multiple times in a short interval I see a different time altogether. Here is an example

[root@localhost home]$ date
Tue Jul 15 02:07:22 PDT 2008
[root@localhost home]$ date
Tue Jul 15 02:07:23 PDT 2008
[root@localhost home]$ date
Tue Jul 15 03:20:42 PDT 2008
[root@localhost home]$ date
Tue Jul 15 02:07:25 PDT 2008

I have tried sync-ing up the Date with hwclock and vice versa, but it
has not helped.

Any idea what could be the problem.

Thanks,
Sumit
# 2  
Old 07-16-2008
Is there another OS on that box which you could check?
Is the clock in the BIOS/firmware showing similar behaviour?
Can you sync it as ntp client to some ntp server?
# 3  
Old 07-16-2008
There are known issues with the system clock under RHEL 5 (but not RHEL 3 and RHEL 4). Try Red Hat support.
# 4  
Old 07-21-2008
Quote:
Originally Posted by zaxxon
Is there another OS on that box which you could check?
Is the clock in the BIOS/firmware showing similar behaviour?
Can you sync it as ntp client to some ntp server?
1. No, here is no other OS on the machine, but I am using the xen virtualization and this is the VM
2. Have not checked that -
3. We had tried setting up the ntp. This does not change the observed behavior.
# 5  
Old 07-21-2008
Then I'd vote for methyl's suggestion.
# 6  
Old 07-21-2008
Thanks. I will contact the RH support.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cut command on RHEL 6.8 compatibility issues

We have a lot of scripts using cut as : cut -c 0-8 --works for cut (GNU coreutils) 5.97, but does not work for cut (GNU coreutils) 8.4. Gives error - cut: fields and positions are numbered from 1 Try `cut --help' for more information. The position needs to start with 1 for later... (6 Replies)
Discussion started by: Vikram Jain
6 Replies

2. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

3. Red Hat

Right way to change time for a RHEL server

I had the query of what would be the right approach to change the time on the RHEL server. I have the following ways to do that: 1) # date -s "2 OCT 2006 18:00:00" Or # date --set="2 OCT 2006 18:00:00" 2) # date +%Y%m%d -s "20081128" The second option though would only change... (4 Replies)
Discussion started by: RHCE
4 Replies

4. Shell Programming and Scripting

Adding time to date time in UNIX shell scipting

I needed some help in adding a duration (in seconds) to a start time (in hhmmss format) and a start date (in mmddyy format) in order to get an end date and end time. The concept of a leap year is also to be considered while incrementing the day. The code/ function that I have formed so far is as... (3 Replies)
Discussion started by: codehelp04
3 Replies

5. Shell Programming and Scripting

PERL, Date & Time issues

Hello All, This is my first script in PERL. Hence require your help in moving further. I have a script which should populate the values for Today, Yesterday output. For which I use timeFrame as a variable to obtain the time in hrs:mm as 10:00. All I want is, I want my timeFrame to start... (4 Replies)
Discussion started by: sathyaonnuix
4 Replies

6. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

7. UNIX for Dummies Questions & Answers

Converting string date time to unix time in AWK

I'd like to convert a date string in the form of sun aug 19 09:03:10 EDT 2012, to unixtime timestamp using awk. I tried This is how each line of the file looks like, different date and time in this format Sun Aug 19 08:33:45 EDT 2012, user1(108.6.217.236) all: test on the 17th ... (2 Replies)
Discussion started by: bkkid
2 Replies

8. Red Hat

Apache / Tomcat / APR Issues [RHEL]

Evening, I'm posting for help here, because I'll be honest I've reached the end of my tether, hopefully someone can give me some assistance and help me maintain a level of sanity... I maintain a number of webservers on RHEL 5 64Bit (Red Hat Enterprise Linux Server release 5.3 (Tikanga)), the... (2 Replies)
Discussion started by: cpickering
2 Replies

9. Red Hat

Time Sync issue on RHEL 5.3

Hi, My Linux VMs are running on citrix XEN.Somehow the time drift is too high (going very fast). Even if the correct time configured using date -s command, for every 1 hr it is differing almost 5 - 10 mins. Tried configuring ntpd (local NTP server) and still it is not synchronized. Machine... (2 Replies)
Discussion started by: uday123
2 Replies

10. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies
Login or Register to Ask a Question