Time resetting to 00 HRS on starting

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Time resetting to 00 HRS on starting
# 1  
Old 05-07-2007
Question Time resetting to 00 HRS on starting

I Have a SUSE Linux Enterprise server 9.0. When I start the server , using date command I daily find that the time it is showing is 00.00 Hrs. It shows the date correctly. Every day I have to set the time using the date command.
I am facing this proble from last 3 weeks but couldn't find a solution. I had even tried to restore the defaults in BIOS and set the date and time. Still every day I need to set the system date using date command using root login. Kindly help me.

V. V. Kumar
# 2  
Old 05-07-2007
Are you running this on a desktop? If you are, check your motherboard battery. It might need replacing.
# 3  
Old 05-07-2007
Quote:
Originally Posted by V.V.KUMAR
I Have a SUSE Linux Enterprise server 9.0. When I start the server , using date command I daily find that the time it is showing is 00.00 Hrs. It shows the date correctly. Every day I have to set the time using the date command.
I am facing this proble from last 3 weeks but couldn't find a solution. I had even tried to restore the defaults in BIOS and set the date and time. Still every day I need to set the system date using date command using root login. Kindly help me.

V. V. Kumar
Every day? or every reboot? if it is the latter I would place my money on the MB battery as Blowtorch stated above.
# 4  
Old 05-08-2007
System time resetting to 00 Hrs

Quote:
Originally Posted by blowtorch
Are you running this on a desktop? If you are, check your motherboard battery. It might need replacing.
I am running SLES 9.0 Server on IBM x260 Series server. When I Shutdown and restart after three minutes I noted that the time displayed using date command is 3 minutes back. If I shutdown today evening and restart next day, it resets to 00 Hrs but the date is correct. Dou you really think it needs a battery replacement.
# 5  
Old 05-08-2007
I am running SLES 9.0 Server on IBM x260 Series server. When I Shutdown and restart after three minutes I noted that the time displayed using date command is 3 minutes back. If I shutdown today evening and restart next day, it resets to 00 Hrs but the date is correct. Do u think it needs battery replacement ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep a log file starting from a specific time to the end of file

I have a log file which have a date and time at the start of every line. I need to search the log file starting from a specific time to the end of file. For example: Starting point: July 29 2018 21:00:00 End point : end of file My concern is what if the pattern of `July 29 2018 21:00:00`... (3 Replies)
Discussion started by: erin00
3 Replies

2. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

3. Windows & DOS: Issues & Discussions

Convertered VMDK Starting 10% of The Time

I created a vdmk image from a system that was having hardware issues using: (How to create a Virtualbox image from a physical partition by one command) sudo dd if=/dev/sda | VBoxManage convertfromraw stdin MyLinuxImage.vmdk 120034123776 --format VMDK the next thing I did was install VM... (0 Replies)
Discussion started by: metallica1973
0 Replies

4. Shell Programming and Scripting

finding files N hrs old

I know you can supply the find command with an option to find files > than N days old. Is there some way to do this to find files that are > than N hours old. I want to do somthing like this: find . -mtime + (now - 2hrs) -print If not is there a way to do this with sed or awk or some... (5 Replies)
Discussion started by: BeefStu
5 Replies

5. UNIX for Advanced & Expert Users

Auto resetting for Daylight Savings Time

We have an ancient Unix box from Siemens. Every year the system automatically changes the time for EST or DST. Unfortunately since the box is so old the dates that the times change are the old dates and not the current ones set during (I think) the Bush years. When I have to set the time back... (3 Replies)
Discussion started by: jbcamel
3 Replies

6. Shell Programming and Scripting

To delete files older than 24 hrs

I have to retain only 1 day files in my system an I have to delete all the other files which are older than 24 hrs. Please let me know the option I have to give in the find -mtime command. (3 Replies)
Discussion started by: rajesh8s
3 Replies

7. Infrastructure Monitoring

Solaris 10 - starting snmpdx at boot time on a port other than 161

Hi All, Can we start the snmpdx on another port at boot time on solaris 10 instead of the default 161 port? What is the configuration file to set this? We can make it run in a different port after the system boots up by using snmpdx -p port_number This requirement is because i have an... (1 Reply)
Discussion started by: Mr. Zer0
1 Replies

8. Shell Programming and Scripting

check for new file over 24 hrs

Hi all, I am trying to figure out a method to flag an error if a file has not arrived in a certain directory within 24 hrs of the last one arriving. I am currently writing the time to a file when a file is recieved. I then want to check for a new file reguarly but flag an error if it has been... (3 Replies)
Discussion started by: pxy2d1
3 Replies

9. UNIX for Dummies Questions & Answers

Need to get 4 Hrs back time and compare with successive time

Hi all, I am working on a script in which i need to get 4 hrs back time from the current time which i got from this perl function : `perl -e 'print localtime(time() - 14400) . "\n"'` now i need to get this in a loop and increment that time by 15 minutes i.e i=900(=15minutes) `perl... (2 Replies)
Discussion started by: maanik85
2 Replies

10. UNIX for Dummies Questions & Answers

TZ out by 12 hrs

Is there a way of setting the TZ for New Zealand. I do not mind if it is only for the logged in session. It makes it hard to understand when files or CRON jobs have run when the time is set to GMT0. Any help will be appreciated. ;) (1 Reply)
Discussion started by: jagannatha
1 Replies
Login or Register to Ask a Question