ORA-31001: Invalid resource handle or path name
I am using Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
I need to read xml contents from a file at D:\ on my windows system.
File name is test.xml.
I am using the system account as its a personal server.
I tried as follows:
SQL> CREATE DIRECTORY myxml AS 'D:';
SQL> declare
2 parser xmlparser.Parser;
3 begin
4 xmlparser.parse(parser,'myxml\test.xml');
5 end;
6 /
declare
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "myxml\test.xml"
ORA-06512: at "SYS.XDBURITYPE", line 11
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-06512: at "XDB.DBMS_XMLPARSER", line 120
ORA-06512: at line 4
D: is a FAT32 partition so Windows 7 offers no acl/permission restrictions. I have also tried from other different locations and the error is the same.
Please help me.
907985 wrote:
SQL> CREATE DIRECTORY myxml AS 'D:';
ORA-29280: invalid directory path
ORA-06512: at "XDB.DBMS_XMLPARSER", line 120I haven't tried it, but perhaps it's as simple as error message implies. Try with at least one directory e.g. D:\ or D:\somefoldername in the directory object's path name.
Similar Messages
-
Hi,
When i am trying to parse the xml document using XDB API. I passed the XML file path to the parse function and making use of that at below lines of code.
xmlparser.setBaseDir(prsr, dir);
xmlparser.parse (prsr, dir || '/' || file_in);
In thsi sceneraio it is giving the below error saying invalid path. But i am giving the right path. And even the file having all permission( 777).
Can any please help me why i am getting this error even if i mentioned the correct path? Is there anything related the permission grants?
ORA-31001: Invalid resource handle or path name "/apps/batchadm/files/test.xml"
ORA-06512: at "SYS.XDBURITYPE", line 11
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-06512: at "XDB.DBMS_XMLPARSER", line 119
ORA-06512: at "SIGCAP.PARSE_DOCUMENT", line 11
Thanks,
shashiCould be privs on OS or database level. Check and see what happens if grant yourself the DBA role. Check if the database software owner (ps -ef | grep pmon) is allowed to write in that directory and/or create a file in that directory. Does the OS make use of ACL's (and/or is, for instance Secure, Linux used)....?
-
FTP-ing to XE: ORA-31001: Invalid resource handle or path name
Hi guys,
Hope you can help me out here. I get a very confusing message during trying to FTP a directory to the /i/ files in XE. The connectiopn works just fine, but when I try to send something to the folder I get the following message:
ORA-31001: Invalid resource handle or path name "/i/themes/eServices"
Any thoughts? Thanks!I haven't checked the docs, but it does remind me of the PL/SQL steps required to do similar things. Maybe you need to mkdir first (could it be XMKD? See below...)
C:\>ftp
ftp> open localhost 2100
Connected to XYZHOST.mycompany.com.
220- XYZHOST
Unauthorised use of this FTP server is prohibited and may be subject to civil an
d criminal prosecution.
220 XYZHOST FTP Server (Oracle XML DB/Oracle Database) ready.
User (XYZHOST.mycompany.com:(none)): sys
331 pass required for SYS
Password:
230 SYS logged in
ftp> pwd
257 "/" is current directory.
ftp> cd i
250 CWD Command successful
ftp> pwd
257 "/i" is current directory.
ftp> quote help
214- The following commands are recognized:
USER PORT RETR MSND* ALLO* DELE SITE* MKD XPWD
PASS PASV STOR MSOM* REST* CWD SYST XMKD CDUP
ACCT* TYPE APPE MSAM* RNFR XCWD STAT* RMD XCUP*
REIN* STRU MLFL* MRSQ* RNTO LIST HELP XRMD STOU
QUIT MODE MAIL* MRCP* ABOR NLST NOOP PWD
214 (*'s => unimplemented)
ftp> -
XML Basic Demo - ORA-31001: Invalid resource handle or path name
I have been attempting to install the xml basic demo into Oracle 9.2.0.3. The initial setup appears to go OK, but upon attempting to run '1.1 Make Directories' as the demo user (in my case: xdbdemouser/xdbdemouser), I get the following error message:
ERROR at line 1:
ORA-31001: Invalid resource handle or path name "/home/XDBDEMOUSER/"
ORA-06512: at "XDB.DBMS_XDB", line 168
ORA-06512: at line 5
If I run this script as system or xdb, it appears to work OK. Obviously, the xdbdemouser exists in the database....
Can anyone help ??
thx - mattDid you run 0.0 and 0.1 before running this step. You must run resetDemo before starting the demo for the first time.
-
Invalid resource handle or path name "/cmshome"
I setup an cmsxdb.
a user is created but the following error occured.
"oracle.otnsamples.cmsxdb.exception.CMSAccessException: SQL Exception in getFolderContents for type : FOLDER while getting the list : oracle.jdbc.driver.OracleSQLException: ORA-29902: error in executing ODCIIndexStart() routine
ORA-31001: Invalid resource handle or path name "/cmshome" "
pls how to setup /cmshome
thxDan,
Did you follow the installation instructions in the Install.html file provided in the doc directory?
While configuring the application, did the following statement go through successfully :
SQL>@<SAMPLE_HOME>/sql/install.sql
Else, please post the error message.
This SQL script creates the '/cmshome' folder.
Note : This application works with Oracle9i v9.2.0.2 or higher Database Server only.
Regards
Pushkala -
OCCI Error - ORA-32102: invalid OCI handle
Hi,
I'm completely new to OCCI and Linux and trying to run the simple OCCI program given in oracle site (http://www.oracle.com/technology/tech/oci/occi/occibasic.html) to connect a remote Oracle DB server.
#include <iostream>
#include <occi.h>
using namespace std;
using namespace oracle::occi;
int main()
Environment* env = Environment::createEnvironment();
Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB"); // user, password, url
Statement* stmt = conn->createStatement();
stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
stmt->executeUpdate();
conn->terminateStatement(stmt);
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
return 0;
When I try to run it after compilation it gives the following error.
ORA-32102: invalid OCI handle
The error should be in the line: Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB");
I could track it by placing a cout<< there.
Why this is and how can I handle this error? Please post your experience.
ThanksHi,
I found the reason. It may due to the permission level of the user "testdb". When I tried with a different user it worked!
Thanks -
Ora-31001 invalid reference when enqueuing xmltype payload w/ dtd file ref
We're using AQ to store xmltype payloads in an Oracle 10gR2 DB.
We're able to enqueue normal XML payloads without issue, but recently we've attempted to enqueue XML with a DOCTYPE tag with reference to a dtd file. This results in an ora-31001 error stating the file reference for the dtd is invalid.
We've tried moving the dtd around, but are unsure what the oracle dbms thinks is the base dir for the file reference.
I've seen some documentation for xmldb that states the dtd must be located in reference to the xml doc, but as we are enqueueing an xmltype datatype in AQ I'm not sure how this can be applied. I've also seen documentation about using a dbms package to set the base url, but am also not sure how to apply it to this situation.
Anyone able to tell me where I can drop this dtd so that Oracle can reference it when parsing the xml during an enqueue?
Thanks!
TonySorry didn't receive email notification of your response, or I would have replied sooner. Seems like that is happening on the forums sometimes.
Here is a pl/sql block for enqueueing xml into a queue table with an xmltype payload:
BEGIN
declare
enqOpts dbms_aq.enqueue_options_t;
msgProps dbms_aq.message_properties_t;
enqMsgid raw(16);
begin
dbms_aq.enqueue(
queue_name => 'YOUR_QUEUE_NAME',
enqueue_options => enqOpts,
message_properties => msgProps,
payload => XMLType (
'<INSERT XML HERE>'),
msgid => enqMsgId);
commit;
END ;
END;
/ -
We are using the oracle::occi::Timestamp data type to format a timestamp. To create the Timestamp we need to call createEnvironment. We then want to clean up and terminateEnvironment, otherwise we leak memory. I'm receiving an ORA-32102 error and I'm not sure why. Has any one had experience with this? I'm calling timestamp.setNull() before calling terminateEnvironment(env). I am not creating any connections, statements, etc, just a Timestamp.
can you post the sample code?
-
Hi:
I am using 11gR1 on Windows Server 2003, and trying to setup XMLDB web services and got ora-31001. I Did :
begin
DBMS_NETWORK_ACL_ADMIN.DROP_ACL('localhost.xml');
dbms_network_acl_admin.create_acl(
acl => 'localhost.xml'
,description => 'ACL for 127.0.0.1'
,principal => 'myname'
,is_grant => true
,privilege => 'connect');
dbms_network_acl_admin.assign_acl('localhost.xml', '127.0.0.1');
end;
And got following errors:
ORA-31001: Invalid resource handle or path name "/sys/acls/localhost.xml"
ORA-06512: at "XDB.DBMS_XDB", line 331
ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 392
ORA-06512: at line 2
It seems to be complaining about the default directory “/sys/acls”. How do I do it in Windows? It does not help even if I created a "c:\sys\acls"
Thanks in advnace for your help,
RichardThe security structure /issue it was refering too ("/sys/acls/localhost.xml") is not outside the database. It refers to the XDB repository WebDAV resource structures IN the database (so not on OS or otherwise) which are protected via access control lists. Also you need a database user / the database privileges to create and alter ACL settings. Those ACL's ACE's etc themself are stored in an XML file (your dealing with XMLDB, so what else ;-) ).
-
Invalid OCI handle when creating a Blob
I have an application that talks to an Oracle 11gR2 database. I am using the OCCI C++ library. I can call SPs with no problem when they do not contain a Blob. Now I need to pass in a Blob to a SP and I am getting an ORA-32102: invalid OCI handle exception thrown when I call blob->open(OCCI_LOB_WRITEONLY). This same style of code works when I call a SP that does not have a Blob parameter so naturally I am confused. What could be wrong with this?
Thanks,
Aaron
FYI, Here's the code segment in question
Statement *statement;
try {
// create the connection
statement = myconnection->createStatement();
// create the start timestamp
// create the end timestamp
// create the blob of data
blob = new Blob(myconnection);
blob->open(OCCI_LOB_WRITEONLY); // <---------------------------------------- here the exception ORA-32102 is thrown
blob->write(packSize,(uint8_t*)dataBlock,dataBlockSize);
blob->close();
// create statement and set input parameters
statement->setSQL("BEGIN network_analysis.update_network_ip(:1,:2,:3,:4,:5); END;");
statement->setInt(1,dbconnect->networkMetricId);
statement->setTimestamp(2,startTime);
statement->setTimestamp(3,endTime);
statement->setBlob(4,*blob); // setBlob 2nd parameter is a reference
statement->setInt(5,numEntries);
statement->executeUpdate();
} catch (SQLException &e) {
FATALF("%s",e.what());
myconnection->terminateStatement(statement); // free resource
delete blob;Edited by: user8859202 on Dec 16, 2009 12:16 PMUpdate, I found the answer which is streams must be used. The setBinaryStreamMode is used and after executeUpdate, I update the stream.
-
If createConnection hit "connection lost contact" then "invalid OCI handle"
I am facing a peculiar error with OCCI API :
The c++ application make use of OCCI API to interact with 10 different oracle DBs sequentially in loop, but the moment
pConn = pEnv->createConnection(a_usr, a_pass, a_connection) for 1 slow db is hit with "ORA-03135: connection lost contact" then
for all the remaining other db execution I get a constant error - "ORA-32102: invalid OCI handle" i.e
when the control moves to next db then "pConn = pEnv->createConnection" is successful for all the rest db but when
pRes = pStmt->executeQuery() is executed I get this - "ORA-32102: invalid OCI handle" standard error.
The rest of dbs are live, cross checked with SQLPLUS.
The OCCI resources and handlers are initialized in class and remains in memory till the end of the application. In healthy situation the application works fine for all10 dbs and handles all the ORA errors well except for this situation.
Question: When OCCI hit ORA-03135 error in createConnection method , does OCCI releases the memory (or handlers) ..? If yes then with the same "env" handler why OCCI succeeds in making the next connection and we have correct "con" handler, similarly "createStatement" is also successful but this same "statement" handler the executeQuery() fails with -invalid OCI handle ??
In healthy situation all logic works just fine, I am able to get the data that means sql queries and resultset handle code is perfect.
Thanks in advance,
VijayIf you haven't found a solution for this yet, could you post the entire section of code? Please use the code tag to post the code.
-
"ORA-00903: invalid table name" when enqueue using a CLOB in an ADT payload
I am attempting to enqueue into an AQ that has an ADT with a CLOB field in it. If I leave the CLOB empty, it works. As soon as I place content in it, I get the error below in the BPEL log.
I actually get the same problem when I run the "AQ_ADT_with_CLOB_Payload" example. Please help!
Error in the BPEL log:
<2005-11-08 09:22:07,784> <ERROR> <default.collaxa.cube.ws> <AQ Adapter::Outbound> MessageWriter_enqueue: Could not enqueue message due to database error
<2005-11-08 09:22:07,784> <ERROR> <default.collaxa.cube.ws> <AQ Adapter::Outbound>
java.sql.SQLException: ORA-00903: invalid table name
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:661)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:951)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1057)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2942)
at oracle.tip.adapter.aq.database.MessageWriter.doEnqueue(MessageWriter.java:530)
at oracle.tip.adapter.aq.database.MessageWriter.enqueue(MessageWriter.java:341)
at oracle.tip.adapter.aq.database.MessageWriter.writeMessage(MessageWriter.java:303)
at oracle.tip.adapter.aq.outbound.AQEnqueuer.execute(AQEnqueuer.java:108)
at oracle.tip.adapter.aq.AQInteraction.executeRunTime(AQInteraction.java:194)
at oracle.tip.adapter.aq.AQInteraction.execute(AQInteraction.java:180)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:469)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:652)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:441)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:310)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:184)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:316)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:185)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3398)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1905)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:100)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:185)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5410)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1300)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:509)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:307)
at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:76)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:748)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:921)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)OK, I figured it out myself. :)
Turns out when I define the queue name in the AQ Adapter definition, I was specifying "<Default Schema>" as the schema name. When I changed this to my actual schema name (eg: "SCOTT"), it worked. Nice little bug there!
The reason it broke with the example program is because I was changing the schema name before I deployed it. As I didn't have a SCOTT schema.
So the moral of the story here is, don't use "<Default Schema>"!
I was running on 10.1.2.0.0 [build #1787 ]. In case anyone wants to fix this. -
Invalid File Path Names in Mac OS X
Hello,
I am trying to create a Javascript in Mac OS X 10.4.11, however I am having some trouble with what characters are valid in file path names in Mac OS X. Does anybody know where I can get a list of invalid characters that cannot be used in a file name?
Thanks,
jamesAny character other than a colon can be used in the name, but additional characters and names may be handled differently if you are interacting with the UNIX shell in the script.
(30221) -
ORA-15100: invalid or missing diskgroup name in 11g ASM
We have 11g R2 DB and 11g ASM installed on linux server, it was working till morning,due to some maintenance we rebooted server, then i am trying to bring up asm instance, its falling with below error.
[oracle@adg dbs]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 16 16:15:57 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
SQL> startup force pfile='/u01/app/11.2.0/grid/dbs/init+ASM.ora';
ASM instance started
Total System Global Area 284565504 bytes
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ORA-15110: no diskgroups mounted
SQL> show parameter string
NAME TYPE VALUE
asm_diskstring string DATA, DATA1
SQL> shut immediate
ORA-15100: invalid or missing diskgroup name
ASM instance shutdown
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
[oracle@adg dbs]$ vi init+ASM.ora
[oracle@adg dbs]$ /etc/init.d/oracleasm listdisks
DISK1
DISK2
[[root@adg ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 2/625504078
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: ALTER DISKGROUP RECOVERY_AREA MOUNT /* asm agent */
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc ; (incident=8105):
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/asm/+asm/+ASM/incident/incdir_8105/+ASM_rbal_6520_i8105.trc
ERROR: ORA-600 in COD recovery for diskgroup 1/0xfe086f4c (DATA)
ERROR: ORA-600 thrown in RBAL for group number 1
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
RBAL (ospid: 6520): terminating the instance due to error 488
Tue Aug 16 15:47:03 2011
ORA-1092 : opitsk aborting process
Tue Aug 16 15:47:04 2011
Instance terminated by RBAL, pid = 6520
Tue Aug 16 15:51:08 2011
Starting ORACLE instance (normal)I tried already.
SQL> select disk_number, name, label, path, mount_status,HEADER_STATUS, state from v$asm_disk
2 ;
DISK_NUMBER NAME LABEL
PATH
MOUNT_S HEADER_STATU STATE
1 DISK2
ORCL:DISK2
CLOSED MEMBER NORMAL
0 DISK1
ORCL:DISK1
CLOSED MEMBER NORMAL
DISK_NUMBER NAME LABEL
PATH
MOUNT_S HEADER_STATU STATE
SQL> alter diskgroup recovery_area mount;
alter diskgroup recovery_area mount
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup
"RECOVERY_AREA"
SQL>
here is alert log information
==================
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/11.2.0/grid/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =0
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option.
Using parameter settings in client-side pfile /u01/app/11.2.0/grid/dbs/init+ASM.ora on machine adg.xxxx.com
System parameters with non-default values:
large_pool_size = 12M
instance_type = "asm"
remote_login_passwordfile= "EXCLUSIVE"
asm_diskstring = ""
asm_power_limit = 1
diagnostic_dest = "/u01/app/oracle"
Tue Aug 16 16:32:26 2011
PMON started with pid=2, OS id=11558
Tue Aug 16 16:32:26 2011
VKTM started with pid=3, OS id=11560 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Tue Aug 16 16:32:26 2011
GEN0 started with pid=4, OS id=11564
Tue Aug 16 16:32:26 2011
DIAG started with pid=5, OS id=11566
Tue Aug 16 16:32:26 2011
PSP0 started with pid=6, OS id=11568
Tue Aug 16 16:32:26 2011
DIA0 started with pid=7, OS id=11570
Tue Aug 16 16:32:27 2011
MMAN started with pid=8, OS id=11572
Tue Aug 16 16:32:27 2011
DBW0 started with pid=9, OS id=11574
Tue Aug 16 16:32:27 2011
LGWR started with pid=10, OS id=11576
Tue Aug 16 16:32:27 2011
CKPT started with pid=11, OS id=11578
Tue Aug 16 16:32:27 2011
SMON started with pid=12, OS id=11580
Tue Aug 16 16:32:27 2011
RBAL started with pid=13, OS id=11582
Tue Aug 16 16:32:27 2011
GMON started with pid=14, OS id=11584
Tue Aug 16 16:32:27 2011
MMON started with pid=15, OS id=11586
Tue Aug 16 16:32:27 2011
MMNL started with pid=16, OS id=11588
ORACLE_BASE from environment = /u01/app/oracle
Tue Aug 16 16:32:27 2011
SQL> ALTER DISKGROUP ALL MOUNT
Tue Aug 16 16:34:23 2011
SQL> alter diskgroup recovery_area mount
NOTE: cache registered group RECOVERY_AREA number=1 incarn=0x100b432b
NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0x100b432b
Tue Aug 16 16:34:24 2011
NOTE: Loaded library: /opt/oracle/extapi/32/asm/orcl/1/libasm.so
Tue Aug 16 16:34:24 2011
ERROR: no PST quorum in group: required 2, found 0
NOTE: cache dismounting (clean) group 1/0x100B432B (RECOVERY_AREA)
NOTE: dbwr not being msg'd to dismount
NOTE: lgwr not being msg'd to dismount
NOTE: cache dismounted group 1/0x100B432B (RECOVERY_AREA)
NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0x100b432b
kfdp_dismount(): 2
kfdp_dismountBg(): 2
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 1/269173547
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: alter diskgroup recovery_area mount
Tue Aug 16 16:34:53 2011
SQL> alter diskgroup recovery_area mount
NOTE: cache registered group RECOVERY_AREA number=1 incarn=0xc86b4331
NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0xc86b4331
Tue Aug 16 16:34:53 2011
ERROR: no PST quorum in group: required 2, found 0
NOTE: cache dismounting (clean) group 1/0xC86B4331 (RECOVERY_AREA)
NOTE: dbwr not being msg'd to dismount
NOTE: lgwr not being msg'd to dismount
NOTE: cache dismounted group 1/0xC86B4331 (RECOVERY_AREA)
NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0xc86b4331
kfdp_dismount(): 4
kfdp_dismountBg(): 4
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 1/-932494543
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: alter diskgroup recovery_area mount -
ORA-00904: invalid column name in select query by using abstract datatype
Hi,
I had created abstract datatype as PERSON_TY and ADDRESS_TY ,
after inserting the record . i'm tryng to select the column but i got the error , even i refferd all those thing. they are given that same please look this finde me a result.
SQL> DESC PERSON_TY
Name Null? Type
NAME VARCHAR2(25)
ADDRESS ADDRESS_TY
SQL> DESC ADDRESS_TY
Name Null? Type
STREET VARCHAR2(30)
CITY VARCHAR2(25)
STATE CHAR(2)
COUNTRY VARCHAR2(15)
SQL> SELECT * FROM EMPLOYE
2 ;
EMP_CODE
PERSON(NAME, ADDRESS(STREET, CITY, STATE, COUNTRY))
10
PERSON_TY('VENKAT', ADDRESS_TY('112: BLUE MOUNT', 'CHENNAI', 'TN', 'INDIA'))
20
PERSON_TY('SRINI', ADDRESS_TY('144: GREEN GARDEN', 'THAMBARAM', 'TN', 'INDIA'))
SQL> SELECT PERSON.NAME FROM EMPLOYE
2 ;
SELECT PERSON.NAME FROM EMPLOYE
ERROR at line 1:
ORA-00904: invalid column name
regards
venkiSELECT PERSON.NAME FROM EMPLOYEIf you look in the documentation, you will see that we need to alias the table in order to make this work:
select e.person.name from employees e
/Cheers, APC
Blog : http://radiofreetooting.blogspot.com
Maybe you are looking for
-
Please help me, Im at my wits end and about to stomp on my blackberry. The last couple weeks everytime I push a button it gets the timer up. its faster to take the battery out at this point than wait for the timer. drives me nuts! So I searched for f
-
How to give a javascript alert befor doing any insert or update
Hi, Is there any way to give a javascript alert befor doing any insert or update? I want to use default insert/update button. Thank you Sumita
-
Error: 400 "Bad Request" for "deletetree", file "": Unsupported protocol .
Hi I have an C# application suddenly crashing after months of operation. The application is running on a Windows7 machine and is controlling 2 x NI6602 PCI counter cards through daqmx. The only clues to what when wrong is the following messages in
-
How do I determine o and ou for an individual SearchResult?
I am doing a search of an LDAP directory on o=company. When I display the results, I would like to see such things as ou and dn, but they aren't showing up in the results. Is there anyway to derive this from the SearchResult? Thanks.
-
Why won't paragraph styles change?
I opened a document from a few months ago and updated paragraph styles to a different font. However when I click on text and assign a style it has no effect. If I go to "basic paragraph" and click on that while holding down the option and shift keys,