Fail to create database by using script---ORA-09314
Dear all,
I have installed an Oracle 10.2.0.1 database in my local compute, and use "Customise database" option to create a template, which named 'peng'. Everything works fine during the configuration of template and finally generated the $ORACLE_HOME/admin/peng/scripts folder.
But unfortunatlly when I run the peng.bat to create the database by manual, Oracle complained that there are fatal problems with arguments and stop the process automatically.
I tried to find out something useful and finally got the error message as shown below:
ORA-09314: sltln: error translating logical name
OSD-04026: Invalid parameter passed.
And I alos found that in init.ora file, there is no *"controll_files = XXXX"* initiall paramter, which is supposed appended after running createDB.sql script. (I use OMF to manage the files)
So can anyone tell me why and how to do ?
Thx for your help !
the following post also deals with same problem. read it
http://kr.forums.oracle.com/forums/thread.jspa?threadID=574315
mark answered post as helpful / correct*
Similar Messages
-
Failed to create Database Link in OWB 9.2 for remote SQL Server
Hi,
I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
Dataserver is the machine name which is running SQL Server
I included follwing lines in TNSNAMES.ORA file
hsodbc.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(CONNECT_DATA = (SID=hsodbc.world)
(HS =OK)
I included follwing lines in Listener.ORA file
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(SID_DESC=
(SID_NAME=hsodbc.world)
(ORACLE_HOME=C:\ora92)
(PROGRAM=hsodbc)
I included follwing lines in inithsodbc.ORA file
HS_FDS_CONNECT_INFO = testdsn
HS_FDS_TRACE_LEVEL = 0
While creating new database link I gave the follwing values
DB Link Name : Mylink
SQL * Net Connect String: hsodbc
User Name: sa
password:<my password>
Then clicked "Create and Test" button to get the follwing error message
Testing...
Failed.
ORA-12154 TNS:could not resolve service name
*Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
*Action: Make the following checks and correct the error:
- Verify that a TNSNAMES.ORA file exists on your repository server
in the proper place and is accessible. See the operating
system specific manual for details on the required name and location.
- Check to see that the service name exists in one of the
TNSNAMES.ORA files and add it if necessary.
- Make sure there are no syntax errors in the file.
Particularly look for unmatched parentheses or stray characters.
Any error in a TNSNAMES.ORA file makes it unusable. See
Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
regenerate the configuration files using the Oracle Network Manager.
Is there anything wrong in my configuration. Please help me in getting out of this problem.
Thanks in advance
AndyHi Mark,
Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
The error is
Testing...
Failed.
Cwm Error Message: SQL Exception
Cwm Error: SQL Exception
Class Name: CacheMediator
Method Name: getDDEntryFromDB
Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYLINK
Query: select 1 from dual@MyLink
I got the same error when i tried manually in sql plus.
Please help me in getting out of thid problem
Thanks in advance
Andy -
INDEX failed to create while Import using datapump
Hi DBA's
database 11.2.01
OS : Solaris 10
I am trying to Import the data using the following command.
impdp system/******* SCHEMAS=EIMS DIRECTORY=expdp_dir DUMPFILE=eimsexp.dmp*
but it fails import index and error out, but the tables and data imported.
I checked in the metalink and followed the Note id (During Data Pump Import Index Creation Fails With: ORA-39083 and ORA-14102 errors OR ORA-39083 ORA-02158 and ORA-39112 errors [ID 1066635.1]) , but no luck.
Kindly advice me.
ERROR
ORA-39083: Object type INDEX failed to create with error:
ORA-14102: only one LOGGING or NOLOGGING clause may be specified
Failing sql is:
CREATE UNIQUE INDEX "EIMS"."PK_MDS_PSTN_LEVEL" ON "EIMS"."MDS_PSTN_LEVEL" ("REGION_CODE", "AREA_CODE", "LEVEL_NO", "EXCHANGE_CODE") PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING NOCOMPRESS LOGGING STORAGE( INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "EIMS_DATA" PARALLEL 1
ORA-39083: Object type INDEX failed to create with error:
ORA-14102: only one LOGGING or NOLOGGING clause may be specified
Best Regards,
SGDear Hussein,
Yes i applied the patch, still i am getting the same error and again i followed one more note (Impdp Failed With Error Ora-39083, 0ra-01403 On Index_statistics (Doc ID 755253.1))
in that note i given option "exclude=index", then i got in different error.
We are in the process of doing testing on Tablespace Encryption.
We are having two instances one is dev and uat instance.
we are creating Encryption tablespace on uat instance and trying to import the data from dev instance only from particular user.
We completed the followings.
1. Created tablespace Encryption.
2. Created user and assigned the tablespace to the user EIMS1.
3. Took export from the dev instance using the following command.
expdp system/******** SCHEMAS=EIMS DIRECTORY=expdp_dir DUMPFILE=eimsexp.dmp
4. Importing data from
impdp system/******** REMAP_SCHEMA=EIMS:EIMS1 DIRECTORY=expdp_dir exclude=index DUMPFILE=eimsexp.dmp
Error
====
ORA-39083: Object type CONSTRAINT failed to create with error:
ORA-14102: only one LOGGING or NOLOGGING clause may be specified
Failing sql is:
ALTER TABLE "EIMS1"."DOCS" ADD PRIMARY KEY ("ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING NOCOMPRESS LOGGING STORAGE( INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "EIMS_DATA" ENABLE
ORA-39083: Object type CONSTRAINT failed to create with error:
ORA-14102: only one LOGGING or NOLOGGING clause may be specified
before i used to get the bellow errors
==========================
ALTER TABLE "EIMS1"."TST1" ADD CONSTRAINT "ADMACHINEDEPLOYMENTSTATUS_PK" PRIMARY KEY ("MID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING NOCOMPRESS LOGGING STORAGE( INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "EIMS_DATA" ENABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-01403: no data found
ORA-01403: no data found
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; BEGIN DELETE FROM "SYS"."IMPDP_STATS"; c(1) := 'ID'; DBMS_METADATA.GET_STAT_INDNAME('EIMS1','DOCS',c,1,i_o,i_n); INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES ('I',5,0,I_N,NUL
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MDS_PSTN_LEVEL" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_AMT_REQUEST_PRIORITY" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_AMT_REQUEST_QUEUE" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_BH02_REQUEST_PRIORITY" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_BH03_REQUEST_PRIORITY" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_BH03_REQUEST_QUEUE" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"EIMS1"."PK_MD_BH04_REQUEST_PRIORITY" creation failed
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1049 error(s) at 20:43:02
Thanks
SG -
Webutil failed to create temporary folder using Get_work_area()
Friends,
We have been migrating from 6i to 10g AS 3-tier environment. We have been using get_work_area() procedure to create temporary folders to transfer report output PDF files for printing. Intially we could able to transfer the files and from there we used webutil_host.blocking to issue the print command. It was working fine. Now webutil is failing to create the temporary folder in the server which was mapped as c:\temp in the webutil.cfg file. We are unable to find the reason behind this failure. Please put your comments for this.
Apart from this if anybody is having solution to print the file to the local printer, please provide the step for that approach.
Regards,
KBIn case /tmp directory is automatically deleted, is it possible to configure a custom directory for alsbTempJars dir in OSB to assure it is never deleted?Add the -Djava.io.tmpdir=newTempDir parameter in the JAVA_PROPERTIES section of the setDomainEnv.sh script. This new location should be outside of the /tmp dir to avoid being cleared by any process.
I think best soultion would be to have alsbTempJars automatically created whenever /tmp is purged.Doing it on the fly may not be possible however you may anytime raise an enhancement request with support and if prod dev approves it, you may get a fix.
Regards,
Anuj -
I am trying to create a JDeveloper/Data Connection using com.oracle.ias.jdbc.db2.DB2Driver. The driver is registered from a User Libraries: DataDirect JDBC. I have the following class path for the library:
E:\DataDirect\3.4\lib\YMdb2.jar;E:\DataDirect\3.4\lib\YMbase.jar;E:\DataDirect\3.4\lib\YMutil.jar
I have no trouble configuring the connection but when I test it and I got No suitable driver Vendor code 0. Whats wrong? I have successfully created several database connections using Oracle thin driver. This is first time I am using a third party driver. Has any one successfully create a database connection using the com.oracle.ias.jdbc.db2.DB2Driver?Hi
Since the error points to the unavailability of the driver class,can you double check your library claspath entries again.
I just tried a DB2 connection using the following properties and the connection went through fine:
Driver class name: com.oracle.ias.jdbc.db2.DB2Driver
URL: jdbc:merant:db2://<host_name>:50000;DatabaseName=SAMPLE
Thanks
Prasanth -
Help...create database(access) using java
i had developed an java application that capture packet using Jpcap but i dont know how to keep the packet captured into database(access).i can save the packet captured in text file but not in database(access).i already had the database conectivity but i don't know how to insert the packet caputred in the table in access, is it using sql statement like INSERT INTO? or else?i realy don't know.can someone help me....?
i can save the packet captured in to text file but not in database(access).I guess that you wish to get a databse file with your data, not a simple insert sql question.
1. commercial solution: HXTT Access(http://www.hxtt.com/access.html), which supports create database, create table sql, and batch insert data from any JDBC driver.
2. free solution: jdbc-odbc bridge and dsn-less jdbc url, you need to prepare a blank mdb file with blank table, then copy that blank mdb file into new mdb file, then repeat insert sql for that new mdb file. -
Failed to create vuser and Failed to create an instance of script
Hi
I have a parent script of type web service which would call 5 child scripts . 3 child scripts are webservice and 2 child scripts are of web test.
However when the function call goes to the child script (web test), the following exception is being thrown.
Any idea of how to get rid of this?
error creating vuser for child script
oracle.oats.scripting.modules.basic.api.exceptions.ScriptCreationException: Failed to create instance of script "TestUSNACHABankFormat".
at oracle.oats.scripting.modules.basic.api.exceptions.ScriptCreationException.createFailedToCreateScriptInstance(ScriptCreationException.java:75)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.createScript(IteratingVUser.java:281)
at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.createIteratingVUser(IteratingAgent.java:602)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.createCallableScript(IteratingVUser.java:1146)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.getSpecialVariableImpl(IteratingVUser.java:1071)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.getSpecialVariable(IteratingVUser.java:994)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.getScriptAsset(IteratingVUser.java:1163)
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getScript(IteratingVUserScript.java:431)
at script.run(script.java:34)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.insertScriptRun(IteratingVUser.java:340)
at oracle.oats.scripting.modules.basic.api.internal.CallableScript.run(CallableScript.java:182)
at script.run(script.java:61)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getVariables(IteratingVUserScript.java:482)
at script.<init>(script.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.createScript(IteratingVUser.java:279)
... 14 moreHello
I would go around that problem :
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getVariables(IteratingVUserScript.java:482)
Indicating something wrong with a GetVariables() function.
Any specific java code in your script?
Not much ideas though...
JB -
Unable to create database connection using jboss
hi masters,
i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
what might be the issue?????
posting my exact error here, hope someone will post some suggestion.
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
state: FAILED
I Depend On: jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
lang.SecurityException: Invalid authentication attempt, principal=null)
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
any suggestion will be appreciated..
thanks and regards
VD
Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्नhello all,
do anyone have any suggestion????
thanks and regards
VD -
Create database reposiroty problem! [ORA-01034]
Dear All,
My database is 11gR1 and Linux is the operating system.
My Database is running fine, listener is started but i am unable to access Oracle Enterprise Manager. For this i decided to drop and create repository.
To drop I did the following:
emca -deconfig dbcontrol db -repos drop
DROP USER sysman CASCADE;
DROP PUBLIC SYNONYM setemviewusercontext;
DROP ROLE mgmt_user;
DROP PUBLIC SYNONYM mgmt_target_blackouts;
DROP USER mgmt_view;
To create i am doing the following:
emca -config dbcontrol db -repos create
But when it asks for the password for DBSNMP user it started giving the error:
*Invalid username/password. [ORA-01034: ORACLE not available]*
However, oracle is running and I can connect to DBSNMP user bu providing the correct password using SQlplus.
Strange problem for me, kindly help.
Regards, ImranThe "create" would have been interactive. Among other things (like the DBSNMP password) it would have asked you for information about the database instance : Host/IP, Port, ServiceName. Verify that you entered that information correctly.
Hemant K Chitale -
Create database table using Forms Developer 6/6i
Happy New Year everyone,
I hope your New Year is a happy one.
Listen, I am trying to create tables in Forme Builders without using SQL*Plus but it won't create the table in the database because I believe that the table it is created as a control block not as a data block.
Can someone help me on this my email is [email protected] your help is appreciated.I'm not sure I understand your question.
If you want to create a table in the database, you need to use the Database Objects node. If you do it in the block node, then you are creating a block in the Form, not a table in the database.
Regards,
Robin Zimmermann
Forms Product Management -
Error in creating database diagram using JDeveloper
Today I came across this weird error. I made an Identity column of type LONG and I had to create another column in same table with same data type i.e. LONG. I was surprised to see that JDeveloper did not let me create another column with type LONG. Error message was "*Invalid column Course_Parent_Id, the table already contains column Course_Id of type LONG*". Can someone guide me why this error occured and how to cater it.
Help is appreciated in advanceIsn't it a strange restriction?? If I need huge range for integral values in my database, it must have provision to do so. Anyways thanks for the reply. I have used NUMBER instead of LONG
-
Verificati​on failed while creating recovery media using the HP Recovery Manager
Model: HP Pavilion G6 2005 AX
Processor: AMD A8
OS: Windows 7 Home Basic
HP Recovery MANAGER 5.0.2.0
I wanted to take backup of the OS and drivers for the recovery
during the 4th step(Verification) in the creating Media Recovery Manager the verification failed
I used DVD's as the option
It asked me for 5 blank DVD's
During writing of first DVD after the third step (buring) in the forth step (verification) after 75% it said
verification failed
I tried it twice same thing happened
Any Suggestionsi also meet the same problem , but after I used sony dvd+r. the problem've been solved. so change the brand of your DVD+R.
To be a better man -
Create database instanace using Database Studio Software
I have a content server running MaxDB. Many times I have created a additional database using Database Studio software. But each time I am uable to connect back to SAP using transaction OAC0. When attempting to create the repo I get a maxdb error. The error is similar to the one that you recieve when you do not have your Max DB Driver registered. I do have the driver registered as I also have other databases up and running and successfully connected, they were created using sapinst.
Does anyone else have this issue?
Also I would like to setup just one DB and then have each other database exist under this one with its own schema. That way when updates and patches are necessary. I only have to complete this one time. Is this possible with MAXDB 7.8?
Thank you in advance...
StormI applied note 582765 and this solved my issue.
Storm -
Create database table using Forms Developer 6/6i without using SQL*Plus
hello there,
I need help in creating tables in Oracle using Forms Developer 6/6i without using SQL*Plus interface.
your help is appreciated
email: [email protected]please use Forms_ddl package to create a table dynamically
from the Developer6/6i.
you can check the success or failure by using the
form_success builtin.
if u want to avoid using the Forms_ddl package
use stored procedure or create a sql querry record group.
regards
sriram. -
[Application Insights] Fail to create new application using REST API
Hi,
I'm trying to create new application in Application Insights using the REST API.
I followed the instructions on
this page, but keep getting '404 Not Found', with the following error stream:
"{"error":{"code":"InvalidResourceType","message":"The resource type could not be found in the namespace 'microsoft.insights' for api version '2014-04-01'."}}"
The http method I'm using is: PUT
The request URI is:
"https://management.azure.com/subscriptions/some_real_subscription_id/resourceGroups/yonisha-new-rg/providers/microsoft.insights/component/yonisha-new-app?api-version=2014-04-01".
Can you please advice what am I doing wrong?
Few things:
I tried both with existing/non-existing resource group.
I set the Content-Length header to '0' (otherwise the server returns an error the the length is required).Try the API Version "2014-08-01" and also make sure you are sending a location of "Central US" (its the only location available right now). An example of a PowerShell call that works is below. I would also suggest checking
out the new https://resources.azure.com/ which can help you construct the REST call.
New-AzureResource -Name TestAppInsights -ResourceGroupName TestRG -ResourceType "Microsoft.Insights/Components" -Location "Central US" -ApiVersion "2014-08-01"
Maybe you are looking for
-
Files NOT deleted from hard drive
iTunes will not send files to my recycle bin, only from remove them from my library. I have 2 computers with 7.0.2.16 running. One will ask me if I want to move files to my recycle bin, which it will then do. The other won't ask and won't delete them
-
My ENVY 17 3D's Bluray drive does not read any disc.
I got a refurbished ENVY 17 3D (i7 740Q) and having a bluray drive issue. When I insert a disc in to the drive it keeps spitting the disc out after a few seconds. And I can't hear any motor spinning sound. It's weird, I mean at least it should be rea
-
PC as a bluetooth Device and accept input from other devices
I need to set my PC up as a bluetooth device by use of a bluetooth dongle connected to my PC. I need to have a program running on my PC that will detect other bluetooth devices and connect with them, accept input from them. Please help me do this. an
-
hi abap gurus.. is there any bapi which gets the SD doc flow details(qutaion no,sales order no,delivery order no,billing doc no)? thanks.. lakshman. save a life by sending information. www.help2patients.wordpress.com.
-
How can one place a single image on a spread? CS3-MAC
Hi all, i How can one place a single image on a spread? CS3-MAC A very straight forward question I think. I just never did it before. Anyone knows of a fast technique of doing this? I have to make 70+ images this way. Could it be scripted? thanx in a