- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORACLE DATE PROBLEM
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
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
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
06-22-2007 06:59 PM
06-22-2007 06:59 PM
ORACLE DATE PROBLEM
I installed and configured oracle real application cluster 10g on Hp-Ux 11.23 (two nodes) and before install it I set the HP-UX timezone to GMT+5. The problem is when I reboot the servers or the CRS and connect to oracle database and use
select sysdate from dual;
to get time, the time is different from HP-UX time, to solve this problem I shutdown the oracle and start it up, but after that I have different time in CRS logs like crsd.log and oracle alertlog. the most intresting thing is when I down the listener and up it without down the oracle database the oracle database time set to CRS time and different with HP-Ux time.
is this problem form Timezone?
how can solve it?
thank anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 07:35 PM
06-22-2007 07:35 PM
Re: ORACLE DATE PROBLEM
India should have: TZ=IST-5:30
Not just 5. Are you 30 minutes off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 07:41 PM
06-22-2007 07:41 PM
Re: ORACLE DATE PROBLEM
what does these queries show?:
select tz_offset(dbtimezone) from dual;
select sysdate, sysdate+(substr(tz_offset(dbtimezone),1,1)||'1')*to_dsinterval('0
'||substr(tz_offset( DBTIMEZONE ),2, 5)||':00')
from dual;
select sysdate, new_time(sysdate,'gmt','edt'), new_time(sysdate,'gmt','est')
from dual;
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 07:58 PM
06-22-2007 07:58 PM
Re: ORACLE DATE PROBLEM
Also, see this extract from Oracle Globalization Docs, quote:
"The database time zone is relevant only for TIMESTAMP WITH LOCAL TIME ZONE columns. Oracle normalizes all TIMESTAMP WITH LOCAL TIME ZONE data to the time zone of the database when the data is stored on disk. If you do not specify the SET TIME_ZONE clause, then Oracle uses the time zone of the operating system of the server. If the operating system's time zone is not a valid Oracle time zone, then the database time zone defaults to UTC. Oracle's time zone information is derived from the public domain time zone data available at
ftp://elsie.nci.nih.gov/pub/
Oracle's time zone information may not reflect the most recent time zone data available from this site."
what is the value specified in your /etc/TIMEZONE file?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 09:49 PM
06-22-2007 09:49 PM
Re: ORACLE DATE PROBLEM
I think you get my problem wrong because
my problem is not oracle database because when I restart the oracle database its time will be correct, the problem is the time of crs and listener and they give the time to oracle.
thanks anyway