ORA-12154- during creation new database
Hi All,
when creating new database I I get this ora error ORA-12154 , Step : copying database files.
Could you please help ?
Thanks,
Hi,
ORA-12154:
TNS:could not resolve the connect identifier specified
Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
Action:
- If you are using local naming (TNSNAMES.ORA file):
- Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
- Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
- Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
- Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
- If you are using directory naming:
- Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Verify that the LDAP directory server is up and that it is accessible.
- Verify that the net service name or database name used as the connect identifier is configured in the directory.
- Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
- If you are using easy connect naming:
- Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Make sure the host, port and service name specified are correct.
- Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
Similar Messages
-
RC-00118: Error occurred during creation of database
adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
The environment settings are as follows ...
ORACLE_HOME : /u04/d01/tech_st/11.2.0
ORACLE_SID : JCLONE
TWO_TASK :
PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
The log information will be written to
/u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
Creating the control file for JCLONE_oracle database ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
Database mounted.
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01119: error in creating database file
'/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracle
sDbDomain : jtl.co.ke
sDbPort : 1524
sDbSid : JCLONE
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
Current database Version is 11.2.0.2
Apps Version is 11.5.10.2
RUP version is 6
Forms Patchset version is 19
Please advise how to resolve this error ?
Regards
Mohammed.Please refer to these docs/links.
Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
RC-00118: Error occurred during creation of database Raised by oracle.apps.
Hi Experts,
Please note i am doing the clonning from production to test server.
Production Server -
1. Run the adpreclone.pl on the apps & db tier.
2. run the autoconfig on the apps and db tier.
3. shut down the production instance.
4. Moved the files and started the clonning process on the db tier i am getting the below issue.
My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
The environment settings are as follows ...
ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
Creating the control file for TEST_proddb database ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
Please advise ASAP.
Regards
Mohammed.Nikki,
Check alert<SID>.log file for more details about the error.
It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
SQL> connect / as sysdba
SQL> startup mount;
SQL> recover database using backup controlfile until cancel;
-- type CANCEL
SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again. -
Cloning Issue RC-00118: Error occurred during creation of database
Friends,
I execute following scripts on source system preclone.pl dbTier &perl adpreclone.pl appsTier
then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
-------------------ADX Database Utility Finished--------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.DelegatingConstructorAccessorImpl.newIn rce)
at java.lang.reflect.Constructor.newInstance(Unknown S
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
at java.lang.Thread.run(Unknown Source)
Hopes you will support.
Regards
Irfan Ahmadplz check :
http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
Regards,
Haafiz -
Ora-12154 after creation of second database
DB 10g ver 10.1.0.2.0
OS Windows server 2003 32bit +sp1
Summary:
Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
Full:
Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
I can tnsping both database1 and database2 and lsnrctl status shows
Service "database1" has 1 instance(s).
Instance "database1", status READY, has 1 handler(s) for this service...
Service "database1XDB" has 1 instance(s).
Instance "database1", status READY, has 1 handler(s) for this service...
Service "database2" has 1 instance(s).
Instance "database2", status READY, has 1 handler(s) for this service...
Service "database2XDB" has 1 instance(s).
Instance "database2", status READY, has 1 handler(s) for this service...
I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
TIA
Will
.Hi,
Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
I have added an extra section as suggested to the listener.ora, it now reads
# listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dm)
(ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
(SID_NAME = dm)
(SID_DESC =
(GLOBAL_DBNAME = medline)
(ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
(SID_NAME = medline)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
running lsnrctl services gives:
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
:10
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
21)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "dm" has 2 instance(s).
Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0
LOCAL SERVER
Instance "dm", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "dmXDB" has 1 instance(s).
Instance "dm", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
(ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
Service "medline" has 2 instance(s).
Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "medline", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
Service "medlineXDB" has 1 instance(s).
Instance "medline", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
(ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
The command completed successfullywith the original listener.ora file lsnrctl services gave
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
:13
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
21)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "dm" has 1 instance(s).
Instance "dm", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "dmXDB" has 1 instance(s).
Instance "dm", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
(ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
Service "medline" has 1 instance(s).
Instance "medline", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "medlineXDB" has 1 instance(s).
Instance "medline", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
(ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
The command completed successfully -
ORA-30014 When creating new database manually
Greetings!
OS : Windows XP
Oracle Version : 10g
I'm trying to install Peopelsoft Database into a newly created Oracle seed database, I have tested my seed database looging into SYS user.. it works with no issues.
Im going through the Step by step instructions from the people soft installation document.
Step #1
Create Ini.ora for new DB. I named it as HDMO
DB_NAME = HDMO
DB_FILES = 1021
OPEN_CURSORS = 1000
db_block_size = 8192
And placed it into database folder. C:\oracle\product\10.2.0\db_1\database
Step #2
Created ORACLE_SID Environemnt Variable. ORACLE_SID = HDMO
Step #3
Created Windows Service...
oradim -new -sid HDMO -intpwd manager -startmode auto -pfile C:\oracle\product\10.2.0\db_1\database\inithdmo.ora
Database service created succefully, and im able to start & stop activites without issues.
Step #4
Then manual creation of database as mentioned....
REMARK startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
CREATE DATABASE HDMO
maxdatafiles 1021
maxinstances 1
maxlogfiles 8
maxlogmembers 4
CHARACTER SET WE8ISO8859P15
NATIONAL CHARACTER SET UTF8
DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\hdmo\temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "PSUNDOTS" DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\psundots01.dbf' SIZE 300M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\hdmo\redo01.log') SIZE 100M, GROUP 2 ('C:\oracle\product\10.2.0\oradata\hdmo\redo02.log') SIZE 100M,
GROUP 3 ('C:\oracle\product\10.2.0\oradata\hdmo\redo03.log') SIZE 100M;
Entered into SQLPLUS ' as / sysdba' from Command prompt...
ran above script...
Encountered the following error....
ORA-30014 Operation only supported in Automatic Undo Management Mode
I read some where found that I can get around with it, by adding... UNDO_MANAGEMENT = AUTO in my Inithdmo.ora file.. I did it..
then it yield to diffrent error...
After i login into SQL prompt.. first it says.. "*CONNECTED TO AN IDLE Instance*" then i ran my create database
script... but it says...
ORA-01034 ORacle Not available
Can someone help me here....
Thanks in advance....I tried with the following... Uncommented... (Previosuly it was REMARK ed)
startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
there was an error message ORA-01081 Cannot start already running Oracle - shut it down first.
I stop the service and ran the script.. it says NOT CONNECTED to ORACLE.
Is shutdown means stopping the service? -
Error ORA-12560 during creation database on oracle 11.2.0.1
Hi,
I'm just installed 11g r2 (11.2.0.1) on system Sun Solaris 10.
After install i would create a db with dbca, but at the end of the configuraton, when the creation begin, apperars ORA-12560 error.
Any idea?
tks
maxI set the ORACLE_HOSTNAME environment variable end the result of lsnctrl status now is:
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 25-JAN-2010 16:16:02
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.102.0.3)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 25-JAN-2010 15:57:54
Uptime 0 days 0 hr. 18 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11.2.0.1/db/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/nemo-as-col/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.102.0.3)(PORT=1521)))
The listener supports no services
The command completed successfully
The result of hostname command is nemo (tha machine name).
After I retry with dbca with the same result :(
max -
ERROR during creating new Database
OS: Solaris 10 x86 (10/08)
Oracle: Release 10.2.0.2.0 - Production (Standard Edition)
I have just installed Oracle without basic/sample database. I was going to find out how to make it handy.
What I did:
# created initeric1.ora file
control_files = (/oradata/u01/controlfile/control1.ctl,/oradata/u01/controlfile/control2.ctl,/oracle/controlfile/control3.ctl)
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
db_block_size = 8192
sga_max_size = 1073741824
sga_target = 1073741824
then "startup nomount" end here I stucked.
I have executed below (all paths exists)
SQL> create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M;
...and this is an ERROR:
create database eric1
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Now, I am not sure where I am and what to do next.
The above "CREATE" created redologs ONLY. Shouold I remove them ( by rm command ?? )and start it again OR somehow to fix it ?
Little help plz.
BTW. i was doing steps from this article and stopped in point 5:
http://www.dba-oracle.com/oracle_create_database.htm
Edited by: user639256 on 2009-10-24 09:47
Edited by: user639256 on 2009-10-24 09:48Hi,
here is /oracle/product/10.2.0/db_1/rdbms/log/alert_eric1.log:
Sat Oct 24 17:52:02 2009
Starting ORACLE instance (normal)
Sat Oct 24 17:52:05 2009
WARNING: Not enough physical memory for SHM_SHARE_MMU segment of size 0x0000000040003000 [flag=0x4000]
Cannot determine all dependent dynamic libraries for /proc/self/object/a.out
Unable to find dynamic library libskgxn2.so in search paths
RPATH = /build/204/lib/:/opt/ORCLcluster/lib/
LD_LIBRARY_PATH is not set!
The default library directory is /usr/lib
Unable to find dynamic library libocr10.so in search paths
Unable to find dynamic library libocrb10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Shared memory segment for instance monitoring created
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
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.2.0.
System parameters with non-default values:
sga_max_size = 1073741824
sga_target = 1073741824
control_files = /oradata/u01/controlfile/control1.ctl, /oradata/u01/controlfile/control2.ctl, /oracle/controlfile/control3.ctl
db_block_size = 8192
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
PMON started with pid=2, OS id=3218
PSP0 started with pid=3, OS id=3220
MMAN started with pid=4, OS id=3222
DBW0 started with pid=5, OS id=3224
LGWR started with pid=6, OS id=3226
CKPT started with pid=7, OS id=3228
SMON started with pid=8, OS id=3230
RECO started with pid=9, OS id=3232
MMON started with pid=10, OS id=3234
MMNL started with pid=11, OS id=3236
Sat Oct 24 17:52:22 2009
Oracle Data Guard is not available in this edition of Oracle.
Sat Oct 24 17:59:20 2009
create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M
Sat Oct 24 17:59:22 2009
Database mounted in Exclusive Mode
Sat Oct 24 17:59:46 2009
Successful mount of redo thread 1, with mount id 3306637624
Assigning activation ID 3306637624 (0xc5174938)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /oradata/u02/redo/redo1.log
Successful open of redo thread 1
Sat Oct 24 17:59:48 2009
SMON: enabling cache recovery
Sat Oct 24 17:59:49 2009
create tablespace SYSTEM datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL online
Sat Oct 24 17:59:58 2009
ORA-19502 signalled during: create tablespace SYSTEM datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL online
Sat Oct 24 17:59:58 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3237.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15360 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Intel SVR4 UNIX Error: 28: No space left on device
Additional information: -1
Additional information: 1048576
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15616 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Additional information: 466944
Additional information: 1048576
Sat Oct 24 17:59:58 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3237.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 861
ORA-00604: error occurred at recursive SQL level 1
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15360 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Intel SVR4 UNIX Error: 28: No space left on device
Additional information: -1
Additional information: 1048576
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15616 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Additional information: 466944
Additional information: 1048576
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 3237
ORA-1092 signalled during: create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M...
Sat Oct 24 18:03:14 2009
Starting ORACLE instance (normal)
Sat Oct 24 18:03:16 2009
WARNING: Not enough physical memory for SHM_SHARE_MMU segment of size 0x0000000040003000 [flag=0x4000]
Cannot determine all dependent dynamic libraries for /proc/self/object/a.out
Unable to find dynamic library libskgxn2.so in search paths
RPATH = /build/204/lib/:/opt/ORCLcluster/lib/
LD_LIBRARY_PATH is not set!
The default library directory is /usr/lib
Unable to find dynamic library libocr10.so in search paths
Unable to find dynamic library libocrb10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
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.2.0.
System parameters with non-default values:
sga_max_size = 1073741824
sga_target = 1073741824
control_files = /oradata/u01/controlfile/control1.ctl, /oradata/u01/controlfile/control2.ctl, /oracle/controlfile/control3.ctl
db_block_size = 8192
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
PMON started with pid=2, OS id=3250
PSP0 started with pid=3, OS id=3252
MMAN started with pid=4, OS id=3254
DBW0 started with pid=5, OS id=3256
LGWR started with pid=6, OS id=3258
CKPT started with pid=7, OS id=3260
SMON started with pid=8, OS id=3262
RECO started with pid=9, OS id=3264
MMON started with pid=10, OS id=3266
MMNL started with pid=11, OS id=3268
Sat Oct 24 18:03:33 2009
Oracle Data Guard is not available in this edition of Oracle.
Sat Oct 24 18:03:56 2009
create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M
Sat Oct 24 18:03:59 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3269.trc:
ORA-00200: control file could not be created
ORA-00202: control file: '/oradata/u01/controlfile/control1.ctl'
ORA-27038: created file already exists
Additional information: 1
Sat Oct 24 18:03:59 2009
ORA-1501 signalled during: create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M...
Sat Oct 24 18:56:14 2009
Shutting down instance: further logons disabled
Sat Oct 24 18:56:14 2009
Stopping background process MMNL
Sat Oct 24 18:56:15 2009
Stopping background process MMON
Sat Oct 24 18:56:16 2009
Shutting down instance (immediate)
License high water mark = 1
Sat Oct 24 18:56:16 2009
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Edited by: user639256 on 2009-10-24 11:26 -
Error during creation of database
I am running oracle 8i on solaris 7.I already had a database up and running.Now i was trying to create another one.I created password file,Parameter file and also set the ORACLE_SID and connected with server manager and try to start the instance in nomount but faced an error ora-27146 .
message : Operating system call failed.
IS there some body who will help me out
Thanks
Hassan AltafYou should post your issue to the database area.
http://forums.oracle.com/forums/category.jspa?categoryID=18
The short answer is however since you are logging in as the OS user (/) the database is reporting the OS user doesn't have the sysdba privilege. Did you grant the OS user sysdba or dba privs? Can you log in with sqlplus /
You would get better answers from the database area. -
ORA-00119,ORA-00132 during duplicate target database for standby in 11gR2
I am running
duplicate target database for standby from active database
command from RMAN.
I went thru step-by-step on how to create a standby database from the textbook i got from my Oracle Univ. 11g Data Guard course. I set up all the listener.ora and tnsnames.ora files using netmgr, but I'm getting local_listener error.
Here's what I am running in rman:
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database for standby from active database
spfile
parameter_value_convert 'kyledb','kylerep'
set db_unique_name='kylerep'
set db_file_name_convert='/kyledb/','/kylerep/'
set log_file_name_convert='/kyledb/','/kylerep/'
set control_files='/oradata/kylerep/control01.ctl'
set log_archive_max_processes='4'
set fal_client='kylerep'
set fal_server='kyledb'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(kyledb,kylerep)'
set log_archive_dest_1='service=kyledb ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=kyledb'
And here's the error i get:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/12/2010 17:33:28
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_KYLEDB'
result of
SQL>show parameter local_listener;
is
NAME TYPE VALUE
local_listener string LISTENER_KYLEDB
entry in my listener.ora is
SID_LIST_KYLEDB_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = kyledb.kyledev.usms.doj.gov)
(ORACLE_HOME = /app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = kyledb)
ADR_BASE_KYLEDB_LISTENER = /app/oracle
KYLEDB_LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
and entry in tnsnames.ora file is
KYLEREP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledbdev.usms.doj.gov)(PORT = 7898))
(CONNECT_DATA =
(SERVICE_NAME = kylerep.kyledbdev.usms.doj.gov)
KYLEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = kyledb.kyledev.usms.doj.gov)
LISTENER_KYLEDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
Can anyone help me figure out what went wrong?
Thanks in advance....I had the same problem,
I Define TNS_ADMIN environment on script an resolve my problem.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 10/08/2010 17:21:15
RMAN-04014: startup failed: ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_DESENV2'
In my shell increase the Environment:
## VARIAVEIS
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db1
export PATH=$ORACLE_HOME/bin:$PATH
export TNS_ADMIN=/u01/app/oracle/product/10.2.0/asm1/network/admin
export ORACLE_SID=$1
## CHAMADA RMAN
rman target / log=/u02/backup/db$1/bkp_cold-$1.log cmdfile=/home/oracle/script/rman/cold_backup/cold_backup.rcv
After this:
RMAN> run{
2> shutdown immediate;
3> startup force mount;
4> backup database include current controlfile tag 'BKP_COLD_FULL';
5> alter database open;
6> delete obsolete;
7> }
8>
9>
using target database control file instead of recovery catalog
database closed
database dismounted
Oracle instance shut down
Oracle instance started
database mounted
Total System Global Area 1073741824 bytes
Fixed Size 2089400 bytes
Variable Size 264244808 bytes
Database Buffers 801112064 bytes
Redo Buffers 6295552 bytes
Hope this helps and sorry for my terrible English! =) -
Question: No transaction type listed during creation new transaction
Per below screen, when I try to create a new transaction via CRMD_ORDER, but it seems blank on the type list..
Any advice what is the issue about, thanks.Hi Peter ,
The new transaction type should be created first via spro settings and the same can be added in CRMD_ORDER transaction via navigating to settings and " Specfic" tab maintaining the newly created transaction type .Once done the button is available for the newly added transaction type and the transaction can now be created .
Also make sure in the customising while defining the transaction type it should not be set to inactive (falg should not be marked ) along with this the channel - "GUI CRM Webclient UI "should be mainatined for the transaction type in customising so that the same is availble in CRMD_ORDER .
Hope this will help .
Regards
Shweta -
After object generation and during the final deployment step, I am getting the above error. My runtime repository is named DEVELOPMENT_REPOSITORY and it has all the proper attributes (host, service name and schema name). Is this a matter of having a TNSNAMES entry on the client that matches DEVELOPMENT_REPOSITORY locally or is this an issues with the server side?
MarkScratch that.... it was in the resistration. It was pointing to a net service name instead of a host.
-
RC-00118: Error occurred during creation of databas
On 11.5.9 with windows, while running the clone with the following command:
perl adcfgclone.pl dbTier
The following error occurs:
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u1/TEST/testora/testdata/system01.dbf'
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.zexsa.com"
ERROR at line 1:
ORA-01109: database not open
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:658)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
I found note no. 375389.1 similar to this issue.
Any body guide me, about solution no-1, how i can apply it.
after running perl adcfgclone.pl dbTier
my DB is on above mentioned stage....SQL*Plus: Release 10.2.0.4.0 - Production on Sun Feb 13 21:52:19 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1271540 bytes
Variable Size 427821324 bytes
Database Buffers 633339904 bytes
Redo Buffers 11309056 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00283: recovery session canceled due to errors
ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [],
SQL> -
Creating a new database containing part of an existing database,same server
Hi All Experts,
I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
5. Create a new init.ora file for the new database.
6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
Any urgent help would be greatly appreciated. Thanks in advance.At Step 4, did you use the SET <newdbname> in the create controlfile script ?
At Step 5, did you change the db_name in the pfile ?
nid is the new and easier way to change the database name. -
Oracle R12 Clone failing with RC-00118 Error occurred during creation of...
Im encountering the above error message i have seen the below thread which looks like the same issue, i was wondering if someone could confirm if the clone process requires an off-line backup on the source system for the clone process to work. Currently i'm using a tape backup which runs overnight, the system is up at the time of backup.
RC-00118: Error occurred during creation of database
Thanksthanks for quick response, its a hot backup.
the steps ive followed are
1. adpreclone on source
2. apps,db,inst directories deleted on destination. (after services have of course been shutdown)
3. oracle variables removed from path
4. backup restored from tape
5. deleted program files/oracle/inventory directory
6. on cmd window run set PERL5LIB=
followed by perl adcfgclone.pl dbTier
is there anything ive missed?
Maybe you are looking for
-
How to make a graph inside a while loop maintain previous values
In the beginning I was trying to use an the XY Graph Express VI to create a plot of points. However, the graph is making a linear retrace between the first point of the new line, and the last point of the previous line. It then creates the new line
-
Just out of interest : If I have an instance variable that is an object, should I set it equal to null and then instantiate it in the constructor: class MyClassA{ MyClassB b = null; MyClassA(){ b = new MyClassB(); OR should I just insta
-
My iPhone 5 has a popup message of no backup done and has froze?
My iPhone 5 has frozen on me. What do I do
-
Hi, I've got two suggestions on the Multi-Desktop Changing's Screen (WinKey + TAB): - It would nice if you guys could add shortcuts keys to access the diferents desktop created by the user; - It would be awsome if we could change apps from desktop by
-
Ipod touch calendar events over a year missing
Suddenly my iPod Touch does not show any events prior to the beginning og this year. They show in iCloud and also on my iPad Mini. I am at a loss as to know why they disappeared and how I may retreive them.