IFS Install (Config) Fails with "ORA-00922: missing or invalid option"
Greetings:
Thanks for your help in advance...
Towards the end of IFS installation, I get the following error in my
IfsConfigOut.log file (This happens towards the end of the installation). I
am Installing IFS on Oracle 9i (9.0.1.1 version) instance on Win 2K (P-III,
800Mhz, 512Mb) . After this installation error, all the 9iFS directories
and nodes are detected under OEM but when I start the domain I get no
response for the same.
ConfigOut File pasted below
CONFIGURATION: SCHEMA CREATION TYPE
Configuring Oracle Internet File System 9.0.1.1.0 configuration started on:
Mon May 20 09:45:28 GMT+05:30 2002
saving user configuration settings to file:
saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
ig.properties
saving:
E:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties\IfsDefault.proper
ties
Old schema name in IfsDefault.properties file = ifssys
New schema name pointing to now = IFSSYS
Create Schema = true
Upgrading Schema = false
Pointing to same schema as the old entry in IfsDefault.properties file =
true
Checking DC entries
RUN DC = true
Adding section for DC as there does not exist a section already
Checking Node entries
RUN NODE = true
Adding Node section = Node
saving: E:\oracle\ora90\9ifs\settings\Node.def
saving: E:\oracle\ora90\9ifs\settings\HttpNode.def
saving: E:\oracle\ora90\9ifs\settings\DomainController.def
executing command:
Empty command. Not executing
executing command:
Empty command. Not executing
executing command:
Empty command. Not executing
creating database user (schema): IFSSYS
java.sql.SQLException: ORA-00922: missing or invalid option
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java,
Compiled Code)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java,
Compiled Code)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java,
Compiled Code)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
, Compiled Code)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java,
Compiled Code)
at oracle.ifs.utils.sql.SQLCommands.createUser(SQLCommands.java:352)
at
oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.createIfsSchema(Ifs
Configuration.java:546)
at
oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
ation.java:476)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
Compiled Code)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
at java.lang.Thread.run(Thread.java:479)
recording that configuration failed
saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
ig.properties
iFS configuration failed; the following error occurred:
oracle.ifs.utils.action.ActionFailedException: java.sql.SQLException:
ORA-00922: missing or invalid option
at
oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
ation.java:526)
at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
Compiled Code)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
at java.lang.Thread.run(Thread.java:479)
configuration failed on Mon May 20 09:45:35 GMT+05:30 2002
Problem is Fixed !!!
We were having this problem because IFS installation was not recognising a separate tablespace which we created for IFS, so we started using default USERS tablespace after which the installation was successful.
Thanks.
Similar Messages
-
Anyone to help with this problem: ora-00922 : missing or invalid option
I am trying to call a function that i wrote.
PS: i am new to oracle functions.
The purpose of this function is to display each item with its suppliers displayed in a record. I hope what i wrote in my function is close to what i am trying to get as a result.
Here what i run:
CREATE TYPE ind_tab_supplier0 AS OBJECT
(ITP_SUPPLIER_CODE VARCHAR2(50),
ITP_SUPPLIER_NAME VARCHAR2(50));
CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30);
CREATE TYPE ind_tab_supplier_table AS TABLE OF ind_tab_supplier1;
than i tried to execute the following function but it gave me the error
"ora-00922 : missing or invalid option". If anyone could tell me what is wrong with it:
CREATE OR REPLACE CSRDBA."GET_SUPPLIERS" (itemCode IN
ref_item.itm_id%TYPE) RETURN ind_tab_supplier_table PIPELINED
IS
TYPE ref0 IS REF CURSOR;
cur0 ref0;
TYPE ref1 IS REF CURSOR;
cur1 ref1;
out_rec0 ind_tab_supplier0
:= ind_tab_supplier0(NULL,NULL);
out_rec1 ind_tab_supplier1
:= ind_tab_supplier1(NULL);
BEGIN
v_itemCode := itemCode;
OPEN cur0 FOR
' select t.ven_id , (select s.ven_name from ref_ven_vendor s '||
'where s.ven_id = t.ven_id)
"supplier_name" '||
' from ref_item_vendor t where t.itm_id = :1 '
USING v_itemCode;
LOOP
FETCH cur0 INTO out_rec0.itp_supplier_code,
out_rec0.itp_supplier_name;
IF cur0%NOTFOUND THEN
RETURN;
END IF;
out_rec1.ind_tab_supplier1.extend;
out_rec1.ind_tab_supplier1(out_rec1.ind_tab_supplier1.count) :=
out_rec0.itp_supplier_code;
out_rec1.ITP_SUPPLIER.extend;
out_rec1.ITP_SUPPLIER(out_rec1.ITP_SUPPLIER.count) :=
out_rec0.itp_supplier_name;
END LOOP;
PIPE ROW(out_rec1);
CLOSE cur0;
RETURN;
END GET_SUPPLIERS;
At the end what i want to do is to run the following query if possible:
select item_code, item_name, GET_SUPPLIERS( item_code )
from item_table
Thank you in advance for your help.Hi,
Try this :
While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
/ -
ORA - 00922 Missing or Invalid option error while creating table
I am tryin to create a table with the following syntax
1 CREATE TABLE TEST_FOR_SCRIPT (
2 TEST_A NUMBER NOT NULL
3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
4 )
5* @storage_parms_table_cmn
6 /
@storage_parms_table_cmn
ERROR at line 5:
ORA-00922: missing or invalid option
Here, storage_parms_table_cmn.sql reads like this
tablespace DBK_CMN_DATA
Can anyone please guide me how to overcome this error.What is your Oracle Version?
i can do it exactly what you did without error
sql> CREATE TABLE vd.TEST_FOR_SCRIPT (
2 TEST_A NUMBER NOT NULL
3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
4 )
5 @test1.sql
6 /
Table created.
Cheers
http://fiedizheng.blogspot.com/ -
ORA-00922: missing or invalid option
I am using oracle 10g datbase.
and trying to create a list of tables of 300 tables - a sampel is given below
CREATE TABLE "SCHM1"."HOLIDAYS"
( "DATE" DATE NOT NULL ENABLE,
"DESCR" VARCHAR2(40),
"EXTRA_HOURS" NUMBER(2,0),
"HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
"CREATED_BY" VARCHAR2(12),
"CREATED_ON" DATE,
"AMENDED_BY" VARCHAR2(12),
"AMENDED_ON" DATE,
CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_REF_DATA1"
CREATE TABLE "SCHM1"."LODGEMENT"
( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
"LODGEMENT_SLIP" NUMBER(12,0),
"BRANCH" NUMBER(4,0),
"EMPLOYEE" VARCHAR2(12),
"LODGEMENT_DATIM" DATE,
"SYS_DATIM" DATE,
"TILL_DAT" DATE,
"POSTED_FLG" VARCHAR2(1),
"EMERGENCY_FLG" VARCHAR2(1),
"CREATED_BY" VARCHAR2(12),
"CREATED_ON" DATE,
"AMENDED_BY" VARCHAR2(12),
"AMENDED_ON" DATE,
"LODGEMENT_GRP" NUMBER,
CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_INDEXES10" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_DATA10"
when I executed this in sql window i get the error:
ORA-00922: missing or invalid option
when I run it from command prompt ,
i get error like
SP2-0734: unknown command beginning "USING INDE..." - rest of line ignored.
SP2-0734: unknown command beginning "STORAGE(IN..." - rest of line ignored.
SP2-0734: unknown command beginning "PCTINCREAS..." - rest of line ignored.
SP2-0734: unknown command beginning "TABLESPACE..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
and it doesn't create the table. CAn someone let em know how I to create log of errors on execution so taht the session can be resumed and also
help me in finding the error in this.
Cheers
Edited by: user1000979 on 02-Sep-2009 06:50Hi!
there is just missing a sql terminator between the statements ...
it is not a internal sql language ...
i have no problems when execute it in sql*plus.
tested with oracle 8i and XE
CREATE TABLE "SCHM1"."HOLIDAYS"
( "DATE" DATE NOT NULL ENABLE,
"DESCR" VARCHAR2(40),
"EXTRA_HOURS" NUMBER(2,0),
"HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
"CREATED_BY" VARCHAR2(12),
"CREATED_ON" DATE,
"AMENDED_BY" VARCHAR2(12),
"AMENDED_ON" DATE,
CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_REF_DATA1"
CREATE TABLE "SCHM1"."LODGEMENT"
( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
"LODGEMENT_SLIP" NUMBER(12,0),
"BRANCH" NUMBER(4,0),
"EMPLOYEE" VARCHAR2(12),
"LODGEMENT_DATIM" DATE,
"SYS_DATIM" DATE,
"TILL_DAT" DATE,
"POSTED_FLG" VARCHAR2(1),
"EMERGENCY_FLG" VARCHAR2(1),
"CREATED_BY" VARCHAR2(12),
"CREATED_ON" DATE,
"AMENDED_BY" VARCHAR2(12),
"AMENDED_ON" DATE,
"LODGEMENT_GRP" NUMBER,
CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_INDEXES10" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "SCHM1_DATA10"
/Regards -
ORA-00922: missing or invalid option in create seq, trigger
Hi All,
I am trying to create a table, sequence, and trigger with the following SQL and am getting the error:
ORA-00922: missing or invalid option
CREATE TABLE "DATA_INVENTORY"
( "ID" INTEGER NOT NULL ENABLE,
"COE_CONTRACT_NUM" VARCHAR2(30),
"PROJ_AREA" VARCHAR2(30),
"STATE" VARCHAR2(30),
"DATA_DATE" VARCHAR2(30) NOT NULL ENABLE,
"NUM_OF_MEDIA" NUMBER,
"DATA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
"MEDIA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
"EXTERNAL_DRIVE_DESCR" VARCHAR2(200),
"ROOM_NUM" VARCHAR2(10)NOT NULL ENABLE,
"DRAWER_NUM" VARCHAR2(30),
"PROJ_CODE" VARCHAR2(30),
"COMPANY" VARCHAR2(30),
"DESCRIPTION" VARCHAR2(200),
"NOTES" VARCHAR2(500),
"INDEX" VARCHAR2(30),
"INDEX_LINK" VARCHAR2(75),
"DATA_LINK" VARCHAR2(75),
"METADATA" VARCHAR2(75),
"METADATA_LINK" VARCHAR2(75),
"DISTRIBUTE" VARCHAR2(30)NOT NULL ENABLE,
"CORPORATE" VARCHAR2(1)NOT NULL ENABLE,
CONSTRAINT "DATA_INVENTORY_PK" PRIMARY KEY ("ID") ENABLE,
CONSTRAINT "DATA_INVENTORY_UK1" UNIQUE ("COE_CONTRACT_NUM", "PROJ_AREA") ENABLE
CREATE SEQUENCE "DATA_INVENTORY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 324 CACHE 20 NOORDER NOCYCLE
CREATE OR REPLACE TRIGGER "BI_DATA_INVENTORY"
before insert on "DATA_INVENTORY"
for each row
begin
select "DATA_INVENTORY_SEQ".nextval into :NEW.ID from dual;
end;
ALTER TRIGGER "BI_DATA_INVENTORY" ENABLE
Does anyone see anything wrong with this?
The create table part is alright but when I add the create sequence etc it causes the error
Thanks,
KirkHello Kirk,
Your code work likes a charm. Check your privileges for creating sequences and triggers.
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/ -
Selective (Conditional) export failing with ORA-00936: missing expression
HI Experts,
I was doing selective (Conditional) export of one table. But the export is failing with the following error.
ORA-00936: missing expression
I have been trying for the past 2 hours on this to resolve. But not.
Could anybody please how can i export the data..
Oracle Version : 10.2.0.5
OS : SOLARIS 10 SPARC
exp E3DAIUSR/E3DAIUSR@ORCL statistics=none file=exp_TABLE.dmp log=exp_Conditional.log TABLES=PGTB_IFDATA query=\'where CRE_DT=\''20120513\'
The error is as follows
==============
About to export specified tables via Conventional Path ...
. . exporting table PGTB_IFDATA
EXP-00056: ORACLE error 936 encountered
ORA-00936: missing expression
Export terminated successfully with warnings.
Please help me on this..Hi ,
Now i am using the query like below. But still getting the error.
exp E3DAIUSR/E3DAIUSR@ORCL statistics=none file=exp_TD17870_1_TABLE.dmp log=exp_TD17870_1_TABLE_Conditional.log TABLES=PGTB_IFDATA query=\"where CRE_DT=\'20120513\'"
Error
====
LRM-00111: no closing quote for value 'where CRE_'
EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
EXP-00000: Export terminated unsuccessfully
This is Solaris OS
Please provide me correct query if possible -
Failed to create DNS with ODBC Datadirect Driver - error missing or invalid option
Dear All,
I tried to post a first time and get my post thrown away. So please just tell me if that's not the place to post such questions. I tried this forum because I didn't find any revelant information yet on internet.
I installed Informatica and Oracle 11g, tried to create my DSN with the Driver DataDirect Oracle Wire Protocol. I keep bumping into the message " [Informatica][ODBC Oracle wire protocol driver][Oracle] ora-00922: missing or invalid option".
Can you please help to understand where the error comes from?
Here are my current status :
* My table in the Oracle database is created with every field followed by NOT NULL option, the table is successfully created.
* The connection to the Oracle database using Oracle TNSNames Connection server name and TNSNames files seem to work, I tried to connect with another driver Oracle in OraDB 11g_home1. This one succeeds.
* Listener.ora:
# listener.ora Network Configuration File: C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\ql186003\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\ql186003\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\ql186003
* Running lsnrctl STATUS:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 22-FEB-2014 21:43:22
Uptime 0 days 1 hr. 8 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\app\ql186003\diag\tnslsnr\WBEQL186003-Q4G\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TESTDBXDB" has 1 instance(s).
Instance "testdb", status READY, has 1 handler(s) for this service...
Service "TEST_DB" has 1 instance(s).
Instance "testdb", status READY, has 1 handler(s) for this service...
Service "orcl.TD.TERADATA.COM" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.TD.TERADATA.COM" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Thank you very much for any guidance.
QiongHi,
Try this :
While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
/ -
I'm having trouble running a script that I created by using the Generate Create Script tool in Oracle Explorer. I created the following script by running the Generate Create Script on a table called, "ASPNET_APPLICATIONS":
CREATE TABLE "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" NUMBER,"APPLICATIONNAME" VARCHAR2(256 BYTE),"DESCRIPTION" VARCHAR2(256 BYTE)) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 65536 MAXEXTENTS 2147483645 MINEXTENTS 1 )
CREATE UNIQUE INDEX "DEV"."PK_APPS" ON "DEV"."ASPNET_APPLICATIONS" ("APPLICATIONID" ) TABLESPACE "USERS"
CREATE UNIQUE INDEX "DEV"."IDX_APPS_APPNAME" ON "DEV"."ASPNET_APPLICATIONS" (LOWER(TRIM("APPLICATIONNAME")) ) TABLESPACE "USERS"
ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004598" CHECK ("APPLICATIONNAME" IS NOT NULL) ENABLE VALIDATE )
ALTER TABLE "DEV"."ASPNET_APPLICATIONS" ADD ( CONSTRAINT "SYS_C004597" CHECK ("APPLICATIONID" IS NOT NULL) ENABLE VALIDATE )
I then deleted the table in my Oracle 10g database and ran the above script to recreate the table. The result is that I get an error the following error, ORA-00922: missing or invalid option. Does anyone know how to resolve this?
Is anyone aware of any bugs in the Generate Create Script option of Oracle Explorer?Okay, I think I found my problem.
I was trying to run the script created by Oracle Explorer directly from a Database project I added to my Solution in Visual Studio. Visual Studio is probably using some SQL Server specific tool when I select the Run or Run On option on the script.
When running the same script directly in the Oracle 10g Home Page (Home > SQL > SQL Scripts), I had no problem. Everything executes correctly.
Is anyone aware of another way to run Oracle scripts directly from Visual Studio? Do I have my project setup incorrectly? This is the first project I've used .NET and Oracle together, so if anyone has any suggestions, I'd really appreciate the help.
Thanks,
Mycole -
While creating Table it shows error as 'missing or invalid option
I had log on to ap/ap@vis in sqlplus and try to create table but showing error.....here below is the table
Create table Purchase_Order
(Item varchar2(10),
Item_Desc varchar2(100),
Item_Cost Number(7),
Item_Qty Number(7),
Item_Date Date,
Need_by_date date,
Last_updated_date date,
last_updated_by number(10),
creation_date date,
created_by number(10),
Attributed_category varchar2(100),
attribute1 varchar2(100),
attribute2 varchar2(100),
attribute3 varchar2(100),
attribute4 varchar2(100),
attribute5 varchar2(100),
attribute6 varchar2(100));
But it showing error as ORA-00922:missing or invalid optionIt works for me
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> Create table Purchase_Order
2 (Item varchar2(10),
3 Item_Desc varchar2(100),
4 Item_Cost Number(7),
5 Item_Qty Number(7),
6 Item_Date Date,
7 Need_by_date date,
8 Last_updated_date date,
9 last_updated_by number(10),
10 creation_date date,
11 created_by number(10),
12 Attributed_category varchar2(100),
13 attribute1 varchar2(100),
14 attribute2 varchar2(100),
15 attribute3 varchar2(100),
16 attribute4 varchar2(100),
17 attribute5 varchar2(100),
18 attribute6 varchar2(100));
Table created.
SQL> -
Adcfgclone fails with ORA-04063: view "SYS.DBA_NETWORK_ACLS" error
Hi all,
While running adcfgclone on dbtier if fails with following error
ORA-04063: view "SYS.DBA_NETWORK_ACLS" error
here is the scene:
we are trying to clone a production instance for doing some patching
while running adcfgclone on target (test instance) it fails
our current environment is
application:R12.1.3
db:11.1.0.7
os: rhel 5.6
here is output from
autoconfig file:
SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:32 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: Connected.
PL/SQL procedure successfully completed.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
adcrobj.sh exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Services Phase
Running Service Process 2 of 4 for AppsUtil
Executing script in InstantiateFile:
/u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/addbperms.sh
script returned:
addbperms.sh started at Thu Apr 18 09:28:32 IST 2013
The environment settings are as follows ...
ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
ORACLE_SID : TESTOBA
TWO_TASK :
PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
Library Path : /u02/testoba/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/testoba/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/testoba/db/tech_st/11.1.0/ctx/lib
SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
Changing permissions for file sqlplus.
Changing permissions for file extproc.
Changing permissions for file tkprof.
addbperms.sh exiting with status 0
.end std out.
.end err out.
AutoConfig Services Phase
Running Service Process 3 of 4 for AppsUtil
Executing script in InstantiateFile:
/u02/testoba/db/tech_st/11.1.0/perl/bin/perl -I /u02/testoba/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/appsutil/perl /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkConfigDbOcm.pl
script returned:
Configuring OCM on the Database Tier....
Testing database connection...
Database connection test passed.
Response file /u02/testoba/db/tech_st/11.1.0/appsutil/clone/adclnocm.res required to configure OCM does not exists
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
AutoConfig Services Phase
Running Service Process 4 of 4 for AppsUtil
Executing script in InstantiateFile:
/u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkcreateACL.sh
script returned:
You are running txkcreateACL.sh version 120.1
The environment settings are as follows ...
ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
ORACLE_SID : TESTOBA
PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
Executing txkcreateACL.sql ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:33 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected.
FROM DBA_NETWORK_ACLS
ERROR at line 17:
ORA-06550: line 17, column 8:
PL/SQL: ORA-04063: view "SYS.DBA_NETWORK_ACLS" has errors
ORA-06550: line 16, column 3:
PL/SQL: SQL Statement ignored
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
txkcreateACL.sh: exiting with status 1
.end std out.
.end err out.
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv
txkcreateACL.sh INSTE8_APPLY 1
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3192)
at oracle.apps.ad.clone.ApplyDatabase.runCVMAndAutoConfig(ApplyDatabase.java:3010)
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:649)
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Unknown Source)
please provide any suitable link or doc id or any workaround
thanks
ZaviHi;
Please review:
Adautocfg.Sh Fails With "ORA-01422: " While Executing Txkcreateacl.sh [ID 854746.1]
Database Cloning Failed With txkcreateACL.sh[36]: sqlplus [ID 603297.1]
R12 : Autoconfig script txkcreateACL.sh fails with error ORA-31003: Parent /sys/acls/ already contains child entry OracleEBS.xml [ID 1328458.1]
Regard
Helios -
Oem 12.1.0.3 installer fails with ora-01017
Greetings,
I am attempting to upgrade my OEM 12.1.0.1 installation to 12.1.0.3. I am following the instructions in the Oracle Enterprise Manager Cloud Control Upgrade Guide and Oracle Support Note 1568143.1. I have verified that all prerequisites are met and have installed patch 11061801 to the repository. The repository and OMS are on different machines. The 12.1.0.1 installation is able to connect to the repository, it has been running successfully for some time now. On the OMS server I stopped the OMS and the Agent and I invoke the 12.1.0.3 installer. I follow the steps and when it gets to the connection page it fails with ORA-01017. The messages are shown -
1. Verify if the SYS password you entered is valid.
2. Verify if the database initialization parameter REMOTE_LOGIN_PASSWORDFILE is set to either Shared or Exclusive.
3. Verify if a password file with the file name orapw<SID> exists in the <ORACLE_HOME>/dbs directory.
All conditions are met:
-bash-3.2$ echo $ORACLE_SID
oemrepos
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> connect sysman
Enter password:
Connected.
SQL> show parameter remote_login_passwordfile
NAME TYPE VALUE
remote_login_passwordfile string EXCLUSIVE
-bash-3.2$ ls -l $ORACLE_HOME/dbs/orapwoemrepos
-rw-r----- 1 oracle dba 1536 Jan 30 2013 /usr/local/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/orapwoemrepos
I am able to connect remotely from another machine. sqlplus is not installed on the OMS server.
I am completely stumped and in need of assistance. Searching the web only indicates that I need to insure that the above listed conditions should be met, they are. If anyone has any suggestions I would appreciate the help.
Thank you.
Bill WagmanOn repository server , can you login as sys user ?
Try to connect through listener and share the result.
sqlplus sys/<password>@<connectstring> as sysdba
Thanks
Rajesh -
Financial Statement Generators fail with ORA-01722
We upgaded from 11.5.10.2 to R12.1.3. Since then we have FGSs fail with ora-01722
*+<Moderator edit - deleted MOS Doc content - pl do NOT post such content - it is a violation of your Support agreement>+*
Please refer:
R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS – ORA-01403: No Data Found Common Issues [ID 1368691.1]
R12: RGRARG FSG Completes with Error, rgrsap.rgrsxp: ORA-01722: Invalid Number [ID 579655.1] -
EXPDP fails with ORA-39125: Worker unexpected fatal error in KUPW $
Hi Friends,
Oracle 10.2.0.4.0 on Sun OS
Im trying to do metadata_only export using EXPDP
Facing the below error
ORA-39125: Worker unexpected fatal error in KUPW $ WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB []
ORA-31642: The following SQL statement fails:
BEGIN "SYS". "DBMS_RULE_EXP_RULES." SCHEMA_CALLOUT (1,1,1, '10 .02.00.04.00 ') END;
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_METADATA", line 907
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW $ WORKER", line 6307
PL / SQL Call Stack
object line object
handle number name
51bf5dc20 15032 package body SYS.KUPW $ WORKER
51bf5dc20 6372 package body SYS.KUPW $ WORKER
51bf5dc20 2396 package body SYS.KUPW $ WORKER
51bf5dc20 6944 package body SYS.KUPW $ WORKER
51bf5dc20 1314 package body SYS.KUPW $ WORKER
51c7e8650 2 anonymous block
====================================
Findings:
I check the status of DBMS_RULE_EXP_RULES
OWNER OBJECT_NAME OBJECT_TYPE STATUS
SYS DBMS_RULE_EXP_RULES PACKAGE BODY VALID
SYS DBMS_RULE_EXP_RULES PACKAGE VALID
PUBLIC DBMS_RULE_EXP_RULES SYNONYM VALID
DBMS_METADATA & DBMS_SYS_ERROR packages are valid.
======================================================
Error in the alert:
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=25, OS id=6506
to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS', 'KUPC$C_1_20120908075037', 'KUPC$S_1_20120908075037', 0);
kupprdp: worker process DW01 started with worker id=1, pid=26, OS id=6633
to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS');
when i check the trace file, find the below error
ORA-04063: package body "SCH.COLLECTION" has errors
But when I check the status of the package, it's valid.
Thanks for your help
KSGHi;
Is it full exp? Of yes please review:
DataPump Export Fails With Errors ORA-39125 ORA-31642 ORA-1422 [ID 790988.1]
Full And Schema DataPump Exports Fail With Errors ORA-39125 ORA-31642 During DBMS_SCHED_EXPORT_CALLOUTS.SCHEMA_CALLOUT [ID 1109045.1]
EXPDP FAILS WITH ORA-39125 ORA-31642 DBMS_SCHED_EXPORT_CALLOUTS [ID 445291.1]
Full Database DataPump Export (EXPDP) Fails With Errors ORA-39125 ORA-4045 ORA-1031 On XDB.XDB_PI_TRIG [ID 1102434.1]
Errors ORA-39125 ORA-1801 When Running DataPump Export (EXPDP) [ID 815683.1]
Regard
Helios -
CSSCAN for database character set conversion failing with ORA-01578
Hi ,
CSSCAN for database character set conversion failing with ORA-01578: ORACLE data block corrupted (file # 84, block # 23930). please help me out in this regard.
Thanks,
Sravan.Hi Anand,
Thanks for your update. The segment is a table not an index in my case. And i got this error while running CSSCAN on Apps database for character set conversion to UTF8 from WE8ISO8859P1. Please find the snapshot below for your reference.
SQL> select segment_name, segment_type, owner from dba_extents where file_id = 84 and 23930 between block_id and block_id + blocks - 1;
SEGMENT_NAME
SEGMENT_TYPE OWNER
EDW_LOOKUP_M
TABLE POA
SQL> ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE;
ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE
ERROR at line 1:
ORA-01578: ORACLE data block corrupted (file # 84, block # 23930)
ORA-01110: data file 84: '/d911/oracle/dbcondata/poad01.dbf'
Thanks,
Sravan. -
SRVCTL START DATABASE FAILS WITH ORA-00119
Hi,
My DB version is 11.2.0.2.3
I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
CRS-5017: The resource action "ora.****.db start" encountered the following error:
SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_local'
Can you please suggest for any workaround.
ThanksDid you check the TNS_ADMIN? Where does it point to?
Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
sqlnet.ora
listener.ora
tnsnames.ora
Maybe you are looking for
-
How do i apply a certain tween to several objects?
hi all, I'm working on a little flash project to show a card game being played out. Its just playing out a set of moves - no actual logic for actually playing the game. Anyhow, what i would like to be able to do is create a tween (hope thats the righ
-
SharePoint Workflow Long Date does not output day of week!
Hi all, We have developed a workflow that sets a time delay and notifies users after three working days have elapsed. It detects a working day by checking whether the words "Saturday" or "Sunday" occur in the long date version of "Today". This workf
-
ISight - Audio/Video - DVD
I have a new iMac/intel with OS X 10.4.6 My wife and I would like to make an Audio / Video Will for our children. Is there a simple step by step procedure We can follow, from turning on the computer to DVD ejecting of a finished disc?
-
Why won't my folders in finder expand in the icon view?
My folders will not expand in the icon view in finder. They also don't expand in the cover flow view, only list and column view show the contents within folders. It's affecting all the items in finder's sidebar. I found this rather bizarre. Has any o
-
M8 147 Account determination for entry PKJL WRX 0001 not possible.
Hello ! I am using ML81N transaction - Service Entry Sheet. PKJL is Chart of accounts. I know how to solve this error problem. In transaction OBYC I have to input record for WRX with empty valuation class. But using this solution I limit to only one