Set up a friendly environment to share my understanding and ideas about Oracle / Oracle Spatial database administration, ESRI ArcSDE Geodatabase administration and UNIX (Solaris) operating system.
ORA-27040: file create error, unable to create file
Cause: create system call returned an error, unable to create file
Action: verify filename, and permissions
imp.log:
IMP-00017: following statement failed with ORACLE error 1119:
"CREATE TABLESPACE "RBS" DATAFILE '/oracle_data/mydb/rbs01.dbf' "
"SIZE 1073741824 , '/oracle_data/mydb/rbs02.dbf' SIZE 536870"
"912 DEFAULT STORAGE(INITIAL 516096 NEXT 516096 MINEXTENTS 2 MAXEXTEN"
"TS 2147483645 PCTINCREASE 1) ONLINE PERMANENT "
IMP-00003: ORACLE error 1119 encountered
ORA-01119: error in creating database file '/oracle_data/mydb/rbs01.dbf'
ORA-27040: file create error, unable to create file
--------
ORA-28000: the account is locked
Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account
Action: Wait for PASSWORD_LOCK_TIME or contact DBA
[sde log] [05/07/2007 15:29:47;SdeId=0;Client=GIOMGR] Error (-51):Couldn't Start Server Task.
DB_open_instance()::db_connect (OCI8) error: 28000
CAN'T OPEN INSTANCE: idw10g.
Reason: the account is locked. Use Oracle Enterprise Manager to unlock the account.
All Oracle errors in the blog can be found at: Oracle errors All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
ORA-19905: log_archive_format must contain %%s, %%t and %%r
Cause: log_archive_format is missing a mandatory format element. Starting with Oracle 10i, archived log file names must contain each of the elements %s(sequence), %t(thread), and %r(resetlogs id) to ensure that all archived log file names are unique.
Action: Add the missing format elements to log_archive_format.
All Oracle errors in the blog can be found at: Oracle errors All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
Cause: Attemp to create dictionary managed tablespace in database which has system tablespace as locally managed
Action: Create a locally managed tablespace.
imp.log:
IMP-00017: following statement failed with ORACLE error 12913:
"CREATE TABLESPACE "TEMP" DATAFILE '/oracle_data/mydb/temp02.dbf"
"' SIZE 1048576000 , '/oracle_data/mydb/temp01.dbf' SIZE 419"
"430400 , '/fs/u02/oracle_data/mydb/temp03.dbf' SIZE 419430400 "
" DEFAULT STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 214"
"7483645 PCTINCREASE 1) ONLINE TEMPORARY "
IMP-00003: ORACLE error 12913 encountered
ORA-12913: Cannot create dictionary managed tablespace
--------
ORA-13226: interface not supported without a spatial index
Cause: The geometry table does not have a spatial index.
Action: Verify that the geometry table referenced in the spatial operator has a spatial index on it.
All Oracle errors in the blog can be found at: Oracle errors All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
Note:
The error occurred when performing Oracle import process:
IMP-00003: ORACLE error 1918 encountered
ORA-01918: user 'USER2' does not exist
IMP-00017: following statement failed with ORACLE error 1918:
"ALTER USER "USERA" QUOTA UNLIMITED ON "TBS_BUS" QUOTA UNLIMITED ON "IN"
"TBS_BUS" QUOTA UNLIMITED ON "TEMP""
All Oracle errors in the blog can be found at: Oracle errors All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
ORA-01691: unable to extend lob segment string.string by string in tablespace string
Cause: Failed to allocate an extent of the required number of blocks for LOB segment in the tablespace indicated.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.
alert.log
Wed Sep 24 13:01:06 2008
ORA-1691: unable to extend lobsegment APP_DAW.SYS_LOB0000488635C00008$$ by 64 in tablespace APP_DAW_TABLES
If the datafiles of the tablespace are set to auto extend, the reason is that the datafiles have reached its maximum size. The following scripts can be used to check and increase the size:
1- For Non TEMP tablespaces :
SELECT file_name,bytes,autoextensible,maxbytes FROM dba_data_files WHERE tablespace_name='XX';
2- For TEMP Tablespaces :
SELECT file_name,bytes,autoextensible,maxbytes FROM dba_temp_files WHERE tablespace_name='
XX';
1- For datafiles :
Change the datafiles attributes to be autoextensible without the maxbytes file size limitation by setting the MAXBYTES column to unlimited as follows :
SQL> alter database datafile '' autoextend on maxsize unlimited;
2- For Temp files :
SQL> alter database tempfile '' autoextend on maxsize unlimited;
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
Cause: Either incomplete or backup control file recovery has been performed. After these types of recovery you must specify either the RESETLOGS option or the NORESETLOGS option to open your database.
Action: Specify the appropriate option.
All Oracle errors in the blog can be found at: Oracle errors All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
Cause: A command was attempted that requires the database to be mounted.
Action: If you are using the ALTER DATABASE statement via the SQLDBA startup command, specify the MOUNT option to startup; else if you are directly doing an ALTER DATABASE DISMOUNT, do nothing; else specify the MOUNT option to ALTER DATABASE. If you are doing a backup or copy, you must first mount the desired database. If you are doing a FLASHBACK DATABASE, you must first mount the desired database.
Note:
When an Oracle database is on NOMOUNT mode, the following query results in the error.
SQL> select * from v$database;
select * from v$database
*
ERROR at line 1:
ORA-01507: database not mounted
All Oracle errors in the blog can be found at: Oracle errors
All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
Cause:
Action:
Oracle 9.2 or Earlier Error Message
ORA-01446: cannot select ROWID from view with DISTINCT, GROUP BY, etc.
Cause: A SELECT statement attempted to select ROWIDs from a view containing columns derived from functions or expressions. Because the rows selected in the view do not correspond to underlying physical records, no ROWIDs can be returned.
Action: Remove ROWID from the view selection clause, then re-execute the statement.
Last updated: August 24, 2009
All Oracle errors in the blog can be found at: Oracle errors
All ESRI ArcSDE errors in the blog can found at: ArcSDE Errors
Cause: A host language program issued an Oracle call, other than OLON or OLOGON, without being logged on to Oracle. This can occur when a user process attempts to access the database after the instance it is connected to terminates, forcing the process to disconnect.
Action: Log on to Oracle, by calling OLON or OLOGON, before issuing any Oracle calls. When the instance has been restarted, retry the action.
I reserve the right to delete comments that are not contributing to the overall theme of the BLOG or are insulting or demeaning to anyone. The posts on this BLOG are provided "as is" with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer.