LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-10-2007, 11:39 PM   #1
kvvkumar
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
Question Time resetting to 00 Hrs on SLES Restart everyday


I am using IBM x260 Series Server with SuSE Linux 9.0 Enterprise server loaded. Every Day I boot my server and after logging in as root and giving date command, I find that the date is correct but the time is 00 Hrs and 00 minutes.If I shutdown the server now and restart it after 5 minutes, I find the time back by five minutes. I am facing this problem from last 3 weeks but could not sort it out. Can anyone help me fix this problem.

Last edited by kvvkumar; 05-10-2007 at 11:43 PM.
 
Old 05-11-2007, 04:05 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I'm not familiar with the IBM hardware but in general this is what you should do.

Find out if the machine has a hardware clock and if the hardware clock is kept running by battery when you turn the power off on the server.

If you don't have a hardware clock or if the hardware clock is not kept running by a battery when the server power is shut off then that is your problem. You will either have to enter the time whenever you power cycle the machine or get a hardware clock for the machine or just live with the incorrect time.

Your boot process should include running the network time protocol daemon called ntpd or xntpd. Find out if your system is running one of these using the following command in a terminal window.
Code:
ps aux | grep ntp
The network time protocol software will NOT reset the system clock if the system time is more than one hour out of sync with the correct time.

Make sure that you have set the network time protocol (NTP) daemon to check for the real time with a valid NTP server somewhere on the Internet. You may be able to find a time server near you on the following web page.

http://ntp.isc.org/bin/view/Servers/WebHome

You can set up the NTP Client software from within YaST.

Last edited by stress_junkie; 05-11-2007 at 04:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatical boot everyday at the same time? oldsko0l Linux - Software 5 03-29-2006 02:54 AM
resetting CPU time? servnov Linux - Newbie 1 11-19-2005 10:26 PM
RedHat AS 3, system time delay 3 sec everyday jingle_mj Linux - General 5 11-02-2005 12:48 AM
redhat AS 3.0, system time delays 3 sec everyday. jingle_mj Red Hat 1 11-01-2005 11:54 PM
My computer restart automatically from time to time ?? pleasehelpme Linux - Newbie 2 07-04-2005 05:29 PM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration