LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2015, 02:47 PM   #1
jalal abbasi
LQ Newbie
 
Registered: Mar 2015
Posts: 16

Rep: Reputation: Disabled
time issue in redhat 6


Dear ,
Please I need the solutions for my issue with the time on redhat6
My problem is the server auto update the time on operating system and I have the oracle on it , so how I can stop this issue .
Please note that I don't want to use the (ntp) .
 
Old 11-10-2015, 06:16 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you are not using NTP then rhel is NOT updating the time
it is using the clock on the MOBO and that NEEDS A BATTERY

Quote:
and I have the oracle on it
???
What is " the oracle" ???????

anything like " The Google"

please be specific
as in ARE you using one of the Oracle databases ?
or is this really a install of OEL and not RHEL ?
 
Old 11-10-2015, 06:21 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It is not using the clock on the mobo. AFAIK kernel keeps its own time. One could periodically run hwclock to set kernel time from mobo, but this is not default.
 
Old 11-11-2015, 12:19 AM   #4
jalal abbasi
LQ Newbie
 
Registered: Mar 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
If you are not used the ntp ...
yes I have the oracle database on it , and i just get the latest update of farmware of the server , but still the problem .
 
Old 11-11-2015, 01:13 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jalal abbasi View Post
Dear ,
Please I need the solutions for my issue with the time on redhat6
My problem is the server auto update the time on operating system and I have the oracle on it , so how I can stop this issue .
Please note that I don't want to use the (ntp) .
Why don't you switch it off then.
Code:
service ntpd stop
chkconfig ntpd off
 
Old 11-11-2015, 05:39 AM   #6
jalal abbasi
LQ Newbie
 
Registered: Mar 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Question

Yes I do it ,
The time late each day two minutes , what is that mean !!!
It's hardware issued or software!!!!
Please advice
 
Old 11-11-2015, 06:03 AM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jalal abbasi View Post
Yes I do it ,
The time late each day two minutes , what is that mean !!!
It's hardware issued or software!!!!
Please advice
I think it's not surprising if your clock is slow. That's why NTP exists.

The computer has a software-based clock whose ticks depend on the regular heartbeat interrupt (100Hz or so, perhaps?). Not very precise.

But your original post says that the system sets the time automatically. How do you see that? Are you sure it's not simply imprecision?
 
Old 11-11-2015, 06:24 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Why is auto update of time a problem?

Why do you not want to use ntp?

Quote:
It's hardware issued or software!!!!
Yes, since we know nothing about your hardware. If the computer is not running continuously then the BIOS clock battery could be bad or it could just have a large drift. This might be due to the temperature environment. The system clock is in a nutshell a timer interrupt and depending on the timer used it could drift. PC clocks tend not to be very accurate so running ntp is required.
 
Old 11-11-2015, 07:03 AM   #9
jalal abbasi
LQ Newbie
 
Registered: Mar 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
I think it's not surprising if your clock is slow. That's why NTP exists.

The computer has a software-based clock whose ticks depend on the regular heartbeat interrupt (100Hz or so, perhaps?). Not very precise.

But your original post says that the system sets the time automatically. How do you see that? Are you sure it's not simply imprecision?


thanks for your advice .
i just control every day the clock on the machine so after some days i have a gap on the time machine , that's make some problem of our application (database) .
 
Old 11-11-2015, 07:08 AM   #10
jalal abbasi
LQ Newbie
 
Registered: Mar 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Why is auto update of time a problem?

Why do you not want to use ntp?

Quote:
It's hardware issued or software!!!!
Yes, since we know nothing about your hardware. If the computer is not running continuously then the BIOS clock battery could be bad or it could just have a large drift. This might be due to the temperature environment. The system clock is in a nutshell a timer interrupt and depending on the timer used it could drift. PC clocks tend not to be very accurate so running ntp is required.
__________________
"If you begin with the notion that something is impossible, then it obviously will be for you." - Unknown



now i don't have any idea what the time auto update .
my manager he want to use the ntp so i need another solution for that .
the hardware is fujitsu server
 
Old 11-11-2015, 07:19 AM   #11
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by jalal abbasi
my manager he want to use the ntp so i need another solution for that .
the hardware is fujitsu server
Tell your manager he can have an accurate clock with NTP or an inaccurate clock without NTP.
You can run NTP without internet access by the way, but I think you need an external hardware clock connected to your sever in this case.

Or you just set the clock manually from time to time. Perhaps that's an option.

Edit: Instructions for building a stratum 1 time server based on the GPS clock, using a Raspberry Pi: https://xmission.com/blog/2014/05/28...a-raspberry-pi.

Last edited by berndbausch; 11-11-2015 at 07:28 AM.
 
Old 11-11-2015, 07:44 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
There are commercial GPS time servers available if you do not want to build your own.

The common way to keep the clock accurate is using ntp. You can manually determine drift and adjust the clock but not something that I would suggest.
 
  


Reply



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
[SOLVED] time issue stateless Linux - Server 2 06-12-2013 11:04 AM
Time Issue ddzc Linux - Software 2 03-29-2007 01:43 PM
time issue... koyi Linux - Newbie 4 04-02-2005 06:39 AM
time issue chrisknight Linux - Software 2 06-02-2004 06:44 PM
Date And Time Issue (Redhat 8) zenix Linux - Software 3 01-04-2003 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 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
Open Source Consulting | Domain Registration