ORA-01184: logfile group 1 already exists
After startup nomount, I try to create database as follows:
CREATE DATABASE SISDEV04
LOGFILE GROUP 1 '/sisdev04/dbs/log01a.dbf'
SIZE 10M
, GROUP 1 '/sisdev04/dbs/log01b.dbf'
SIZE 10M
, GROUP 2 '/sisdev04/dbs/log02a.dbf'
SIZE 10M
, GROUP 2 '/sisdev04/dbs/log02b.dbf'
SIZE 10M
NOARCHIVELOG
CHARACTER SET ZHT16BIG5
NATIONAL CHARACTER SET ZHT16BIG5
DATAFILE '/sisdev04/dbs/system01.dbf'
SIZE 210M AUTOEXTEND OFF
, '/sisdev04/dbs/rbs01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/temp01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/users01.dbf'
SIZE 1050M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ivr01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ivr01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
However, I receive such error:
ORA-01501: CREATE DATABASE failed
ORA-01184: logfile group 1 already exists
I have checked that there is no files in '/sisdev04/dbs/' before I issue the command, what can I do?
Hello...
Excuse me..
May be I have same problem..
I use Oracle Streams to replicate table in one to another database. While i configure setup replication occur this errror.
How to resolve this problem i have?
SQL> SQL> Connecting to source database as STRMADMIN
SQL> Executing ..
SQL> connect STRMADMIN/******
SQL> Connected.
SQL> SQL> SQL> Executing ..
SQL> DROP DATABASE LINK DBSTG
SQL>
Database link dropped.
SQL> SQL> Executing ..
SQL> CREATE DATABASE LINK DBSTG connect to strmadmin identified by ****** using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.4.10.21)(PORT=1521)))(CONNECT_DATA=(SID=dbstg)(server=DEDICATED)))'
SQL>
Database link created.
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_CONFIG='DG_CONFIG=(dbstg,dbsd)' scope=both
SQL>
System altered.
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_3='SERVICE="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.4.10.21)(PORT=1521)))(CONNECT_DATA=(SID=dbstg)(server=DEDICATED)))" ASYNC NOREGISTER VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=dbstg' scope=both
SQL>
System altered.
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_3=DEFER scope=both
SQL>
System altered.
SQL> CONNECT TO DOWNSTREAM DB AND SETUP LOG PARAMS
SQL> Executing ..
SQL> connect strmadmin/******@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.4.10.21)(PORT=1521)))(CONNECT_DATA=(SID=dbstg)(server=DEDICATED)))
SQL> Connected.
SQL> SQL> Executing ..
SQL> DROP DATABASE LINK DBSD
SQL>
Database link dropped.
SQL> SQL> SQL> Executing ..
SQL> CREATE DATABASE LINK DBSD connect to STRMADMIN identified by ****** using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t0031)(PORT=1521)))(CONNECT_DATA=(SID=dbsd)(server=DEDICATED)))'
SQL>
Database link created.
SQL> Executing ..
SQL> CREATE OR REPLACE DIRECTORY STANDBY_LOG_LOC AS '/u01/app/oracle/admin/dbstg/srl_dbsd/'
SQL>
Directory created.
SQL> 1* CREATE OR REPLACE DIRECTORY STANDBY_LOG_LOC AS '/u01/app/oracle/admin/dbstg/srl_dbsd/'
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_CONFIG='DG_CONFIG=(dbstg,dbsd)' scope=both
SQL>
System altered.
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_3=ENABLE scope=both
SQL>
System altered.
SQL> Executing ..
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_3='LOCATION=/u01/app/oracle/admin/dbstg/srl_dbsd/ VALID_FOR=(STANDBY_LOGFILE,PRIMARY_ROLE)'scope=both
SQL>
System altered.
SQL> Executing ..
SQL> ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('/u01/app/oracle/admin/dbstg/srl_dbsd/log4a.rdo', '/u01/app/oracle/admin/dbstg/srl_dbsd/slog4b.rdo') SIZE 104857600
SQL> ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 ('/u01/app/oracle/admin/dbstg/srl_dbsd/log4a.rdo', '/u01/app/oracle/admin/dbstg/srl_dbsd/slog4b.rdo') SIZE 104857600
ERROR at line 1:
ORA-01184: logfile group 4 already exists
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Error from SQLPLUS: 160
Similar Messages
-
ORA-27038: created file already exists
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
RMAN-03009: failure of backup command on t1 channel at 01/06/2013 21:24:49
ORA-19504: failed to create file "/oradbs/disk_bakup/amx53s/amx53s_arch_060113_1747"
ORA-27038: created file already exists
MY RMAN SCRIPT:
export ORACLE_HOME
ORACLE_SID=amx53s
export ORACLE_SID
date=`date '+%d%m%y_%H%M`
JOBLOG=/oradbs/disk_bakup/amx53s/amx53s.rman_$date.log
$ORACLE_HOME/bin/rman target / NOCATALOG log "$JOBLOG" <<EOF
run {
allocate channel t1 type disk;
backup
format '/oradbs/disk_bakup/amx53s/amx53s_offline_$date'
tag='amx53s_offline'
database;
backup
format '/oradbs/disk_bakup/amx53s/amx53s_arch_$date'
tag='amx53s_ARC_Tape_backup'
archivelog all delete input ;
backup current controlfile format '/oradbs/disk_bakup/amx53s/amx53s_Ctl_$date';
crosscheck backup;
release channel t1;
}Hi,
format '/oradbs/disk_bakup/amx53s/amx53s_offline_$date'Can you modify output file format to amx53s_offline_%p_%s_$date to add piece number set number to make the outpfile name unique? Because here RMAN is creating a backup set with the name you are providing, and then for next backup set, it uses same name and thats why returns you error message of "file already exists". If you second backup set is created on next minute, file name will be different, but if in the same minute, file name will be same and this error will come.
Salman -
ActivationException: group already exists
I'm trying to clean up after setting up an activation group and binding.
The only APIs available are on the ActivationSystem for unregisterGroup() and unregisterObject().
Thus, I have used both of these methods in the clean up process, but I am still getting the ActivationException when I try to register the ActivationGroup again.
The reason for wanting to clean up after activation and binding, is because I'm writing JUnit tests and I want to setup and tear-down the RMI Activation for each test case.
Exception :-
java.rmi.activation.ActivationException: group already exists
at java.rmi.activation.ActivationGroup.createGroup(ActivationGroup.java:272)Calling a method on the object. If the object's group isn't running RMID will cause it to run; if the object isn't running in the group the group will cause it to run. This is what activation is actually. Calling the method first communicates with RMID to ensure that everything is up.
EJP -
Ora-31684: Object type already exists with TABLE_EXISTS_ACTION=REPLACE
I want to export using expdp my procedures / functions /packages and triggers from a dev system use impdp to import the new versions into a test system
However, I just get ora-31684: Object type PACKAGE_BODY already exists all the time
I have set TABLE_EXISTS_ACTION=REPLACE but that has made no difference
expdp username/xxxxx@devdb parfile=scripts/cloud_code.par
cloud_code.par:
SCHEMAS=aspasia
DIRECTORY=cloud_upg
DUMPFILE=cloud_code.dmp
LOGFILE=cloud_codeexp.log
INCLUDE=procedure
INCLUDE=function
INCLUDE=package
INCLUDE=trigger
# INCLUDE=index
# INCLUDE=sequence
# INCLUDE=synonym
JOB_NAME=CLOUD_CODE
impdp username/xxxxx@testdb SCHEMAS=aspasia DIRECTORY=cloud_upg DUMPFILE=cloud_code.dmp LOGFILE=cloud_codeimp.log TABLE_EXISTS_ACTION=REPLACE
sample from the logfile:
Import: Release 11.2.0.1.0 - Production on Mon Jan 16 10:53:43 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Master table "ASPASIA"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
Starting "ASPASIA"."SYS_IMPORT_SCHEMA_01": username/********@testdb SCHEMAS=aspasia DIRECTORY=cloud_upg DUMPFILE=cloud_code.dmp LOGFILE=cloud_codeimp.log TABLE_EXISTS_ACTION=REPLACE
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SERVICE_LEVELS_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SERVICE_LEVEL_OPT_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SERV_LEV_CHRG_SETUP_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SHEET_SETUP_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SHEET_SETUP_FORM_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SITES_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SITES_FORM_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SITES_UTL_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SITE_EMP_VIEWINGS_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SPA_GMAIL" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SPA_OAUTH" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SUMMARY_PDF_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SUPPLIERS_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SUPPLIER_FORM_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SUPPLIER_UTL_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."SYSTEM_IMAGES_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."TASKS_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."TENANCY_REPORTS_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."TENANTS_DML_K" already exists
ORA-31684: Object type PACKAGE_BODY:"ASPASIA"."TEXT_MESSAGING_K" already exists
I've searched the forums and can't seem to find a solution as everyone just recommends TABLE_EXISTS_ACTION=REPLACE
I have also tried adding INCLUDE=PACKAGE_BODY to the impdb command but that still gives the same result and none of my packages have been updated
Thanks
RobertThanks for your reply, that would explain why it doesn't work :)
I am trying to update the test databases code with all the code from the development system (serveral hundred objects) ... I can just genereate and run a "drop <object_type> <object_name>" from user_objects on the test database first .... or just create scripts from user_source .... but it would be easier (and save a little time) just to export and import in one go -
ORA- 31684 Object type already exists while import
Hi All,
I wrongly imported a user schema "AP_PD@SRV01" to user "A_IT@SRV02" (Instead of "AP_IT@SRV02").
User AP_IT and Tablespaces are already exists and used remap option while import.
remap_schema=AP_PD:A_IT (instead of mapping to user AP_IT, I misspelled as A_IT)
remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
After successful import to "A_IT@SRV02", I deleted the user "A_IT"
SQL> DROP USER A_IT CASCADE;
I restarted the import to the correct user schema .. i.e AP_IT@SRV02
remap_schema=AP_PD:AP_IT remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
and import was completed with the following errors
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"AP_IT" already exists
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
ORA-31684: Object type PACKAGE:"AP_IT"."DBMS_NUMSYSTEM" already exists
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-31684: Object type PACKAGE_BODY:"AP_IT"."DBMS_NUMSYSTEM" already exists
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 3 error(s) at 07:53:32
My questions ...
1.Can I assume that import was success as these objects were already exists.
2.Does this effect in anyway to the end users if I ignore this errors assuming import was successful.
3.If import is not a success then what should be my next step to import successfully.
Thanks.Ven wrote:
Hi All,
I wrongly imported a user schema "AP_PD@SRV01" to user "A_IT@SRV02" (Instead of "AP_IT@SRV02").
User AP_IT and Tablespaces are already exists and used remap option while import.
remap_schema=AP_PD:A_IT (instead of mapping to user AP_IT, I misspelled as A_IT)
remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
After successful import to "A_IT@SRV02", I deleted the user "A_IT"
SQL> DROP USER A_IT CASCADE;
I restarted the import to the correct user schema .. i.e AP_IT@SRV02
remap_schema=AP_PD:AP_IT remap_tablespace=AP_PD_DATA:AP_IT_DATA remap_tablespace=AP_PD_INDEX:AP_IT_INDEX
and import was completed with the following errors
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"AP_IT" already exists
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
ORA-31684: Object type PACKAGE:"AP_IT"."DBMS_NUMSYSTEM" already exists
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-31684: Object type PACKAGE_BODY:"AP_IT"."DBMS_NUMSYSTEM" already exists
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 3 error(s) at 07:53:32
My questions ...
1.Can I assume that import was success as these objects were already exists.
2.Does this effect in anyway to the end users if I ignore this errors assuming import was successful.
3.If import is not a success then what should be my next step to import successfully.
Thanks.You mentioned AP_IT schema and tablespaces already exist before doing first import itself.
Did you check the list of objects in AP_IT schema before performing import?
The following error is just an informational message and can be ignored:
ORA-31684: Object type USER:"AP_IT" already exists
But, the other 2 errors which says that package +"AP_IT"."DBMS_NUMSYSTEM" already exists+ means you have package in AP_IT schema and it wasn't replaced from the dump you imported. If you need the package from the dumpfile, you can drop the package and can import PACKAGE alone.
Hope this helps.
Regards,
Murali Mohan -
Restore (file already exists)
Hello
1-)Why does restore fail in below scenerio?
2-)'C:\TEST.DBF' datafile is not in my backupset,Why oracle attempts to restore it?
rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jul 26 12:29:42 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: XE (DBID=2563855341)
RMAN> backup database;
Starting backup at 26-JUL-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=38 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00003 name=C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
input datafile fno=00001 name=C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
input datafile fno=00002 name=C:\ORACLEXE\ORADATA\XE\UNDO.DBF
input datafile fno=00004 name=C:\ORACLEXE\ORADATA\XE\TEST1.DBF
input datafile fno=00005 name=C:\ORACLEXE\ORADATA\XE\TEST2.DBF
input datafile fno=00006 name=C:\ORACLEXE\ORADATA\XE\TUNTEMP.DBF
channel ORA_DISK_1: starting piece 1 at 26-JUL-09
channel ORA_DISK_1: finished piece 1 at 26-JUL-09
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2009_07_26\O1_MF_NNNDF_TAG20090
726T122957_56R8JRNJ_.BKP tag=TAG20090726T122957 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:18
Finished backup at 26-JUL-09
Starting Control File and SPFILE Autobackup at 26-JUL-09
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693232337_5
6R8O2N0_.BKP comment=NONE
Finished Control File and SPFILE Autobackup at 26-JUL-09
C:\Documents and Settings> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 26 12:32:44 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
sys@XE> create tablespace test datafile 'C:/test.dbf' size 3m;
Tablespace created.
sys@XE> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
RMAN> restore database;
Starting restore at 26-JUL-09
using channel ORA_DISK_1
creating datafile fno=7 name=C:\TEST.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/26/2009 12:41:17
ORA-01119: error in creating database file 'C:\TEST.DBF'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already existsIf I restore old controlfile, it again gives the same error,old controlfile doesnt aware of the new tablespace, and this new datafile is not in my backupset. so why it gives this error?
RMAN> restore controlfile from autobackup;
Starting restore at 26-JUL-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=35 devtype=DISK
recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
database name (or database unique name) used for search: XE
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_
07_26\O1_MF_S_693234306_56RBLMM1_.BKP
channel ORA_DISK_1: control file restore from autobackup complete
output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
Finished restore at 26-JUL-09
RMAN> restore database;
RMAN-03002: failure of restore command at 07/26/2009 12:41:17
ORA-01119: error in creating database file 'C:\TEST.DBF'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already existsHi Bobo Dasilva,
What you showed according to your output is you created an autobackup without the info on the datafile called:
C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693232337_56R8O2N0_.BKP
Than you created the tablespace which implictly created a new controlfile autobackup because you changed the structure of the database.
C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2009_07_26\O1_MF_S_693234306_56RBLMM1_.BKP
This last controlfile autobackup is than used by the restore process which is the reason the controlfile is aware of the extra added datafile.
Best would be to to force the restore of the controlfile from O1_MF_S_693232337_56R8O2N0_.BKP if you want the controlfile not to contain the info.
Regards,
Tycho -
EXPDP generates new dmp file and reports "file already exists" error
Hello everyone,
Hope you all had a wonderful holiday. I got some problems with datapump expdp 10.2.0.4. It would be appreciated if you could provide some advice. Thanks in advance.
I newly created a 10.2.0.4 database. The database can startup and be connected via Toad without problem. I can also use impdp to import some data to the new database. But when I'm trying to use expdp to export a schema from the database, I got the following errors:
expdp parfile=expdp_scott_mfp1.parExport: Release 10.2.0.4.0 - 64bit Production on Monday, 26 December, 2011 22:10:49
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31641: unable to create dump file "/u02/exports/mfp1/expdp_scott_mfp1_12262011.dmp"
ORA-27038: created file already exists
Additional information: 1
Every time I run the expdp, it just creates the dmp file (expdp_scott_mfp1_12262011.dmp) specified in the parfile under the EXPORT directory and reports "file already exists " error.
Your advice is highly appreciated.
Thanks.
Edited by: 904668 on Dec 27, 2011 8:47 AMi thought I found the problem. Used same file name on dump file and log file. How stupid of me. Sorry for bothering. Thanks and happy new year!
-
Can someone please explain what causes this error:
OCA-30023: error fetching result set
[POL-3253] group file already exists
I am using Oracle Lite 8. I have created a view that returns all records from a table with the related data from other tables. Whenever I use this view in a query, adding a where clause with a date range, I get the above mentioned error. This only happens when the database is open in another application. If I use the view in a query without a where clause, it works fine, but I get more data than I want to view. The view is shown below.
Thanks for any info.
John Valentino
create view EventViewEx
(EventIndex,LogDate,Tool,ModuleId,Module,Type,Event,StrDesc1,StrDesc2,StrDesc3,StrDesc4,IntDesc1,FptDesc1,UserName) as
select Event.EventIndex,
Event.EventDate,
Tool.ShopOrder,
Event.ModuleID,
Module.ModuleName,
Event.EventType,
Names.Name,
Event.EV_StrDesc1,
Event.EV_StrDesc2,
Event.EV_StrDesc3,
Event.EV_StrDesc4,
Event.EV_IntDesc1,
Event.EV_FptDesc1,
Users.UserName
from Event,
Names,
Module,
Tool,
Users
where Event.ToolIndex = Tool.ToolIndex
and Event.NameId = Names.NameId
and Event.ModuleId = Module.ModuleId
and Event.UserIndex = Users.UserIndex;Thanks John. We downloaded the omwb13100 zip file.
Instead of using the default repository, I tried to log-in to a database on the local NT machine to recreate a new repository. Everything went fine afterwards.
We're all set for now but it would be nice to find out what happened to the default repository. Thank you. -
POL-3253 - Group file already exists
We have a daily process that converts MS Access 97 to Oracle using Migration Workbench. This has been working fine until we got the following error from the error.log file:
EXCEPTION :LoggingImpl._writeLog java.sql.SQLException: [POL-4202] can't update while select is active in read-committed mode
EXCEPTION : LoadTableData.run() : [POL-3253] group file already exists
Is there any site that I can look up this error message or can somebody please tell me what this meant? Thanks.
nullThanks John. We downloaded the omwb13100 zip file.
Instead of using the default repository, I tried to log-in to a database on the local NT machine to recreate a new repository. Everything went fine afterwards.
We're all set for now but it would be nice to find out what happened to the default repository. Thank you. -
Hi All,
We are installing AIA FP 11.1.1.7 on SOA Suite 11.1.1.7(no patch has been applied, after SOA Suite ODI 11.1.1.7 is installed on it) this is for AIA Comms 11.4 PIP. Below error can be seen in oracle inventory logs while installing AIA FP11.1.1.7 -
BUILD FAILED
/u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/AIAExecuteDriver.xml:223: The following error occurred while executing this line:
/u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/AIAExecuteDriver.xml:65: The following error occurred while executing this line:
/u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/AIDExecuteDP_temp_2130290318.xml:12: The following error occurred while executing this line:
/u02/app/Oracle/Middleware/AIAHOME/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:298: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
Also before this i can see,
[exec] Command FAILED, Reason: JPS-04201: Cannot grant permission(s). Grant already exists for grantee [GranteeEntry: codeSource=file:${soa.oracle.home}/soa/modules/oracle.soa.ext_11.1.1/classes/oracle/apps/aia/core/util/- principals=[]].
[exec]
[exec] WARNING!!! Grant already exists for grantee.
[exec] No stack trace available.
[exec] Disconnected from weblogic server: AdminServer
[delete] Deleting: /u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/keyFile
[delete] Deleting: /u02/app/Oracle/Middleware/AIAHOME/aia_instances/DEVAIA/tmp/propFile
Also,
In processFieldStringXREF Admin Password
In processFieldStringJMSDB Temporary Tablespcae
In processFieldStringInvalid Database Schema name - Is this an error
In processFieldStringAIA Lifecycle Port
In processFieldStringAIADB SYS. USER
In processFieldStringInvalid Database Schema name
In processFieldStringJMSDB Default Tablespcae
In processFieldStringXREF SYS. USER
do anyone had idea on it, we are installing on Solaris SPARC machine.
Thanks and Warm Regards,
RR -
ORA-31684: Object type PACKAGE_BODY: already exists while doing Import
Hello,
While doing IMPDP actvity i am getting messages like ORA-31684: Object type PACKAGE_BODY:"APPS"."AZ_DELETE" already exists.
Complete Import log file, same messages were encountered like already exists .
Can you please let us know, whether it is ignorable, beacuse object already exists Or any workaround.
Thanks,
DBACan you please let us know, whether it is ignorable, beacuse object already exists Or any workaroundI wouldn't say its ignorable.We don't know if the package body is same or not.Was you requirement to import full schema? If so did you drop all the objects or schema and then imported?
Anand -
Ora-23404:refresh group HR.MV_EMP does not exist
Hi,
i am getting following error when refreshing materialized view ,
exec dbms_refresh.refresh('HR.MV_EMP');
ORA-23404: refresh group "HR.MV_EMP" does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.DBMS_REFRESH", line 23
ORA-06512: at "SYS.DBMS_REFRESH", line 195
ORA-06512: at line 1
Thanks,Mohammed,
The DBMS_REFRESH package works on groups of materialized views, not single views. The argument you pass should be the name of a group of views, not the name of a view. There is no group called MV_EMP, hence the error.
To use this you would need to create a group using:
DBMS_REFRESH.MAKE (groupname, view_list, parameter_list)
where view_list is a list of materialized views to include in the group, and parameter_list defines various properties of the group, including when it is refreshed.
followed by:
DBMS_REFRESH.REFRESH (groupname)
See this link for further information:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrefreshpac.htm#i94057
If you just want to refresh this single view, though, it is better to use the DBMS_MVIEW package:
DBMS_MVIEW.REFRESH ('HR.MV_EMP')
Edited by: user10827032 on 20-Jan-2009 07:10 -
Impdp ORA-31684: Object type USER:"USERNAME" already exists
Hi,
I use expdp/impdp to duplicate one schema in a database like this:
expdp system/manager@DB SCHEMAS=SCHEMANAME
then I drop destination Schema like this
drop user SCHEMANAME_NEW cascade;
create user SCHEMANAME_NEW identified by PW default tablespace TABLESPACENAME;
and impdp like this
impdp system/manager@DB FULL=Y REMAP_SCHEMA=SCHEMANAME:SCHEMANAME_NEW
and I get this error:
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"SCHEMANAME_NEW" already exists
I know that the import was successful, but this error breaks my hudson build.
I tried to add exclude like this
impdp system/manager@DB FULL=Y REMAP_SCHEMA=SCHEMANAME:SCHEMANAME_NEW exclude=USER:\"=\'SCHEMANAME_NEW\'\"
I need to get rid of this error.
ThxYou get this error because you precreated the user. All you need to do is add
exclude=user
to either your expdp or impdp command. Or let impdp create the user for you. If you need it to have a different tablespace you can just use the
remap_tablespace=old_tbs:new_tbs
This should take care of the default tablespace on the create user command.
Dean -
Pb importing already-existing pages - ORA-01403: no data found
Hi,
I get an issue when trying to import a page already existing on my target environment.
The problem does not occur during the import, but when trying to edit the page, once imported.
I get the following error message:
Error: ORA-01403: no data found
Note that this problem does not appear if I export/import the entire pagegroup, but only when exporting/importing
one or several pages independently.
Thanks for your help,
Best Regards,
Jean-ChristopheWWV_FLOW_FILES is a view that will show different data based on which schema you are working in. If you do a:
select * from wwv_flow_files
from within the schema you are developing in are you seeing any data? -
ORA-00955: name is already used by an existing object
Hi,
I got blow error while upgrading 12.1.1 to 12.1.3, please suggest me how to move forward...
This will be grate help for me....
sqlplus -s MTH/***** @/d01/VIS/apps/apps_st/appl/mth/12.0.0/patch/115/sql/mth_pre_upgrade.sql
Connected.
DECLARE
ERROR at line 1:
ORA-00955: name is already used by an existing object
ORA-06512: at line 59
Regard
sureshHi,
blow is the sql query....
/* $Header: mth_pre_upgrade.sql 120.0.12010000.15 2010/06/11 08:45:13 sdonthu noship $ */
REM dbdrv: sql ~PROD ~PATH ~FILE none none none sqlplus_owner &phase=con \
REM dbdrv: checkfile:~PROD:~PATH:~FILE
REM
REM UPDATE SCRIPT FOR MOC
REM
REM DESCRIPTION: Upgrade script for MOC.
REM
REM History:
REM
REM Yong Feng 11/3/08 Rename non-partitioned staging tables to be
REM to be removed later on
REM
SET VERIFY OFF;
WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
WHENEVER OSERROR EXIT FAILURE ROLLBACK;
DECLARE
CURSOR c_non_p_stg_tables IS
SELECT table_name
FROM USER_TABLES
WHERE partitioned = 'NO' AND
TABLE_NAME in
('MTH_DAY_STG','MTH_DIM_HIERARCHY_STG','MTH_DIM_LEVEL_LOOKUP_STG',
'MTH_EQUIPMENTS_STG','MTH_EQUIP_HIERARCHY_STG','MTH_EQUIP_OUTPUT_STG',
'MTH_EQUIP_PROD_PERFORMANCE_STG','MTH_EQUIP_PROD_SCHEDULE_STG',
'MTH_EQUIP_STANDARD_RATES_STG','MTH_EQUIP_STATUSES_STG','MTH_ITEMS_STG',
'MTH_ITEM_CATEGORIES_STG','MTH_ITEM_COST_STG','MTH_ITEM_HIERARCHY_STG',
'MTH_MTL_CONSUMED_TXN_LOT_STG','MTH_MTL_PRODUCED_TXN_LOT_STG',
'MTH_PERIOD_STG','MTH_PERSONNEL_STG','MTH_PRODUCTION_SCHEDULES_STG',
'MTH_PRODUCTION_SEGMENTS_STG','MTH_PROD_MTL_CONSUMED_STG',
'MTH_PROD_MTL_CONSUMED_TXN_STG','MTH_PROD_MTL_PRODUCED_STG',
'MTH_PROD_MTL_PRODUCED_TXN_STG','MTH_PROD_SEGMENTS_TXN_STG',
'MTH_PROD_SUB_SEGMENTS_STG','MTH_QUARTER_STG','MTH_RESOURCES_STG',
'MTH_RESOURCE_COST_STG','MTH_RESOURCE_REQUIREMENTS_STG',
'MTH_RESOURCE_TXN_STG','MTH_TIME_HIERARCHY_STG',
'MTH_USER_DIM_ENTITIES_STG','MTH_USER_DIM_HIERARCHY_STG',
'MTH_WEEK_STG','MTH_WORKDAY_SHIFTS_STG','MTH_WO_SALES_ORDERS_STG',
'MTH_YEAR_STG','MTH_TAG_READINGS_RAW','MTH_EQUIP_ENTITIES_STG');
CURSOR c_mth_resources_d IS
SELECT table_name
FROM USER_TABLES where table_name='MTH_RESOURCES_D';
v_rename_query VARCHAR2(200);
v_drop_query VARCHAR2(200);
v_res_query VARCHAR2(300);
v_table_name VARCHAR2(100);
v_tmp_table_name VARCHAR2(100);
v_update_eqp_prd_prfrm VARCHAR2(200);
v_res_tab VARCHAR2(100);
BEGIN
FOR table_name_rec IN c_non_p_stg_tables LOOP
v_table_name := table_name_rec.table_name;
-- rename table from MTH_WEEK_STG to be MTH_WEEK_S_P
v_tmp_table_name := substr(v_table_name, 1, (Length(v_table_name) -2)) || '_P';
v_rename_query := 'ALTER TABLE ' || v_table_name || ' rename to ' ||
v_tmp_table_name ;
-- v_drop_query := 'DROP TABLE ' || v_table_name;
--BEGIN
EXECUTE IMMEDIATE v_rename_query;
--EXCEPTION
--WHEN OTHERS THEN
--BEGIN
--EXECUTE IMMEDIATE v_drop_query;
--EXCEPTION
--WHEN OTHERS THEN NULL;
--END;
--END;
END LOOP;
FOR table_res_d IN c_mth_resources_d LOOP
v_res_tab := table_res_d.table_name;
v_res_query := 'CREATE TABLE MTH_RESOURCES_D_TEMP AS SELECT * FROM '|| v_res_tab;
EXECUTE IMMEDIATE v_res_query;
EXECUTE IMMEDIATE 'TRUNCATE TABLE MTH_RESOURCES_D';
END LOOP;
END;
commit;
exit;
Maybe you are looking for
-
How do you put Voice Memos from iPhone to computer?
I've had a very long chat with Apple Support and they don't seem to know the answer. My voice memos are important and are above 30MB so emailing isn't an option. I first synced my memos to my iTunes as usual (music doesn't sync with the library, bear
-
Downloading apps in "third world" countries HELP
I live in Serbia and bought Ipod touch (2g) in USA. Got new version of software. I wanna dl some free apps like msg and fb. How??? I made Apple ID, but always get lost at some payment and cards stuff. Is it possibly to dl FREE apps with original Ipod
-
Dear wise friends, I was careless and started dragging photos from my iPhoto Albums folder, which is inside the iPhoto Library folder, which is inside the Pictures folder under my user name on the Hard drive. I didn't notice until after I dragged a c
-
Zen MicroPhoto will not STOP charg
Recently my MicroPhoto will not stop charging. I had it plugged in for a long time and it wasn't done charging yet and I thought for sure it had to be because it was charging for a few hours and the battery was only about 50% used. So I unplugged it
-
Why has the Whites slider name gone missing (LR 5.3)?
In LR 5.3 on Win7 64. In the Develop module, Basic panel, there are 4 sliders, named Highlights, Shadows, Whites, and Blacks. At the moment, I have all four sliders, but the control name for Whites has gone missing. The slider is there, it works (app