Question: What
causes the ORA-01804 error?
When I try to create Oracle 10g database, I get below
error.
$ sqlplus /nolog
ERROR:
ORA-01804: failure to initialize timezone information
SP2-0152: ORACLE may not be functioning properly
Answer: First, try connecting as
SYSDBA.
There are several causes for the ORA-01804 error:
- Check to make sure the following paths are set
correctly in your environment:
LD_LIBRARY_PATH
ORACLE_HOME
NLS_LANG
- Your oracle client may be missing some timezone dat
files in the $ORACLE_HOME directory. You should have a
separate ORACLE_HOME for each release of Oracle.
-
Check that the permissions are set to allow reads (chmod
444) for the files in the OCCI library.
==================================================
The oerr utility shows
this for the ORA-01804 error:
ORA-01804: failure to initialize timezone information
Cause: The timezone information file was not
properly read.
Action: Please contact
Oracle Customer Support.
The first thing to do is to check if ORA_TZFILE is set
and if it is, remove it and restart the database and
listener. Oracle will then try to load the $ORACLE_HOME/oracore/zoneinfo/timezlrg.dat
file.
If for some reason the file that Oracle wants
to use is not available then this is the cause of the
problem.
If the file is present then an alternative
reason for the error could be that Oracle cannot load the
file because of permission problems.
If all above is
correct then it might be a .dat file that is corrupt.
|
|
|
Oracle Training from Don Burleson
The best on site
"Oracle
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!
|
|
|
|
|
Burleson is the American Team
Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|