- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- oracle time os older than system date
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 11:22 PM
тАО03-06-2009 11:22 PM
Oracle: 10g with CRS
when they issues SQL command
SQL> select systimestamp from dual;
SYSTIMESTAMP
---------------------------------------------------------------------------
07-MAR-09 01.45.16.468920 AM -05:00
but when they issued it comes like this
SQL> host date
Sat Mar 7 12:45:26 bgh 2009
where is the problem actually?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 03:05 AM
тАО03-07-2009 03:05 AM
Re: oracle time os older than system date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 08:28 AM
тАО03-07-2009 08:28 AM
Re: oracle time os older than system date
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 09:53 AM
тАО03-07-2009 09:53 AM
Re: oracle time os older than system date
ensuring that TZ environment is set
properly is to be the first to do.
The second thing might be that the DB is
configured in a diffrent timezone than UTC.
SELECT DBTIMEZONE FROM dual;
Should give you the offset, that the DB is
using (unlikely, but possible).
You should check all userenvironments and scripts involved and may be log the output
of "date" and "echo $TZ" in those scripts
to verify your current setup.
The one hour offset is a quite common problem in middle europe, because we are one hour of GMT/UTC. So you log in to do something and everything is done in CET.
Than you have i.E. a logrotate action on that
likes to restart the listener which is run
by cron at night and next day you get one
hour offsets.
I do not know. if your client is may one hour off ??
Is "bgh" the timezone that the database is running in, or just the TZ of your User when you log in?
By the way, if you have multiple clients using diffrent timezones on this database, it is vital for you to know exactly what TZ the database has and what TZ a user might be using. Think of a point in time recovery, where you need to target a specific recovery minute...
Would be bad if you are one hour off then!
Good hunting
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 07:47 PM
тАО03-07-2009 07:47 PM
Re: oracle time os older than system date
The problem has resolved.
Actually there is nothing wrong with system time. My TZ value has no problem. Everything is fine in respect of Time Zone.
The main problem as mentioned Volker in first answer is as I asked my DBA team to check the CRS environment. The problem resides there. When anyone login through Listener the database takes time from CRS not system.
Changing time zone in CRS solves it.
BTW, thanks all.