Snmp_ro.ora not generated error -- need fix
I ran 'agentctl start' after my successful Oracle 9.2.0 installation (though I did get an error saying my NLS_LANG was set wrong, but I fixed this in my .profile after the intall). I received the error: "required config file 'snmp_ro.ora' was not generated." How can I fix this?
Michael
You need to leave those two files alone.
They are NOT involved in defining MIBs.
There is a file called ora_mibs 'somewhere' which should be read by the snmp peer agent, and everything should work.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
Ddgen Structure not generated error
Hi ALL,
When i am trying to activate the activity in the DTR,
I am getting Structure com.sappi.sfp.rcpe.model.types.Zsd_Pmt_S_Prdtyperep_Repdata is not generated error.
Please check the below error and help me wht is the issue.
[ddgen] [Info] Generating datatypes/com/sappi/sfp/rcpe/model/types/Zsd_Pmt_S_Rel_Grades.gstructure
[ddgen] [Info] Generating datatypes/com/sappi/sfp/rcpe/model/types/Zsd_Pmt_S_Custm.gstructure
[ddgen] [Info] Generating datatypes/com/sappi/sfp/rcpe/model/types/Zsd_Pmt_S_Codevrg.gstructure
[ddgen] [Error] Structure com.sappi.sfp.rcpe.model.types.Zsd_Pmt_S_Prdtyperep_Repdata is not generated
[ddgen] [Error] BuiltIn Type or Simple Type expected
[ddgen] [Info] Catching throwable null [ddgen] [Info] com.sap.dictionary.generation.ant.GenerationAntTaskError
[ddgen] at com.sap.dictionary.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:171)
[ddgen] at com.sap.dictionary.tools.generation.Generation.generatePersistentStructure(Generation.java:480)
[ddgen] at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:168)
[ddgen] at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)
[ddgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ddgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ddgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ddgen] at java.lang.reflect.Method.invoke(Method.java:324)
[ddgen] at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:219)
[ddgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[ddgen] at org.apache.tools.ant.Task.perform(Task.java:364)
Thanks
RaviHey Ravi,
It seems that the model you have imported did not get reflected in you activity.
I would sugest try re-importing the model (if possible delete and re-create). If it prompts you to add file, accept it.
Let me know what happens.
Ashutosh -
Asset reports not generating error message showing
Dear Guru's
I need ur help, I am not getting any asset reports, i run depreciation. when i am going to generate asset reports in T.code AR02 and S_ALR_ series reports error message showing "Fiscal year not yet made change", I closed fiscal year and open new fiscal year. I am not getting any asset reports from assets purchased ,
Client fiscal year is Calender year, In 2004 fiscal year all assets updated in sap that fiscal year also i am not getting reports. i run deprecial upto 2006.
Pls help me this is very urget
Thanks & Regards
SatishIs correct,
The current fiscal year should be open othere wise it is not possible to run reports.
You can have only 2 years open
Run depreciation fiscal year xxxx (when there are assets for depreciation)
close old fiscal year xxxx
open fiscal year xxxxx
Here you found how to do this
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erpfi/asset+accounting -
Can OATM Lexer error be fixed in place or do I need to start over?
Hi,
I am doing some trial runs of OATM. I had registered CTXSYS to include it in the OATM migration and I was aware that I might hit some issues because I couldn't locate the drkorean.sql script and wanted to still keep moving. Sure enough, I am 99% complete but have these errors in the logs for several schemas.
DRG-11422: linguistic initialization failed
DRG-11446: supplied knowledge base file /sechi/oracle/product/112/ctx/data/enlx/droldUS.dat not installed
DRG-10595: ALTER INDEX CS_INCIDENTS_ALL_TL_N1 failed
DRG-50857: oracle error in drixmd.PurgeKGL
ORA-20000: Oracle Text error:
DRG-13201: KOREAN_LEXER is desupported
ORA-30576: ConText Option dictionary loading error
DRG-50610: internal error: kglpurge
My longterm (real) fix will be to run drkorean.sql BEFORE the migration so as to not hit these errors in the first place.
However, once I locate this script and run it, could I just restart OATM migration for those schemas in which I got this
errror? Can i (I should I) bounce the DB inbetween?
If not, I will just restore the whole DB from backup and restart, pretending it never happened. I just want to know if
in-place fixes can be done in case I were to encounter some issue when going live during the live run.
Thanks, MarvThanks all.
I bounced the DB again. Got the same issue. Despite the "error log report" not having every single schema at 100%, using other queries I could not find any object that had not been migrated, and the audit report said SUCCESS everywhere.
A friend a colleague had a script to generate some manual migration commands and it came up with these...24 of them
ALTER INDEX "HR"."IRC_DOCUMENTS_CTX" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF') ;
ALTER INDEX "HR"."IRC_DOCUMENTS_CTX1" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF') ;
.. another 22 commands
and I ran them and they all worked, except for this one:
ALTER INDEX "JTF"."JTF_AMV_ITEMS_URL_CTX" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF')
ERROR at line 1:
ORA-29874: warning in the execution of ODCIINDEXALTER routine
ORA-29960: line 1,
DRG-10595: ALTER INDEX JTF_AMV_ITEMS_URL_CTX failed
DRG-10758: index owner does not have the privilege to use file or URL datastore
But this error I saw before in another metalink note as ignorable so I am ignoring it and continuing..
may not even have needed to do the above commands since everything was listed as having migrated, but all but 1 worked so continued (this is a PRE-CRP) so going to keep going...
now doing the steps like resizing the old tablespace and dropping empty files... will see if the system
At this point I'm just interested to see if the system will come up... -
DR Server not started generating errors
Dear All
i want to start dr server
but it generating error
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Oct 22 09:58:18 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1526726656 bytes
Fixed Size 2053752 bytes
Variable Size 771754376 bytes
Database Buffers 738197504 bytes
Redo Buffers 14721024 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1526726656 bytes
Fixed Size 2053752 bytes
Variable Size 771754376 bytes
Database Buffers 738197504 bytes
Redo Buffers 14721024 bytes
Database mounted.
SQL> select OPEN_RESETLOGS from v$database;
OPEN_RESETL
REQUIRED
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'G:\ORACLE\PRD\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
SQL>
Please tell how can i resolve that issue........ i want to up DR Immediatly
regardsHi
execute the below commands in mount mode
SQL>recover database;
then
SQL> alter database open resetlogs;
Raj -
SQL> conn /as sysdba
Connected.
SQL> conn hr/hr
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
I tried to fixed this way but I could not.
SQL> conn /as sysdba
Connected.
SQL> select status from v$instance
2 ;
STATUS
MOUNTED
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 753278976 bytes
Fixed Size 1374724 bytes
Variable Size 469763580 bytes
Database Buffers 276824064 bytes
Redo Buffers 5316608 bytes
Database mounted.
ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],
[332], [94], [138], [], [], [], [], [], [], []
SQL> select status from v$instance
2 ;
STATUS
MOUNTED
SQL> Select object_name,object_type,owner from dba_objects where data_object_id=
332
2 ;
Select object_name,object_type,owner from dba_objects where data_object_id=332
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
SQL> conn /as sysdba
Connected.
SQL> Select object_name,object_type,owner from dba_objects where data_object_id=
332
2 ;
Select object_name,object_type,owner from dba_objects where data_object_id=332
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 753278976 bytes
Fixed Size 1374724 bytes
Variable Size 469763580 bytes
Database Buffers 276824064 bytes
Redo Buffers 5316608 bytes
Database mounted.
SQL> recover database
Media recovery complete.
SQL> alter database open
2 ;
alter database open
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],
[332], [94], [138], [], [], [], [], [], [], []ORA-00600 is the final "it's not anything else" error. It pretty much means "open an SR". There is an ora-0600 lookup tool on MOS where you can feed it some arguements from your specific error and see if anything comes up. But you'll still need an MOS account, either way.
-
TimeStream Error (not generated for year 1970)
Dear Experts ,
I am facing a problem with Time Stream .... When i try to open a Planning Book i am receiving the following message:
Timestream (TS ZBRSNP_ZF ) not generated for year 1970
Message no. T9507
Diagnosis
The date is outside the periods maintained in the factory or planning calendar (timestreams).
System Response
The error causes a system crash.
Procedure
a) Regenerate the timestream as far in the future (or possibly the past) as possible
or
b) Use the report ZZTSTRDELE to delete the runtime objects of the timestreams, if changes have been made to Customizing settings. For more information, see SAP Note 169885.
It starts happen after i included Initial Column at Planning Book .... The Factory Calendar that i am using starts on 2006 and ends on 2020 .... The timestream i am using is looking for 2 years in the past and 9 years in the future.
*The message above says that it is necessary to execute report ZZTSTRDELE but i am having some problems while donwloading SAP note. It is possible do delete it manually? exist another way to fix this issue?
Please i hope someone can help me as soon as possible ....
My Best Regards
Mauricio FilhoHi Sunitha,
We have same type of problem now, could you plz adivise me how to fix this error and where we need to configure to overcome this error.
Thanks in advance
Sreeenivasu -
I can't fix the "Server Not Found" error
Ok, when I started up Firefox I was greated with a "Server not found" error, so I thougt to myself, " Ok, I'll just follow the instructions shown". Didn't help, still didn't work. So I dcided to use Internet Explorer until the issue fixed itself, didn't work. So I tried the 64 bit version, that worked. So basically what I'm trying to ask is: is there a 64 bit version to Firefox, or is another solution what i need?
Close all of your anti-virus software and restart your FF.
Also see [http://www.yanfei.info/2011/07/firefox-link-error solution of connection was reset] for more help . -
Access restriction error? not sure how to fix it....
I am trying to use JPEGImageEncoder and i imported import com.sun.image.codec.jpeg.*; fine but i get the following error on my code:
CODE:
JPEGImageEncoder encoder =JPEGCodec.createJPEGEncoder(outImage);
ERROR:
Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library /usr/local/java/jdk1.6.0_07/jre/lib/rt.jar
I am not sure how to fix this... anyone know what needs to be done? I am using eclipse and i see the rt.jar in my library....
thanks!MikeTheBorg wrote:
OK, I agree it's simpler for simple cases, but how do I do something like this:
JPEGImageEncoder jie = JPEGCodec.createJPEGEncoder(os);
JPEGEncodeParam jep = jie.getDefaultJPEGEncodeParam(bi);
jep.setDensityUnit(JPEGEncodeParam.DENSITY_UNIT_DOTS_INCH);
jep.setXDensity(1200);
jep.setYDensity(1200);
jep.setQuality(1, false);
jie.setJPEGEncodeParam(jep);
jie.encode(bi);
using ImageIO?
"Stupid" Eclipse+Maven refuse to compile this legacy code.It's an Eclipse error, not a Java/compiler error as such. To fix it, I believe you have to check your plug-in configuration -- imported packages here or exported packages there. Try adding "com.sun.image.codec.jpeg" to the imported packages. Something along those lines. Anyway, bottom line: this is not an issue with the code.
Furthermore, lookee here: GIAD -
10.1.3.26 Generator Error - nullPGItemModel is Not Defined
Snippet from Re: problem to generate secret field with JHeadstart 10.1.3.1.0
Posted: Mar 28, 2007 5:39 AM
With 10.1.3.1.26, I'm able to generate once but later generation runs give this error:
Could not instantiate JhsApplicationGenerator class: No bean named 'nullPGItemModel' is defined
I'm unclear from the thread where I need to look for the problem template.
>>>>>>>>>>>
Steven Davelaar Reply
Please start a new thread for a new problem the next time.
When you get this error, you forgot to set the display type for an item. The navigator tree should also show a warning icon for the item to indicate the missing required property.
Steven Davelaar,
JHeadstart Team.
>>>>>>>>>>>>
Thanks Steven,
Sorry. I saw the similar error message in that thread about nullPG ... model and thought it was the same problem. In any case, this is a new one now so I can relate my solution in case someone else runs into it.
I was getting that generator error message even though all my items had display types and no warning icons appeared in the navigator tree.
However, I had a master group with no items in it and had made changes to region-metadata.xml. After backing out the region-metadata changes and adding a master group item, I was able to generate. I suspect the region-metadata changes more than the missing item because a group with no items throws a clear message that the Descriptor Item is missing. Of course, I can't reproduce the error at the moment.
Peter Koletzkeah...it was erroring because i didnt include the
xpath.js -
Multiple selection in Query Panel. Operator Does not equal generates error.
Hi,
I'm using Jdeveloper 11.1.1.4 and creating Oracle Fusion Web Application with ADF Business Components.
I want to use multiple selection on LOV in ADF Query Panel with Table, but I get the following error
when I use operator "Does not equal":
Error: Unsupported model type.
SelectMany does not support a model of type class java.lang.Integer.
A simple example:
Schema: HR
Generate default Business Components for tables Departments and Employees.
Model:
Create List of Values for EmployeesView(DepartmentId)
List Data Source: DepartmentsView1
List Attribute: DepartmentId
Display Attributes: DepartmentName (UI Hints)
Create View Criteria EmployeesByDepartmentVC for EmployeesView
Criteria Item:
Attribute: DepartmentId
Operator: Equals
Operand: Literal
Select "Support Multiple Value Selection" (UI Hints)
ViewController:
Create blank JSF Page: showEmployees.jspx
Drag EmployeesByDepartmentVC from Data Controls to showEmployees.jspx
Create Query=>ADF Query Panel with Table
Run application.
Press Advanced button.
Select operator "Does not equal" and department names "Administration;Marketing"
Press Search
Error: Unsupported model type.
SelectMany does not support a model of type class java.lang.Integer.
Note: it works fine with operator "Equals"
Best,
Kees.Hi,
I was reading:
http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html#bugs_fixed_in_11.1.2.2.0
Bugs Fixed in 11.1.2.2.0
Bug.No. 13508184
unsupported model type error thrown for multi select view criteria
I have tested the use case described in this thread with JDeveloper 11.1.2.2.0 but I still get the same error.
when I use operator "Does not equal":
Error: Unsupported model type.
SelectMany does not support a model of type class java.lang.Integer.
Is there anybody who can tell me more about this bug fix?
Thanks,
Kees. -
Hi guys
Trying to run this package on SQL 2012 agent and getting below error . No more details I could find so far.
The step did not generate any output. The return value was unknown. The process exit code was -1073741819. The step failed.
About Package - Its connecting to different version (2000,2005,2008,2008R2,2012) servers and putting Jobs information into one Database table.
Any workaround or fix ?
Thanks
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to TeachNew package or one that used to work? Connecting how? How does it poll?
On the surface it is an error from a memory space of the binary/non-managed code, so nothing can be really concluded based on what you decided to share with us.
Arthur My Blog
So Same package is working fine from my local machine which has SQL 2008 R2 and SQL 2012 installed. I am trying to push the package on server which has sql server 2012 Installed .
I don't see any error .
I ran package manually from server using SQL Data tools and ran successfully...
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach -
Why an "ORA-01006: bind variable does not exist" error when no dynamic SQL?
Hi all,
While running PL/SQL in SQL Developer 3.2.09, I got the following error after adding a section of code. Note that nothing I'm doing has anything to do with dynamic SQL (which is what 01006 is supposedly about).
Error report:
ORA-01006: bind variable does not exist
01006. 00000 - "bind variable does not exist"
*Cause:
*Action:
After commenting out the new chunk of code that caused the error, the error persisted.
After deleting the new code, the error went away.
What the heck!?!? If you have any ideas, please lay 'em on me.
Thanks so much,
Kim
P.S. It's a few hundred lines of code, so I didn't append it to this post and I don't see how to attach a file.Let's review a few facts:
1. You post a question in the sql developer forum that has no apparent relation to sql developer. You could confirm this by doing the test using sql*plus or some other tool.
2. You provide NO information about what database you are even using. The only clue is an ORA -xxx message that means SOME version of Oracle is involved.
3. You provide NO information about what the four digit version of Oracle DB is being used.
4. You provide NO information about what the code in general or what that specific section of the code is even doing. The code could be doing literally anything that Oracle is capable of doing.
That's a bit like calling a mechanic you don't know, telling them your car is making a funny noise and asking them what the problem with your car is.
>
While running PL/SQL in SQL Developer 3.2.09, I got the following error after adding a section of code. Note that nothing I'm doing has anything to do with dynamic SQL (which is what 01006 is supposedly about).
Error report:
ORA-01006: bind variable does not exist
01006. 00000 - "bind variable does not exist"
*Cause:
*Action:
The error gives no indication of where the error occurred in the code.
>
Your first clue that your troubleshooting method is seriously flawed is when you make statements that aren't supported by any evidence at all but appear to be nothing but your opinion.
Your second clue is when those statements appear to directly contradict what Oracle is telling you.
I'm talking about these two statements you make; which you state as if they were universal truths
>
nothing I'm doing has anything to do with dynamic SQL
(which is what 01006 is supposedly about).
>
If thoe were true then your 'unstated' conclusion appears to be that Oracle is wrong in saying 'bind variable does not exist'
Sorry - but I would place my money on Oracle.
I'm sure the above may sound harsh - it is intended to be. My four major rules (there are more) when troubleshooting Oracle problems.
1. Assume that Oracle is CORRECT when it tells you there is a problem.
2. Assume that you are WRONG if your opinion conflicts with what Oracle is telling you - see rule #1.
3. Don't make ANY other assumptions. You can form hypotheses but don't state them as facts until they are proven.
4. Your 'opinion' is only useful to the extent that it can help you form meaningful hypotheses - see rule #3.
>
To reiterate, there is no dynamic SQL in the code.
>
To reiterate - if, as you state, that error relates to dynamic SQL and bind variables then it can not be disputed that:
ORACLE DOESN'T AGREE WITH YOU!
So let's try it my way and hypothesize that Oracle is correct (see rule #1 above).
Then by definition this statement by Oracle is correct
>
ORA-01006: bind variable does not exist
>
And that should immediately raise this question:
1. where might there be a bind variable that does not exist?
which leads to a prerequisite question:
2. where are ALL of the bind variables that might be being used?
Question #2 is where you need to start your search. Here are at least five possibilities (there are more)
1. your code - this should be easiest to check and you state that your 'anonymous' block does not have any.
2. a table trigger - triggers that use the :NEW, :OLD or :PARENT pseudocolumns. Those psuedocolumns are BIND variables and the trigger code that uses them is, by definition, dynamic sql.
3. a pl/sql package/function/procedure - any of these might be being called from trigger code or a view that is involved in the transaction. Any of these could take a parameter and/or use bind variables and cause your problem if that bind variable does 'not exist'.
4. a functional index - can also trigger code from #3 above
5. an audit trigger that logs the audit activity that your user or your code is performing. This code could be trying to use a SYS_CONTEXT environment variable that has not been created and cause a 'bind variable does not exist' error.
See rule #1 - Oracle is CORRECT. Until you have identified and examined ALL of the code (not just your anonymous block) being executed and ruled it out you should continue with the hypotheses that Oracle is CORRECT.
In the (extremely) unlikely event that you can show that Oracle is NOT correct you should file a SOR with Oracle. -
ORA-22902 CURSOR expression not allowed Error Cause: CURSOR on a subquery..
Hi,
I found same issue in a metalink thread which is addressed in Oracle 12.1 which doesn't help me now. I need to rewrite the below query. Does anyone have any suggestions how to go about it?
thanks,
April
working in Oracle 11.2.0.3.1, windows server, doing an upgrade from 10g to 11g. Piece of code is failing with following error via TOAD
Oracle Database Error Code ORA-22902 Description :
CURSOR expression not allowed
Error Cause:
CURSOR on a subquery is allowed only in the top-level SELECT list of a query.
The below code is returning a tree of data for projects, units within the buildings.
Code as follows:
SELECT LEVEL
, p.project_id
|| NVL (p.file_ref, ' ')
|| '] ['
|| NVL (p.project_ref, ' ')
|| '] '
|| p.project_name
|| ' ( '
|| (SELECT COUNT (*)
FROM PROJECT p1
WHERE p1.parent_project_id = p.project_id)
|| ' sub-projects, '
|| (SELECT COUNT (*)
FROM PROJECT_ELEMENT pe2
WHERE pe2.project_id = p.project_id)
|| ' elements)' AS project_description
CURSOR
(SELECT pe.element_id
|| pe.element_ref
|| '] '
|| pe.element_name
|| ' ('
|| pe.unit_count
|| ')' AS element_description
CURSOR
(SELECT hu.hu_id
|| hu.hu_ref
|| '] '
|| CASE
WHEN hu.bedroom_count IS NOT NULL
THEN ', Bedrooms: ' || hu.bedroom_count
ELSE NULL
END
|| CASE
WHEN hu.bedspace_count IS NOT NULL
THEN ', Bedspaces: ' || hu.bedspace_count
ELSE NULL
END AS hu_descripton
FROM HOUSING_UNIT hu
WHERE hu.element_id = pe.element_id
ORDER BY hu.hu_ref
) AS housing_units
FROM PROJECT_ELEMENT pe
WHERE pe.project_id = p.project_id
ORDER BY pe.element_ref, pe.element_name
) elements
FROM PROJECT p
START WITH p.project_id = l_root_project_id
CONNECT BY PRIOR p.project_id = p.parent_project_id -- connect by used with LEVEL keyword
ORDER SIBLINGS BY p.file_ref DESC
, p.project_ref DESC
, p.project_name DESC;
Edited by: AprilM on Jul 17, 2012 10:28 AMInteresting. I am getting even worse results on 11.2.0.1.0:
SQL> select * from v$version
2 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
2 /
select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00905: missing keyword
SQL> connect scott
Enter password: *****
Connected.
SQL> select * from v$version
2 /
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL> select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d
2 /
DNAME CURSOR(SELECTENAMEFR
ACCOUNTING CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
CLARK
KING
MILLER
RESEARCH CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
SMITH
JONES
SCOTT
ADAMS
FORD
SALES CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
ALLEN
WARD
MARTIN
BLAKE
TURNER
JAMES
6 rows selected.
OPERATIONS CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
no rows selected
SQL> And double CURSOR also works fine in 10g:
SQL> select cursor(select dname,cursor(select ename from emp e where e.deptno = d.deptno) from dept d) from dual
2 /
CURSOR(SELECTDNAME,C
CURSOR STATEMENT : 1
CURSOR STATEMENT : 1
DNAME CURSOR(SELECTENAMEFR
ACCOUNTING CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
CLARK
KING
MILLER
RESEARCH CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
SMITH
JONES
SCOTT
ADAMS
FORD
SALES CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
ENAME
ALLEN
WARD
MARTIN
BLAKE
TURNER
JAMES
6 rows selected.
OPERATIONS CURSOR STATEMENT : 2
CURSOR STATEMENT : 2
no rows selectedSY.
Edited by: Solomon Yakobson on Jul 17, 2012 1:27 PM -
ORA-0 1033 Error- Immediate Help Needed!
Hello I am a student have little knowledge abt oracle. My Oracle failed to startup showing ORA-0 1033 error. and its just 3 days before my project submission. Please Help immediately. Here is what I tried ---
C:\>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Dec 18 11:23:47 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> shu immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup force mount;
ORACLE instance started.
Total System Global Area 293601280 bytes
Fixed Size 1248600 bytes
Variable Size 109052584 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
ORA-01207: file is more recent than control file - old control file
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
ORA-01207: file is more recent than control file - old control file
If it can be restored anyhow do help. I dont have a backup of the database!as i said i hv little knowledge abt oracle. I dont know if it was in archive log mode. how to find that out ! ... i think my oracle stopped working after an abnormal shutdown of the computer.
and, the file as you can see have the error --
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
any way to get this file restored??
Maybe you are looking for
-
In jsp how to display code?
in jsp how to display some code like this: String body=body1; String body_new=""; int Position = 0; while(true){ int index = body.indexOf(0x0D, Position); if(index == -1){break;} if(index > Position){ body_new += body.substring(Position, index); body
-
Programatically passing values to a content selector
HI, Currently Iam manually providing values to a property while creating a content selector from BEA Workshop. Please let me know whether it is possible to programmatically pass values to a property while creating a content selector from BEA Workshop
-
Delivery Split from multiple sales order with signle ship to party
Dear All, I have multiple sales oreder with different Sold to party and single Ship to Party. I want to combine all sales order into a single delivery but here deliver split due to different sold to party which I have checked through report ZLE_ANALY
-
Hi Friends, I have to make madatory of material statistics group and account assignment group in sales scrrens for MM01. please guide us which fields i have to make required? Regards,
-
SPRO Settings to configure the standard Workflow for PO
Hi Guys, Please let me know the steps to configure the Standard PO workflow. I want to know the SPRO Settings for the same