ORA-01041 error when duplicating database to new host
I'm using RHEL 5 with Oracle 11g and I'm testing data guard.
I am trying to setup data guard by following this link:
http://www.databasejournal.com/features/oracle/article.php/3816751/Oracle-11g-Data-Guard-Building-a-Physical-Standby-Database.htm
I use the following command:
[oracle@linux-test ~]$ rman target sys/oracle auxiliary sys/oracle@stdby
Recovery Manager: Release 11.1.0.6.0 - Production on Tue Oct 6 11:54:47 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORCL (DBID=1227314034)
connected to auxiliary database: STDBY (not mounted)
RMAN> RUN {
ALLOCATE CHANNEL d1 TYPE DISK;
ALLOCATE CHANNEL d2 TYPE DISK;
ALLOCATE AUXILIARY CHANNEL cnv1 TYPE DISK;
ALLOCATE AUXILIARY CHANNEL cnv2 TYPE DISK;
DUPLICATE TARGET DATABASE
FOR STANDBY
FROM ACTIVE DATABASE
DORECOVER
SPFILE
SET db_unique_name='stdby'
SET control_files='/home/u01/app/oracle/oradata/orcl/control01.ctl'
SET log_file_name_convert='/home/u01/app/oracle/oradata/orcl/','/home/u01/app/oracle/oradata/stdby/'
SET log_archive_dest_1='location=/home/u01/app/oracle/flash_recovery_area/STDBY/ valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=stdby'
SET log_archive_dest_2='service=orcl ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orcl'
SET fal_client='stdby'
SET fal_server='orcl'
SET standby_file_management='AUTO'
SET log_archive_config='dg_config=(orcl,stdby)'
NOFILENAMECHECK;
When it's starting datafile copy, I get this error:
channel d1: starting datafile copy
input datafile file number=00001 name=/home/u01/app/oracle/oradata/orcl/system01.dbf
channel d2: starting datafile copy
input datafile file number=00002 name=/home/u01/app/oracle/oradata/orcl/sysaux01.dbf
RMAN-03009: failure of backup command on d1 channel at 10/06/2009 11:56:41
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03113: end-of-file on communication channel
channel d1 disabled, job failed on it will be run on another channel
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/06/2009 11:56:54
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on d2 channel at 10/06/2009 11:56:54
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03113: end-of-file on communication channel
I have googled it but I still have no solution yet.
Any idea please?
Sarith
Use a 'Try and Error' strategy, remove the manual channel allocations from the script, these are not mandatory. Let RMAN automatically allocate channels.
Werner
Similar Messages
-
ORA-01031 Error When starting Database
I have installed Oracle 11gr2 on my laptop having OS ubuntu 10.04, after installation i am receiving ORA-01031 error when try to log in with the command
sqlplus / as sysdba what should i do to resolve it...Hi,
there are a lot of possibilities why this can be wrong. Look at Oracle Support for note 233223.1, "Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues". This gives links to notes which leads you to maybe the solution.
Possibilities are:
- you are root, which is not allowed. You should connect with the oracle user
- your user is not part of the dba group
- permissions on files
- and many more
Herald ten Dam
http://htendam.wordpress.com -
I have a new installed database running in ARCIHVELOG mode on SUSE 10SP3. Catalog is not used. When I try to restore the database from a level 0 backup based on SCN, ORA-01180 and ORA-01110 were raised out today. Please help me through this. Thx. The senario follows:
1. I got the current SCN by "select dbms_flashback.get_system_change_number from dual". Say it's 12345;
2. I did a level 0 hot backup with current control file, archived logs and parameter files. Everything went well;
3. Some other DMLs are applied to the database;
4. I want to do a SCN-based incomplete recovery for this database to SCN 12345. Then I
1) shutdown immediate;
2) startup nomount;
3) restore the control file from backupset;
5) startup mount;
6) catalog start with "[backupset path]";
7) restore database until scn 12345.
Just at step 4.7, ORA-01180 and ORA-01110 were raised out, saying cannot create data file 1. Note: Backup files are existing and file permissions are all OK.
Then I issues "list incarnation of database". There is just one record with incarnation id 1.
So I queried v$log_history, found serveral record there. The most recent one has NEXT_SCN later than 12345, say 12400. Then I tried to restore database until this SCN. It WORKED! The restore and recovery succeeded.
My questions are:
1. Why cannot I restore the database to a previous SCN, say 12345, but 12400 is OK?.
2. If the database was RESETLOG prior to my recovery, should I reset database to the incarnation where I took my backup? What can I do if there is no that incarnation information in my control file?
Waiting for your suggestion.Hi guys. There is one update.
This issue is caused by the incorrect SCN vs. backup set. I got this SCN before the backup started. According to Oracle docs, it's not allowed for an SCN based recovery.
Now, I changed the sequence of my operations, so that SCN is got once backup is done, which is exact the "most recent sequence# and least SCN" mentioned by some thread in this forum. It works now.
Anyone could explain why the SCN got prior to the level 0 backup is not recognized by restore/recovery phase? Thanks. -
ORA-00490 error when opening database
I am having a problem starting up my database. It had been running without problems for a long time, but it crashed recently, and now every time I attempt to restart it I get 'ORA-00490: PSP process terminated with error.' Here is the info from the alert log:
Tue Jul 20 08:35:16 2010
Starting ORACLE instance (normal)
Dump file d:\oracle\product\10.2.0/admin/iceman/bdump\alert_iceman.log
Tue Jul 20 09:06:13 2010
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows NT Version V5.2 Service Pack 2
CPU : 8 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:7404M/8186M, Ph+PgF:19658M/20025M
Tue Jul 20 09:06:13 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =61
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 500
sga_max_size = 2097152000
__shared_pool_size = 352321536
__large_pool_size = 16777216
__java_pool_size = 33554432
__streams_pool_size = 33554432
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEICEMAN.ORA
sga_target = 1258291200
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 805306368
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=ICEMANXDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\CDUMP
audit_trail = OS
db_name = ICEMAN
open_cursors = 300
pga_aggregate_target = 418381824
PSP0 started with pid=3, OS id=2372
MMAN started with pid=4, OS id=2388
PMON started with pid=2, OS id=2456
DBW0 started with pid=5, OS id=2396
LGWR started with pid=6, OS id=2376
CKPT started with pid=7, OS id=2380
SMON started with pid=8, OS id=1496
RECO started with pid=9, OS id=2296
CJQ0 started with pid=10, OS id=2300
MMON started with pid=11, OS id=2128
MMNL started with pid=12, OS id=2784
Tue Jul 20 09:06:15 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Jul 20 09:06:17 2010
ALTER DATABASE MOUNT
Tue Jul 20 09:06:21 2010
Setting recovery target incarnation to 2
Tue Jul 20 09:06:21 2010
Successful mount of redo thread 1, with mount id 2079135369
Tue Jul 20 09:06:21 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Tue Jul 20 09:10:42 2010
Starting ORACLE instance (normal)
Tue Jul 20 09:10:55 2010
alter database open
Tue Jul 20 09:10:56 2010
Beginning crash recovery of 1 threads
Process P000 died, see its trace file
parallel recovery setup failed: using serial mode
Tue Jul 20 09:10:57 2010
Started redo scan
Tue Jul 20 09:10:57 2010
Completed redo scan
233 redo blocks read, 74 data blocks need recovery
Tue Jul 20 09:10:57 2010
Started redo application at
Thread 1: logseq 36859, block 3
Tue Jul 20 09:10:57 2010
Recovery of Online Redo Log: Thread 1 Group 3 Seq 36859 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO03.LOG
Tue Jul 20 09:10:57 2010
Completed redo application
Tue Jul 20 09:10:57 2010
Completed crash recovery at
Thread 1: logseq 36859, block 236, scn 832195314
74 data blocks read, 74 data blocks written, 233 redo blocks read
Tue Jul 20 09:10:57 2010
Thread 1 advanced to log sequence 36860
Thread 1 opened at log sequence 36860
Current log# 1 seq# 36860 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO01.LOG
Successful open of redo thread 1
Tue Jul 20 09:10:57 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue Jul 20 09:10:57 2010
SMON: enabling cache recovery
Tue Jul 20 09:10:58 2010
Successfully onlined Undo Tablespace 1.
Tue Jul 20 09:10:58 2010
SMON: enabling tx recovery
Tue Jul 20 09:10:58 2010
Database Characterset is AL32UTF8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=672
Tue Jul 20 09:11:05 2010
Completed: alter database open
Tue Jul 20 09:11:10 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_j000_976.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x77EF1CD6] [ADDR:0x4F0] [UNABLE_TO_READ] []
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_pmon_2456.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:13 2010
PMON: terminating instance due to error 490
Tue Jul 20 09:11:13 2010
Error occured while spawning process J001; error = 490
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_reco_2296.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_smon_1496.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_ckpt_2380.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_lgwr_2376.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_mman_2388.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Instance terminated by PMON, pid = 2456
The background process dumps all look very similar. Here is the file iceman_dbw0_2396.trc
Dump file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc
Tue Jul 20 09:11:14 2010
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Windows NT Version V5.2 Service Pack 2
CPU : 8 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:7133M/8186M, Ph+PgF:18431M/20025M
Instance name: iceman
Redo thread mounted by this instance: 1
Oracle process number: 5
Windows thread id: 2396, image: ORACLE.EXE (DBW0)
*** 2010-07-20 09:11:14.316
*** SERVICE NAME:(SYS$BACKGROUND) 2010-07-20 09:11:14.316
*** SESSION ID:(552.1) 2010-07-20 09:11:14.316
error 490 detected in background process
ORA-00490: PSP process terminated with error
I have been searching, but I have not found a reference to a problem quite like this anywhere. Any pointers to how this can be solved would be greatly appreciated.HI
1) can you post OS version?
2) antivirus/firewall enabled
3)Increase the depleted swap/memory or other resource which is logged in the OS log file
Have sufficient physical memory on Server so that you can allocate more SGA/PGA to the database.
4) Increase SGA_MAX_SIZE and SGA_TARGET so that you can accommodate following pools.
5) Restart the instance.
6) Increase INIT.ORA memory parameters and make sure following pools are set to recommended value i.e. 200M.
7) SHARED_POOL_SIZE
8) JAVA_POOL_SIZE
9) STREAMS_POOL_SIZE
there is no swap to grow stack.
Edited by: CKPT on Jul 20, 2010 7:26 PM -
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
ORA-00054 error when loading Oracle table using Data Services
Hello,
we are facing ORA-00054 error when loading Oracle table using BO Data services
(Oracle 10g database, BODS Xi 3.2 SP3)
Test Job performs
1- truncate table
2- load table (tested in standard and bulk load modes)
Scenario when issue happens is:
1- Run loading Job
2- Job end in error for any Oracle data base error
3- When re-running the same Job, Job fails with following error
ORA-00054: resource busy and acquire with NOWAIT specified
It seems after first failure, Oracle session for loading the table stays active and locks the table.
To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
Thanks in advance
Paul-Mariethe ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
Or
AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
This Problem Occurs when we select The Bulkloading Option in orclae We also faced the same issue,Our admin has Killed the session. Then everything alright. -
ORA-03115 error when calling a Stored Procedure
Hi All,
I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR resprows[50][3998];
int numret = 0;
int numrows= 50;
int done= 0;
unsigned long resp_id = 0;
EXEC SQL END DECLARE SECTION;
EXEC SQL AT DB_NAME EXECUTE
BEGIN pkg_something.getdata(
:resp_id, /* IN */
:numrows, /* IN */
:done, /* OUT */
:resprows, /* OUT */
:numret /* OUT */
END;
END-EXEC;
The stored procedure basically uses the resp_id value to select rows from a table;
in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
There may be anything from 1 to numrows returned from the SP.
Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
This all works chipper on NT.
Any ideas?
Thanks in advance,
Nigel.
PS: The database the app is talking to is still hosted on NT.
nullHiston FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM -
Why am I getting an ORA-04052 error when I try to compile a Procedure?
Hi,
The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
CREATE OR REPLACE PROCEDURE APPS.Find_String (
pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
IS
cursor cur_get_dependancy
is
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;
v_owner varchar2(40);
v_name varchar2(50);
v_type varchar2(40);
BEGIN
dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
dbms_output.put_line(' ');
dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
FOR i IN cur_get_dependancy
LOOP
v_owner := RPAD(i.owner, 30, ' ');
v_name := RPAD(i.name, 45, ' ');
v_type := RPAD(i.type, 30, ' ');
dbms_output.put_line(v_owner ||v_name|| v_type);
END LOOP;
END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
What's even stranger is that I took the SELECT statement
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02068: following severe error from PINP
ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?OK Justin,
Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
SQL> conn apps/apps1@dev1
Connected.
SQL> SELECT distinct owner, name, type
2 FROM [email protected]
3 WHERE lower(referenced_name) = lower('ALL_USERS')
4 AND referenced_type <> 'SYNONYM'
5 AND owner <> 'SYS'
6 order by name;
OWNER NAME TYPE
PUBLIC ALL_USERS SYNONYM
XDB DBMS_XDBUTIL_INT PACKAGE BODY
XDB DBMS_XDBZ0 PACKAGE BODY
SYSTEM MVIEW_EVALUATIONS VIEW
SYSTEM MVIEW_EXCEPTIONS VIEW
SYSTEM MVIEW_FILTER VIEW
SYSTEM MVIEW_LOG VIEW
SYSTEM MVIEW_RECOMMENDATIONS VIEW
SYSTEM MVIEW_WORKLOAD VIEW
ORASSO WWCTX_API PACKAGE BODY
PORTAL WWCTX_API PACKAGE BODY
ORASSO WWEXP_UTL PACKAGE BODY
PORTAL WWEXP_UTL PACKAGE BODY
PORTAL WWPOB_API_PAGE PACKAGE BODY
PORTAL WWPOF PACKAGE BODY
ORASSO WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWSBR_EDIT_ATTRIBUTE PACKAGE BODY
PORTAL WWSBR_FOLDER_PORTLET PACKAGE BODY
PORTAL WWSBR_USER_PAGES_PORTLET PACKAGE BODY
ORASSO WWUTL_API_PARSE PACKAGE BODY
OWNER NAME TYPE
PORTAL WWUTL_API_PARSE PACKAGE BODY
PORTAL WWUTL_EXPORT_IMPORT_LOV PACKAGE BODY
ORASSO WWUTL_LOV PACKAGE BODY
PORTAL WWUTL_LOV PACKAGE BODY
PORTAL WWV_CONTEXT PACKAGE BODY
PORTAL WWV_CONTEXT_UTIL PACKAGE BODY
PORTAL WWV_DDL PACKAGE BODY
PORTAL WWV_GENERATE_UTL PACKAGE BODY
PORTAL WWV_GLOBAL PACKAGE
PORTAL WWV_MONITOR_DATABASE PACKAGE BODY
PORTAL WWV_PARSE_AS_SPECIFIC_USER PACKAGE BODY
PORTAL WWV_PARSE_AS_USER PACKAGE BODY
PORTAL WWV_SYS_DML PACKAGE BODY
PORTAL WWV_SYS_RENDER_HIERARCHY PACKAGE BODY
PORTAL WWV_THINGSAVE PACKAGE BODY
PORTAL WWV_UTIL PACKAGE BODY
PORTAL WWV_UTLVALID PACKAGE BODY
38 rows selected.
SQL>Let me know what you think.
Thanks again. -
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
Oracle10g Import:ORA-01119: error in creating database
I am trying to Import a Oracle10g dump into a Oracle 10g db server(SunOS).The server has enough space and so do the tablespace.
This is the import command i'm trying:
imp db/db@sid file=file.dmp ignore=y full=y
But it still posts the following error:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by OPS$QZORA, not by you
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
export client uses UTF8 character set (possible charset conversion)
. importing SYSTEM's objects into SYSTEM
IMP-00017: following statement failed with ORACLE error 1119:
"CREATE TABLESPACE "NEW" BLOCKSIZE 8192 DATAFILE '/home/NEW01.d"
"bf' SIZE 2000M , '/home/NEW02.dbf' SIZE 3000M , '/u03/bm"
"qzdb/NEW03.dbf' SIZE 2000M , '/u03/bmqzdb/NEW04.dbf' SIZE 3000M "
" , '/home/NEW05.dbf' SIZE 2000M , '/home/NEW06.d"
"bf' SIZE 5900M , '/home/NEW07.dbf' SIZE 943718400 , '/u0"
"1/bmqzdb/NEW08.dbf' SIZE 734003200 , '/home/NEW09.dbf' SIZ"
"E 144703488 , '/home/NEW10.dbf' SIZE 144703488 , '/u01/b"
"mqzdb/NEW11.dbf' SIZE 81788928 , '/home/NEW12.dbf' SIZE 15"
"00M AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M, '/home/NEW13.dbf"
"' SIZE 1048576000 AUTOEXTEND ON NEXT 8192 MAXSIZE 2000M EXTENT MANAG"
"EMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMENT AUTO"
IMP-00003: ORACLE error 1119 encountered
ORA-01119: error in creating database file '/home/NEW01.dbf'
ORA-27040: file create error, unable to create file
SVR4 Error: 2: No such file or directory
IMP-00000: Import terminated unsuccessfullyActually i dont want that to create any tablespaces.I have a tablespace created on my db.In fact i dont have the same (/home) path on my unix server.
I want the imp utility to ignore create tablespace command.I did give the IGNORE=Y on the imp command.
If i give fromuser,touser i can import but that does not go along with full=y.I have to do it table by table.It has also got sequences,types,synonyms etc
thanks in advance
shiva -
ORA-22813 error when deleting spatial objects in LIVE
Hi,
We are getting an ORA-22813 error when attempting to delete a spatial object from a version-enabled table in workspace LIVE. The spatial object to be removed has a SDO type of multipolygon. The geometry information consists of 4 rings with a combined ordinate count of 4120. The statement used to delete the row is:
delete from tableA where tableA.id in (select tableA.id from tableA where tableA.id = 3);
The error occurs only on a 10g R1 Oracle instance (10.1.0.5.0) with Workspace Manager version 10.1.0.7.1. The delete operation succeeds without problems on a 10g R2 (10.2.0.2.0) instance with Workspace Manager version 10.2.0.3.1. The statement is also executed successfully on the 10g R1 instance if the table is not version-enabled.
Any help on this would be appreciated.
ThanksHi,
I would recommend filing a TAR in this one. The only ora-22813 error involving workspace manager and geometry columns that I know about involves queries that need to sort data for which the size of the geometry column was >30k. Does the execution plan for the delete statement involve any kind of sort? However, this is an old 9.2 bug, that I believe was fixed for all 10.1 and newer releases.
Does the same error happen if you do not use the subquery?
Regards,
Ben -
Oracle Error code: 1116, message: ORA-01116: error in opening database file
Hi ,
Please advise on this error message
Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf'
All these while, the dashboard working well in my local computer application with server database.
Just discovered this error when I refresh the data.
Kindly advise.
Thanks,
Kim Yokethe more detail error is
Oracle Error code: 1116, message: ORA-01116: error in opening database file 203 ORA-01110: data file 203: '/u02/app/oracle/oradata/ubidev12/dbf/temp03.dbf' ORA-27041: unable to open file SVR4 Error: 2: No such file or directory Additional information -
ORA-20100: ORA-01116: error in opening database file
Hi -
I'm hitting this error for the first time. Anyone encountered this before? Any suggestions will be very appreciated. Thanks!
141 EXCEPTION
142
143 when others then
144 raise_application_error('-20100',SQLERRM);
145 End;
146 /
20080207
20080312
Declare
ERROR at line 1:
ORA-20100: ORA-01116: error in opening database file
ORA-06512: at line 144Thanks Satish for your reply.
I let the DBA know and he was first suspecting a corrupted data file, but found no errors in the log. So, he was not sure why we got the error.
We just re-ran and it went through fine the next time. strange though... -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
ORA-0907 error when querying XMLDB Table using XMLExists
Hi All,
Get ORA-00907 error when trying to use XMLExists:
SELECT *
FROM tnmab_agreement_xml_binary A
WHERE
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
OR
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers[Value="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
ORA-00907: missing right parenthesis
*00907. 00000 - "missing right parenthesis"*
**Cause:*
**Action:*
Error at Line: 6 Column: 176
Any help is appreciated
Thanks
AuroXMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]'
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")no ')' after the closing quote
Maybe you are looking for
-
I had my iPhone for 1 year and some months and my iPhone5 charger is coming a lose. Insane Apple fix it!! People can get hurt from the open cord.
-
Why we need to restart server when we compile servlet (not for jsp)
hi why we need to restart server/appln when we compile servlet . same thing is not true for jsp as jsp converts to servlets then also it need not require restart of server/appln. Danny
-
Hello All, I am getting a error while executing Intercompany scenario. the details as below, I have two sales org- 2000 / US / US -- selling org and Plant is 2000 , CC- US01 3000 / MX / MX--- delivering org and Plant is 3000, CC-MX01 I have completed
-
How can I edit BusinessRule very fast?
Hello Folks, Is there a way to edit the business rules from a different place than the included web editor? Editing is very tedious and time-consuming in this editor.I would like to edit something like a text file where I can move around blocks in my
-
Why won't safari update after recent iOS update?
I have done the most recent iOS update and my safari is still operating on the 5.1.10 version. Is this the most recent version? When I go to some websites it signals that it's outdated. Please help!