EMCA Error - Database Unavailable Exception?

Jun 7, 2012

I have installed Oracle 11gR2 on Windows 7 professional. I created a DB and a listener also.No issues there; I can connect to the DB with sqlplus and SQL Developer.when I try to configure dbcontrol on this DB, it fires errors;

--------------------------------------------------------------------------------------------
C:Windowssystem32>emca -config dbcontrol db

STARTED EMCA at Jun 7, 2012 2:20:15 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: ORA112
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableExcep

[code]...

How this can happen?

View 3 Replies


ADVERTISEMENT

PL/SQL :: Error While Configuring Emca

Sep 26, 2012

Below is the error returned, while configuring "emca" for "enterprise manager"

C:Documents and Settingsuser> emca -config dbcontrol db -repos create

STARTED EMCA at **** **:**:** PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: orcl
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:144)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1272)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
------------------------------------------------------------------------------------------

orcl is the oracle sid on my computer and database status is RUNNING

View 3 Replies View Related

Monitoring Of Prod Database Using EMCA Control

Apr 23, 2013

11.2.0.1

I am monitoring out PROD database using EMCA database control.

Under "Performance" tab I check the AVERAGE ACTIVE SESSION and I see spikes of "CPU concurrency". (figure emca1)

figure: emca1>

[URL].......

I want to investigate what causes this "spike" in cpu so I drill it down further:

figure: emca2>

[URL]........

Then figure drill down further:

figure: emca3>

[URL].......

But I can not understand what causes the spike thing.

View 2 Replies View Related

SQL & PL/SQL :: Table Contents - Unavailable Date

Oct 17, 2012

i have table A i.e. contents

----------------------
1-jan-2012 x
2-jan-2012 y
4-jan-2012 x
7-jan-2012 x

I need to discplay below:

1-jan-2012 x
2-jan-2012 y
3-jan-2012 0
4-jan-2012 y
5-jan-2012 0
6-jan-2012 0
7-jan-2012 x

View 1 Replies View Related

SQL & PL/SQL :: How To Get Exception Name And Error Text

Aug 21, 2012

I'm inserting to a table through a procedure, I want to log the rejected records to a log table with the execption / reason.How can I get the exception name and error text in PL/SQL ?

View 20 Replies View Related

Exception Error ORA - 7445 On Solaris X64

Jul 22, 2010

I am getting following error in my alert log file of my database

ORA-07445: exception encountered [kduget () +1032][sigbus]

as i can perform some of my database activity but from some of the users i cannot login.

i tried to search out and found that some Memory needs to be flushed out so restarting of database is only action to be taken?

View 6 Replies View Related

PL/SQL :: Cursor Went To Exception When It Got Error / No Data Found

Jul 7, 2012

My cursor went to the exception when its got the error " ORA-01403: no data found"

But my cursor need to run even though it got the error " ORA-01403: no data found"...This is my exception part

EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line (c1rec);
DBMS_OUTPUT.put_line (SQLCODE);
DBMS_OUTPUT.put_line (SQLERRM);
--  RETURN NULL;
-- code change added as part of GCA642 -- END
END get_geo_test1;

View 14 Replies View Related

Enterprise Manager :: Unable To Create EMCA In Oracle 11g

Mar 28, 2011

I am using Oracle 11g Rel1 on Window 2003 Server R2 Enterprise Edition x64 with SP2. I am trying to configure DB console using command throuth emca. But I am getting the below mentioned error. Even I tried after manually deleted the repository then tried to create using emca command.

==========================================================
Mar 28, 2011 3:11:16 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 28, 2011 3:16:16 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at D:appAdministratorcfgtoollogsemcamonetaemca_2011_03_28_15_09_53.log for more details.
Could not complete the configuration. Refer to the log file at D:appAdministratorcfgtoollogsemcamonetaemca_2011_03_28_15_09_
53.log for more details.

C:Documents and SettingsAdministrator>
===========================================================

logfile attached for your reference.

View 1 Replies View Related

Forms :: Error - Trigger Raised Unhandled Exception ORA-6508

Jul 8, 2011

I am trying to build one custom 10g form from TEMPLATE.fmb. when i try to compile my form in desktop it is giving error as Error FRM-40735: ON-ERROR trigger raised unhandled exception ORA-6508.

View 1 Replies View Related

Enterprise Manager :: Getting Exception In Sending Request / Null Error

Mar 18, 2010

I am using Oracle 10.2.0.1.0. My intention is to create a new database instance.

Here are the steps I have taken,

1. Using DBCA, I created a new database instance, oracle sid = MYORCL0318

2. I created the tablespaces for this instance.(I obviously have not imported any data into this database yet.)

then, I went to Enterprise Manager,

Login = sys
password = xxxxxxx
role = SYSDBA

After I login, I would get an Error like this

java.lang.Exception: Exception in sending Request :: null

View 3 Replies View Related

Exception String - Error In Invoking Target Install Of Makefile

Jul 9, 2013

I am getting error message while installing oracle database gateway 11.2 on linux el6 64 bit machine

Error in invoking target 'install of makefile dg4mqs.mk'...if we ignore the error and continue...after installation we can see missing executable files .

View 5 Replies View Related

SQL & PL/SQL :: FRM-40735 - On-error Trigger Raised Unhanded Exception Ora-06508?

Aug 7, 2012

when ever the developer connecting to database to generate froms or While trying to create inventory categories below error is appearing.

FRM-40735: On-error trigger raised unhandled exception ora-06508..

View 9 Replies View Related

Forms :: FRM-40735 / ON-ERROR Trigger Raised Unhandled Exception

Dec 21, 2010

I am using forms 10g developer suite, AIX in appl server.

When I run the form on my local drive through web I am getting error that,FRM-40735:ON-ERROR trigger raised unhandled exception ORA-06508.

My fmbs & fmxs are in e:fmb, libraries are in d:applicationlib.

FORMS_PATH in Registry is C:DevSuiteHome_1cgenf61admin;C:DevSuiteHome_1forms;e:fmb;d:applicationlib

I have set the same path in default.env also.What should I update, to run the form successfully.

View 3 Replies View Related

Forms :: ON-ERROR Trigger Raised Unhandled Exception ORA-06508

Jan 18, 2007

I am in process of migrating Oracle 6i Forms to Oracle 10g Forms.

In 6i, the Form compiles and runs without any giving any error.

In 10g it does complie without any error but gives following Runtime Error Message -

FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06508

View 15 Replies View Related

Forms :: FRM-40735 Or Error Trigger Raised Unhandled Exception ORA-03114

Jun 13, 2010

I am using database 10g and Form 6i. We are working under client server technology. Frequently we are receiving the following error to every user at randomly when they are idle few seconds/minutes.

FRM-40735 or error trigger raised unhandled exception ora-03114

View 5 Replies View Related

Server Utilities :: Error - An Unhandled Win32 Exception Occurred In Ctxhx.exe

Mar 15, 2011

I have importing a dump file which is of size upto 6GB, its working fine. At the last step after the import of all the tables when it enables constraints , indexed and everything a pop-up window with the above mentioned error in the subject pops-up.

I am not able to mention the error exactly so find the screen shot as attachment.

View 4 Replies View Related

Application Express :: Exception Handling Pl Packages And APEX Exception Handler

Oct 7, 2013

APEX 4.2Oracle 11g Database We are using the standard exception handler that was introduced in APEX 4.1, and we have code in packages & procedures in the database (following proper processes of keeping code in the database where possible).  When an exception is found in the procedures/ packages/functions, should the APEX application level exception handler catch any errors that occur or should they be handled in the package/procedure/function they occurred in? Why I ask if, we right now have exception handling code in the pl/code bodies BUT they write their errors to the same table that Apex's Exception handler does, but the errors are NOT presented to the user using the APEX exception handling mechanism.

View 2 Replies View Related

Forms :: Implement Exception Handling In Exception Block Of A Trigger

Oct 10, 2011

I have to implement exception handling in the exception block of a trigger, Quote:exception

when ora_java.java_error then
message( 'Unable to call out to java, ' || ora_java.last_error );
ORA_JAVA.CLEAR_EXCEPTION;

when ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message( Exception_.toString(ex));
-- lv_exception := Exception_.getMessage(ex);

I get an error for the line: 'message( Exception_.toString(ex));'I have imported the java classes FException et IObject with their methods.

I have to create a Web Service Client, so I wonder if the paragraph Quote:when ORA_JAVA.EXCEPTION_THROWN then ex := ORA_ JAVA. LAST_ EXCEPTION; is mandatory.

View 2 Replies View Related

ODP.NET :: Exception Occurring When Connecting To 11g Database Using 10g ODAC

Sep 12, 2012

We've got a 32 bit .Net windows application which uses ODAC 10g (1.x) to connect to a 10g database on the backend. Things work fine in this deployment.

We're in the process of setting up a new development machine. This machine has ORACLE 11g (64 bit) installed on it. We're running into issues connecting the the database.

This is the code block we're using to connect to the database:
=======================================
string dataString = "user id=xxx;password="xxx";data source=localhost:1521/ORCL";
using (OracleConnection oraconn = new OracleConnection(dataConn))
{
oraconn.Open();
Oracle.DataAccess.Client.OracleCommand cmd = new OracleCommand(sOraSQL, oraconn);
[code]........

We get an exception on the "oraconn.Open()" command.

The output window in VS2010 shows this:
-----------------------------------------------------------
A first chance exception of type 'Oracle.DataAccess.Client.OracleException' occurred in Oracle.DataAccess.dll

The oraconn variable looks like:
-------------------------------------------
- oraconn {Oracle.DataAccess.Client.OracleConnection} Oracle.DataAccess.Client.OracleConnection
+ base {Oracle.DataAccess.Client.OracleConnection} System.ComponentModel.Component {Oracle.DataAccess.Client.OracleConnection}
ConnectionString "user id=xxxxx;password="xxxxxx";data source=localhost:1521/ORCL" string
ConnectionTimeout 15 int
DataSource "localhost:1521/ORCL" string
[code]........

The details of the exception are:
---------------------------------------------
- ex {""} System.Exception {Oracle.DataAccess.Client.OracleException}
+ [Oracle.DataAccess.Client.OracleException] {""} Oracle.DataAccess.Client.OracleException
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
[code].........

To reiterate, in our original deployment (10g database with 10g (1.x) ODAC, we can connect fine with the database. It's with the new setup (11g database with 10g(1.x) ODAC) that we are having issues. We've previously been able to deploy on client machines which were using ORACLE 11g. To accomplish this, we had to make sure that the password was inclosed in quotes (").

What is going on here? What should we be looking at? How do we go about debugging fixing this?

View 1 Replies View Related

RMAN :: Error - Register Database With Catalog Database

Mar 4, 2013

I have created database with 11.2.0.3 in RHEL 5. I have catalog database(RMAN) with version 10.2.0.1 and 5 databases with different versions(10.2.0.1,10.2.0.3,10.2.0.5) registered with this catalog databases.

Now I want to register the 11.2.0.3 database with catalog (RMAN) database.

Am getting error while I register :

#rman target / catalog=rman/rman@rman

connected to target database: TEST (DBID=12345678)
connected to recovery catalog database

RMAN> register database;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of register command on default channel at 03/04/2013 10:27:12
RMAN-10015: error compiling PL/SQL program
RMAN-10033: error during compilation of job step 1: ORA-04023: Object RMAN.DBMS_RCVCAT could not be validated or authorized

View 9 Replies View Related

SQL & PL/SQL :: How To Get Statement That Causes Exception

Jul 17, 2011

I am using Exception when others then body end;

inside the body i can get SQLCODE and SQLERRM but I also need to get the SQL statement that caused the error and I dont know how.

View 39 Replies View Related

SQL & PL/SQL :: How To Handle The Exception

May 19, 2011

The following code is working fine,But the thing is if column already exists in the table,then also the other statements should be executed instead of coming out of procedure.SO how can I handle that exception??

SQL> CREATE OR REPLACE PROCEDURE sp_execparameters(tname IN VARCHAR2,
colname IN VARCHAR2,datatype IN VARCHAR2)
2 AS
3 v_sqlstr1 VARCHAR2(1000);
4 BEGIN
5 v_sqlstr1 := 'alter table '||tname||' add '||colname ||' '|| datatype ;
[code].........

View 3 Replies View Related

SQL & PL/SQL :: Exception Is Not Raising?

Sep 16, 2010

1 declare
2 cursor c1 is select * from emp where deptno=&no;
3 begin
4 for i in c1 loop
5 dbms_output.put_line(i.empno||' ' || i.sal);

[code]...

PL/SQL procedure successfully completed.

SQL> /
Enter value for no: 120
old 2: cursor c1 is select * from emp where deptno=&no;
new 2: cursor c1 is select * from emp where deptno=120;

PL/SQL procedure successfully completed.

Even though deptno 120 is not there in emp table, the exception is not raising?

View 4 Replies View Related

SQL & PL/SQL :: Exception Handling?

Jul 16, 2012

Is it possible to take execution control back from exception handling section to Execution statement?.. If Yes then How?..

View 25 Replies View Related

Error While Trying To Import Database?

Jul 3, 2012

i try to import MyData.DMP to my oracle using PL/SQL developer

i try this: Tools -> Import tables -> i choos MyData.DMP -> import

but i can see the new database in the log file i see this:

Import started on 03/07/2012 13:43:23
C:\app\ME\product\11.1.0\db_1\bin\imp.exe log=C:\DOCUME~1\ME\LOCALS~1\Temp\plsimp.log file=C:\DOCUME~1\ME\lab.DMP userid="scott/tiger@ORCL as sysdba" buffer=30720 commit=no full=yes grants=yes ignore=yes indexes=yes rows=yes show=no constraints=yes
Import finished on 03/07/2012 13:43:23

View 4 Replies View Related

SQL & PL/SQL :: After Server Error On Database

Oct 12, 2012

I have a DBMS_JOB which fails due to unique constraint error while doing fast refresh. I wrote a After server error on database trigger to take backup of M$LOG file whenever unique constraint error occur.

Problem

Q1)If error is being logged in alert log then After server error on database trigger doesn't trigger. so no backup,
Is this a normal behavior because i was under the impression that if any error in DB occurs then "After server error on database " will catch it?

If i manually try to do fast refresh it works fine

Q2) Is there any other way in Oracle to counter such issue?

View 1 Replies View Related

Shutting Down Database Getting Error

Aug 20, 2012

while i am shutting down the database, i am getting below error message.

SQL> shutdown immediate;
ORA-01116: error in opening database file 170
ORA-01110: data file 170: '/x01/CQ_Request/ORADATA_FILE/otlmedium_data08.dbf'
ORA-27041: unable to open file
SVR4 Error: 2: No such file or directory
Additional information: 3

and also i know otlmedium_data08.dbf file is not exist in that location. how can i overcome this error and shutdown the database.

View 4 Replies View Related

How To Write Exception Handler For PL / SQL

Jan 22, 2007

How to write an exception handler for the error "PL/SQL: ORA-01031: insufficient privilege"

View 2 Replies View Related

ORA-07445 - Exception Encountered?

May 9, 2011

Am getting the error ORA-03113: end-of-file on communication channel when am trying to run a query and when i checked the trace file the infromation i got is given below.....

CODEksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x363376E] [] [] [] []
Current SQL statement for this session:
select
count(av_sal)

[code]...

View 1 Replies View Related

SQL & PL/SQL :: Getting Column Which Caused The Exception?

Jan 14, 2008

I am using Oracle 10g Rel 2 and currenly working on a project which creates a repository and bulk inserts data into it using FORALL statment. I am using SAVE Exceptions to save the errors in a table and then report to the user about these errors.

My question is ,can i somehow know the column which caused the exception ? Currently ,we can save only SQLCODE and SQLERRM . Is there any possibility that I get to know the column also which raised the exception ? For example ,during a insert ,if column raises exception

ORA-01438: value larger than specified precision allows for this column

Is it possible for me know using some programming technique that which column raised this exception ?

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved