Nightly jobs and error ORA-00054
Today, I discovered that some of my scripts for the task has failed with error ORA-00054.TRUNCATE TABLE MY_SCHEMA. MV_005 STORAGE REDUCTION
ORA-00054: resource busy and acquire with NOWAIT specified
This is the first time that this error occurs: all these scripts run on regular basis and using Oracle Grid Engine.
(1) is it possible now to know what and how the other session was using this table?
(2) how to avoid this error?
Pedro.
If you're on 11 GR 1 material you can issue:
alter session set ddl_lock_timeout=60
DDL_LOCK_TIMEOUT
Property Description
Parameter type Integer
Default value 0
Modifiable ALTER SESSION
Range of values 0 to 1,000,000 (in seconds)
Basic No
DDL_LOCK_TIMEOUT indicates how long between DDL statements patient in a DML lock queue. The default value of zero indicates a State of NOWAIT. The maximum value of 1 000 000 seconds will result in the DDL statement for still pending to acquire a DML lock.
If a lock is not acquired before the expiration of the period time, then an error is returned
Otherwise, you can create a procedure to intercept the error ORA-00054 and try again
Tags: Database
Similar Questions
-
Error: ORA-00054 &; ORA-01452 when performing full charge CAD
Hi friends,
Previously, I ran at full load... it went well. And I did some examples of reports also in 7.9.6.2 BI applications
Now, I changed a few settings as directed by the company, and I try to re-run the full load... But I struck with few similar errors. I deleted two or three errors of DB.
Please, help me fix the errors below.
1 FAULT INFO: Error executing: TRUNCATE TABLE: W_SALES_BOOKING_LINE_F
MESSAGE: com. Siebel.etl.Database.IllegalSQLQueryException: DataWarehouse: TRUNCATE TABLE W_SALES_BOOKING_LINE_F
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
-I checked W_SALES_BOOKING_LINE_F, it contains data.
2 FAULT INFO: Error executing: CREATE INDEXES: W_GL_REVN_F:W_GL_REVN_F_U1
MESSAGE: Java.lang.exception: Error executing: CREATE UNIQUE INDEX
W_GL_REVN_F_U1
WE
W_GL_REVN_F
(
INTEGRATION_ID ASC
DATASOURCE_NUM_ID ASC
)
NOLOGGING
with the DataWarehouse error: CREATE a UNIQUE INDEX
W_GL_REVN_F_U1
WE
W_GL_REVN_F
(
INTEGRATION_ID ASC
DATASOURCE_NUM_ID ASC
)
NOLOGGING
ORA-01452: cannot CREATE a UNIQUE INDEX. duplicate keys found
-Yes, I found duplicate values in the W_GL_REVN_F table. But, how can I rectify. I've done some genius, but failed.
Please tell me the steps to achieve...
Thanks in advance...
StoneThe suggestions made by user3490450 are correct. I saw the ' ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired ' error occur when archiving logs does not get removed correctly. Anyway what a DBA question. For the unique index error, deletion will fix it but if it happens again, you should check your source system and see why you have data that are originally in double integration IDs. This can occur because of a bad porcessed of the source system. If you wish, you can trace this back (PLP-> SIL-> SDE) and see whence the duplicate.
-
12535,12606 intermittent and error ORA-3136
I am experienceing a weird situation where I get the errors intermittently (2 - 3 times per month). I only get these errors in the alerts log files. Please help fix these errors.
Important: I can see the connection established in the listener.log file, but I think that it is not able to authenticate in time.
Database version is 10.2.0.4 and OS is Windows 2003
Published by: 982084 on January 17, 2013 11:02Fatal OR connect error 12170.
VERSION INFORMATION:
AMT for 64-bit Windows: release 10.2.0.4.0 - Production
Oracle bequeath Protocol adapter for 64-bit Windows NT: release 10.2.0.4.0 - Production
Windows NT TCP/IP for 64-bit Windows NT Protocol adapter: release 10.2.0.4.0 - Production
Time: December 11, 2011 09:11:53
Tracing not lit.
AMT error struct:
NS main err in code: 12535
TNS-12535: TNS:operation expired
NS secondary err code: 12606
NT main err in code: 0
NT secondary err code: 0
NT OS err code: 0
Customer's address: (ADDRESS = (PROTOCOL = tcp (PORT = 63416))(HOST=10.x.yy.zzz))JOURNAL OF THE LISTENER
December 11, 2011 09:10:52 * (CONNECT_DATA = (SID = CDIR) (CID = (PROGRAM = C:\orant\bin\ifrun60.exe)(HOST=CTX2ND)(USER=srca5026))) * (ADDRESS = (PROTOCOL = tcp (PORT = 63416))(HOST=10.x.yy.zzz)) * establish * CDER * 0)))
Cross of 12170 o referenced from SQLNET. Log on to the LISTENER. CONNECT via the IP ADDRESS and the PORT requested
o accepted listener connection 09:10:52
o connection expired at 09:11:53
o error codes stack all Oracle, no error no nt primary and secondary reported to the OS level
o 60 seconds timeout for the database, see INBOUND_CONNECT_TIMEOUT in the SQLNET database. ORA file (default is 60 seconds for some versions)+ Check that the database, client and server trace 16 level will help you.
-
Oracle 10g R2 dbms_scheduler ora-00054
Hello
I use dbms_scheduler in Oracle 10 g R2 to treat a list of requests in a queue table. I use work stations in my package. I realize that sometimes, one of the stage of the chain may fail with error Ora-00054. We can remedy the situation by adding a chain rule if the task has failed due to the error Ora-00054, run "dbms_scheduler.alter_running_chain (jobname, stepname, 'STATE', 'NOT_STARTED') and expect the work to run again?"Hello
It is possible to do. Let go to the step that breaks down step-x, you need to create a new stage for example re-step-x, that points to a program that would do an alter the string to assign to the _started not step-x and re-step-x running.
As a rule you check if ': step-State: x = "IMPOSSIBLE" and: step - x.error_code = 54' and if so start re-step-x.
You can see the exact syntax of the here
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_sched.htm#CHDBAFJE
Hope this helps,
Ravi. -
How do I get ORA-00054 resource busy and acquire with NOWAIT specified
Hello
I have a wizard process that performs various actions to save before you commit at the end of the process.
I know that from the primary key of the record form input to act on. I wish to lock this record for any other user can try to change at the same time.
I am aware that must use select for update nowait.
How do I intercept this error and give the neat message and the shape of the output in the form initialization code? Can I use the exception to a description block where select for update is executed or do I have to use the trigger for the error and inspect the dbms_error_code? I would like to no ora-00054 to be handled as usual.
Thank you
You can declare an exception for ORA-0054, catch, display an error, exit the screen:
http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/errors.htm#BABGIIBI
see you soon
-
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
Hi all
I use oracle 11.2.0.3 with 3 node rac ODI.
I have the table which I am not able to fall and give the error below.
SQL > drop table I$ _CDS_FAULT_DEV1;
fall of table I$ _CDS_FAULT_DEV1
*
ERROR on line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
SQL > show parameter ddl_lock
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
DDL_LOCK_TIMEOUT integer 300
I changed to 100 but still the same error too, I checked and there is no lock. Can you please provide me with a way to solve this problem.
Kind regards
DBApps
For sure there are locks, because the table is in use.
Drop table wants an exclusive lock on the dictionary or the corresponding records.
When the table is used there will be a lock from line on the document in the dictionary.
Have you consulted with SGS$ access?
Please do so now.
-------------
Sybrand Bakker
Senior Oracle DBA
-
ORA-00054: resource busy and acquire with NOWAIT specified
Im running 2 updates in the same pattern, but in 2 completely different tables via sql loader.
Due to synchronization problems, they sometimes run at the same time. However I get the error message:
ORA-00054: resource busy and acquire with NOWAIT specified
When I get this error, he says its due to a lock on a table, but they are different tables.
Any ideas?
Thank you very muchYou can use commit / rollback to overcome this problem.
-
Error 0 x 00000709 when you try to delete the print job and/or pritner.
Original title: error 0 x 00000709.
I have a dell laptop running windows vista Home premium SP1 with a 64-bit operating system. I tried to remove a printer HP 1310 on my computer and it is stuck on "suppression of 1", I stop, then restart the printer spooler and now I have error 0 x 00000709 when you try to delete the print job and/or pritner. What can I do to remove this printer. I installed a Canon MX330 printer, but due to the printer HP being locked, I can't print with a PictBridge compatible printer.
Hi LauraD,
You can try to remove the printer from the safe mode and check.
Step 1:
You can read the following article to start in safe mode:
Start your computer in safe mode
Step 2: Remove the printer.
You can read the following article to remove the printer.
After deleting the printer, you can start in normal mode and try to install Canon printer.
Hope this information is useful.
-
Error: ORA-01841: (full) year must be between-4713 and 9999 and not 0
Hi - I get error ORA-01841 ((full) year must be between-4713 and 9999 and not 0) because of the following line in my where clause:
AND p_run_date < ((add_months (ip. insured_plan_termination_date,,13) nvl), to_date (31-DEC-9999. ' ' DD-MON-YYYY '))
I look and what I read speaks not to compare the strings that contain dates, but that is not the case here. p_run_date is without a doubt a date. I've hardcoded even on a specific date, and I still get the error.
Any help is greatly appreciated.
Thank you
Christine
Hi, Christine.
What is insured_plan_termination_date when you get the error? If it's December, 9998 or later version, you cannot add 13 months, which would put the year beyond 9999, everything as the error message said.
You said p_run_date is without a doubt one DATE, but what about insured_plan_termination_date?
It would really help if you could post a test script complete (including CREATE TABLE and INSERT and your complete query instructions) so that people can recreate the problem and test their ideas.
Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?
-
ORA-00054. Is possible to interrupt the cancellation and delete then table?
Hello.
I m import a long table with utility IMP.
When has spent a lot of hours and the process was near complete I ORA-30036 and a restore operation was launched.
I m trying to drop/truncate the table to avoid the wait, but the cause of the restore process I ORA-00054 and I have to wait for several hours to try to import again.
My question is: there is a way to interrupt this restore operation and delete the table without inducing an inconsistent state of the database?
I m working with Oracle 9i on Windows plataform
concerning
No, it isn't.
-
Execute Immediate with DOF and TABLE() - error ORA-22905
Hello
I have a problem trying to use a user defined the Type of the Table in a statement Execute Immediate containing a CREATE TABLE statement.
Is there no work around for this problem?
The actual code for the SELECT * OF TABLE(:T) is dynamic and slow. That's why I try to avoid to create/fill the table in two steps (as does with MY_TABLE1). Also, in this case, I can't use SELECT * but must specify all the columns (amount variable and over 100 columns).
CREATE TYPE MY_TABLE_TYPE AS TABLE OF VARCHAR2(30); / DECLARE MT MY_TABLE_TYPE; BEGIN SELECT * BULK COLLECT INTO MT FROM DUAL; -- Two steps EXECUTE IMMEDIATE 'CREATE TABLE MY_TABLE1 (A VARCHAR2(30))'; EXECUTE IMMEDIATE 'INSERT INTO MY_TABLE1 SELECT * FROM TABLE(:T)' USING MT; -- OK -- One step EXECUTE IMMEDIATE 'CREATE TABLE MY_TABLE2 AS SELECT * FROM TABLE(:T)' USING MT; -- ERROR ORA-22905 END; /
byee
Andrea
In my view, the error message is incorrect or the less misleading. Bind variables cannot be used in DDL:
SQL > declare
2 number of v_var: = 99;
3. start
4 run immediately "' create the my_table2 in select table: double T" using v_var; "
5 end;
6.
declare
*
ERROR on line 1:
ORA-01027: bind variable not allowed for data definition operations
ORA-06512: at line 4 levelSQL >
What you could do is use the package variable:
SQL > CREATE OR REPLACE
2 PACKAGE PKG1
3 EAST
4 MT MY_TABLE_TYPE;
5 FUNCTION GET_MT
6 RETURN MY_TABLE_TYPE;
7 END;
8.Package created.
SQL > CREATE OR REPLACE
PACKAGE 2 BODY PKG1
3 EAST
4 GET_MT FUNCTION
5 RETURN MY_TABLE_TYPE
6 EAST
7. START
8 RETURN MT;
9 END;
10 END;
11.Package body created.
SQL > DROP TABLE MY_TABLE1 PURGE
2.Deleted table.
SQL > DROP TABLE MY_TABLE2 PURGE
2.
DROP TABLE MY_TABLE2 PURGE
*
ERROR on line 1:
ORA-00942: table or view does not existSQL > START
2. SELECT * BULK COLLECT INTO PKG1.MT FROM DUAL;
3 - two steps
4 RUN IMMEDIATELY "CREATE TABLE MY_TABLE1 (A VARCHAR2 (30))';"
5 IMMEDIATELY EXECUTE "INSERT INTO MY_TABLE1 SELECT * FROM TABLE (PKG1." GET_MT)';
6 - one step
7 IMMEDIATE EXECUTION "CREATE TABLE MY_TABLE2 AS SELECT * FROM TABLE (PKG1." GET_MT)';
8 END;
9.PL/SQL procedure successfully completed.
SQL > select * from my_table1;
A
------------------------------
XSQL > select * from my_table2;
COLUMN_VALUE
------------------------------
XSQL >
SY.
-
Hi all
your help is greatly appreciated...
Calling B.fucntion inside an A.fonctions to insert data into a table.
Here when you call the B.fucntion to insert data in the table... receiver AM a mistakeOmitted in B - SQL Error: ORA-14551: cannot perform a DML operation inside a query...
Can someone please help me to clarify this...
The FUNCTION A(varUPD_TYPE IN VARCHAR2) RETURN VARCHAR2 IS
varRETURN_VALUE VARCHAR2 (25): = NULL;numALLOWED_COUNT PROD. PROCESS_COUNTER. TYPE % ALLOWED_COUNT;
numLAST_COUNT_ADDED PROD. PROCESS_COUNTER. TYPE % LAST_COUNT_ADDED;
dtCHANGE_DATE DATE: = NULL;
varSTMT VARCHAR2 (2000);
bln_Allowed BOOLEAN;
myVar VARCHAR2 (32767).
BEGINIF varUPD_TYPE = "A" THEN
BEGIN
SELECT CH_DATE, LAST_COUNT_ADDED, ALLOWED_COUNT
IN dtCH_DATE, numLAST_COUNT_ADDED, numALLOWED_COUNT
PROD. PROCESS_COUNTER
WHERE NOM_PROCESSUS = "DAILY".
AND COUNTER_IND = A 'IF dtCH_DATE < = trunc (sysdate) THEN
numLAST_COUNT_ADDED: = 0;
END IF;EXCEPTION
WHILE OTHERS THEN
numLAST_COUNT_ADDED: = 0;
numALLOWED_COUNT: = 1;
END;
IF numALLOWED_COUNT > = numLAST_COUNT_ADDED + 1 THEN
bln_Allowed: = True;
varSTMT: = "UPDATE PROD. TMS_PROCESS_COUNTER ';
varSTMT: = varSTMT | ' SET last_count_added = ' | (numLAST_COUNT_ADDED + 1);
varSTMT: = varSTMT | "WHERE nom_processus =" DAILY "';
varSTMT: = varSTMT | "AND COUNTER_IND ="D"';
IF varSTMT IS NOT NULL
THEN
MyVar: = B(96,varSTMT);
PROC_LOG (' CALL B ': myVar);
IF myvar > 0 THEN
NULL;
END IF;
END IF;
On the other
End if;END IF;
EXCEPTION WHEN OTHERS THEN
PROC_LOG ("A failed '");
PROC_LOG (' SQL error: ' |) SUBSTR (SQLERRM, 1, 1000));
RETURNS A NULL VALUE.
PUT AN END TO;The FUNCTION B(numTABLE_ID IN NUMBER, varSQL_STATEMENT IN VARCHAR2) RETURNS NUMBER IS
varINSERT_BATCH_STMT VARCHAR2 (32767): = NULL;
varADD_REC_TYPE BATCH_TABLES. TYPE % ADD_REC_TYPE;BEGIN
INSERT INTO BATCH_STATEMENT (ID, TABLE_ID, STATEMENT, QUEUE_SEQUENCE_ID)
VALUES (Numidian, numTABLE_ID, varSQL_STATEMENT, 1);EXCEPTION WHEN OTHERS THEN
PROC_LOG ('B failed');
PROC_LOG (' SQL error: ' |) SUBSTR (SQLERRM, 1, 1000));
RETURNS - 1;
END B;
Structure of the Batch_statement table:
ID Number (15) not null
number (2) not null table_id
Statement varchar2 (4000) not null
Queue_sequence_id number (5) not nullWhy do you do such coding mess full of bad practices.
Remove the exceptions WHEN OTHERS, you're a turing a mistake in this way, they are bugs and (never) use functions to perform DML.
Functions are not intended for DML. Period.
-
ERROR: ORA-01017: name of user and password invalid. connection refused
Hi all
I need your help.
I have installed Oracle Audit Vault Server Release 10.2.3.2 in agent collection and Linux system in Windows system. Adding and start collecting DBAUD went fine however adding AGAIN collector back return errors when executing command avorcldb add_collector as follows
[oracle@avsrv ~] $
[oracle@avsrv ~] $ avorcldb add_collector - SrcName orcl nom_agent - avagent01 - colltype REDO - av Lugaopc:1521:orcl
collector REDO_Collector for orcl source already exists
the initialization of the REDO Collector
ERROR: could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
ERROR: ORA-01017: name of user and password invalid. connection refused
[oracle@avsrv ~] $
Here are the contents of the avorcldb.log file
09/09/13 16:58:44 [INFO] command add_collector treatment
09/09/13 16:58:44 [INFO] treatment arg - FromName = orcl
09/09/13 16:58:44 [INFO] treatment arg - nom_agent = avagent01
09/09/13 16:58:44 [INFO] treatment arg - colltype = REDO
09/09/13 16:58:44 [INFO] treatment arg - av = Lugaopc:1521:orcl
09/09/13 16:58:44 [INFO] connect information: Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] connecting administration AV got using jdbc:oracle:oci:@AVDB
09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select s.host |': ' | A1.num_value |': ' | avsys.av A2.char_value $attrvalue a1, a2 avsys.av$ attrvalue, avsys.av$ s source, avsys.av$ attrdef ad1, ad2 avsys.av$ attrdef where source_name =: 1 and a1.inst_id = s.source_id and a2.inst_id = s.source_id and a1.attr_id = ad1.attr_id and ad1.attr_name = 'PORT' and a2.attr_id = ad2.attr_id and ad2.attr_name = 'DB_SERVICE. '
09/09/13 16:58:45 [INFO] using bind value orcl
09/09/13 16:58:45 [INFO] Return value = Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] connect information: Lugaopc:1521:orcl
09/09/13 16:58:45 [INFO] execution SQL like [ADM@AV] select to_char (source_id) in the avsys.av$ source where source_name =: 1
09/09/13 16:58:45 [INFO] using bind value orcl
09/09/13 16:58:45 [INFO] return value = 1
09/09/13 16:58:46 [INFO] got the source user connection using jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] bind Using REDO_Collector value
09/09/13 16:58:46 [INFO] Return value = active
09/09/13 16:58:46 [MESG] collector REDO_Collector for orcl source already exists
09/09/13 16:58:46 [INFO] executing SQL in [ADM@AV] select decode (c.status, 1, 'active', 0, 'fallen', null) of avsys.av$ collector c, avsys.av$ s source where source_name =: 1 and collector_name =: 2 and c.source_id = s.source_id
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] bind Using REDO_Collector value
09/09/13 16:58:46 [INFO] Return value = active
09/09/13 16:58:46 [MESG] initialization REDO Collector
09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select the username of avsys.av$ source where source_name =: 1
09/09/13 16:58:46 [INFO] using bind value orcl
09/09/13 16:58:46 [INFO] Return value = AVSRCUSR1
09/09/13 16:58:46 [INFO] as [ADM@AV] SQL execution {? = call avsys.dbms_audit_vault.reset_source_user (?)}
09/09/13 16:58:46 [INFO] adding user password mask
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)
09/09/13 16:58:46 [INFO] bind Using STREAMS_HEARTBEAT value
09/09/13 16:58:46 [INFO] Return value = STREAMS_HEARTBEAT
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table streams_heartbeat
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table streams_heartbeat (src_dbname varchar2 (4000), job_number number, heartbeat_time timestamp)
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] declare dbs_name varchar2 (4000); start selecting rename in dbs_name from global_name; insert into streams_heartbeat values (dbs_name, 0, SYSTIMESTAMP); end;
09/09/13 16:58:46 [INFO] SQL execution as [USR@SRC] create or replace procedure update_heartbeat IS start update streams_heartbeat set heartbeat_time = (select systimestamp from double); commit; end;
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select table_name from user_tables where upper (table_name) = upper(:1)
09/09/13 16:58:46 [INFO] bind Using CAPTURE_RULES value
09/09/13 16:58:46 [INFO] Return value = CAPTURE_RULES
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL drop table capture_rules
09/09/13 16:58:46 [INFO] execution as [USR@SRC] SQL create table capture_rules (nom_regle varchar2 (50), rule_scope varchar2 (6), rule_type VARCHAR2 (3), obj_name varchar2 (100))
09/09/13 16:58:46 [INFO] execution SQL like [ADM@AV] select Rename global_name
09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select db_link in user_db_links where db_link =: 1
09/09/13 16:58:46 [INFO] Using AVDB bind value. AVSRV
09/09/13 16:58:46 [INFO] Return value is AVDB. AVSRV
09/09/13 16:58:46 [INFO] the Execute SQL as database link [USR@SRC] drop "AVDB. AVSRV ".
09/09/13 16:58:46 [INFO] execution SQL like [USR@SRC] select the version of v$ instance
09/09/13 16:58:46 [INFO] Return value = 11.2.0.1.0
09/09/13 16:58:46 [INFO] creating DB link using AVDB. AVSRV, AVSRCUSR1, {avsrcusr_pwd}, Lugaopc, 1521, orcl
09/09/13 16:58:46 [INFO] login as srcuser_ora01 to @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=Lugaopc) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = orcl)))
09/09/13 16:58:46 [INFO] output of SQLPlus
09/09/13 16:58:46 [INFO]
09/09/13 16:58:46 [INFO] Package created.
09/09/13 16:58:46 [INFO]
09/09/13 16:58:46 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] package body created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] Package created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] package body created.
09/09/13 16:58:47 [INFO]
09/09/13 16:58:47 [INFO] no error.
09/09/13 16:58:47 [INFO] execution SQL like [USR@SRC] select distinct name of user_errors, whose name =: 1
09/09/13 16:58:47 [INFO] bind Using DBMS_SRC_STREAMS_COLLECTOR value
09/09/13 16:58:47 [INFO] Return value = null
09/09/13 16:58:47 [ERROR] could not get by using jdbc connection AV source user:oracle:oci:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Lugaopc)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))
09/09/13 16:58:47 [ERROR] ORA-01017: name of user and password invalid. connection refused
java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:765)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:414)
to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:546)
to oracle.jdbc.driver.T2CConnection. < init > (T2CConnection.java:162)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
to oracle.av.avca.jdbc.JdbcConnection. < init > (JdbcConnection.java:87)
at oracle.av.orcldb.DAO.initConnection(DAO.java:79)
to oracle.av.orcldb.DAO. < init > (DAO.java:64)
at oracle.av.orcldb.commands.AddCollector.setupCollector(AddCollector.java:746)
at oracle.av.orcldb.commands.AddCollector.execute(AddCollector.java:230)
at oracle.av.orcldb.Command.process(Command.java:89)
at oracle.av.orcldb.Main.process(Main.java:118)
at oracle.av.orcldb.Main.main(Main.java:132)
I searched the forum at my best level without clear solution
Concerning
Sadik
avorcldb add_collector - REDO SrcName orcl nom_agent - avagent01 - colltype - av Lugaopc:1521:orcl
Specify the connection string to the Vault check server not in the source database
-
hierarchical queries - error: ORA-30929: clause ORDERBY brothers and SŒURS unauthorized
Hello
I have a hierarchical query in which, I automatically generate unordered list. I needed to get the children in the same level, so I used the brothers and sisters of the order by clause, but the procedure did not compile and threw an error Ora-30929 - brothers and sisters Order By Clause not allowed here.
This is the query.
SELECT CASE WHEN LAG(LEVEL,1,0) (ORDER OF ROWNUM) > = LEVEL THEN "< li >".
(Level) lead CASE of OTHER COURSES (ORDER OF ROWNUM) WHEN LEVEL THEN
CASE WHEN ROWNUM = 1 THEN ' < ul id = "sidebarmenu1" 'ELSE' < ul' END | ' > < li > '
On the OTHER CASE WHEN ROWNUM = 1 THEN ' < ul id = "sidebarmenu1" 'ELSE' < ul ' END: ' > < li > ' END END |
"< span >' | daevmt.short_menu_item |' </span >' |
LEVEL of CASE - LEAD(LEVEL,1,1) (ROWNUM ORDINANCE) WHEN - 1 THEN NULL WHEN 0 THEN "< /li >".
ELSE REPLACE (LPAD ('* ', LEVEL-LEAD(LEVEL,1,1) (ORDER OF ROWNUM),'* '), ' * ',' < /li > < /ul > < /li > ')
END | CASE WHEN AHEAD (LEVEL, 1, 0) (ORDER OF ROWNUM) = 0 THEN '< /ul >"END of another null unordered_list, daevmt.menu_item, daevmt.link_url, daevmt.menu_id,.
daevmt.above_menu_id
OF dae_vs_my_tasks daevmt
START WITH daevmt.above_menu_id = "TOPMENU".
CONNECT BY PRIOR = daevmt.above_menu_id Daevmt.menu_id
Brothers and SŒURS of ORDER BY daevmt.display_order;
Can someone please help what is wrong in my query?
Thanks in advance,
Natarajan
Published by: Nikita on March 7, 2011 23:26
Published by: Nikita on March 7, 2011 23:28
Published by: Nikita on March 7, 2011 23:28According to the Oracle documentation, this error is caused by 'ORDER brothers' and SŒURS clause of having in a query that is not a "CONNECT BY" clause that is clearly not the case here. I suspect it's because you use analytical functions 'LEAD' and 'LAG '. I took your statement, replaced the names of table and column with some in a table, I also has a structure of hierarchical and got the same error. After removing all the functions of 'LEAD' and 'LAG' it run OK.
I don't think that helps you all.
You may create another table with the contents of this table by adding 4 columns for rownum, level (level) lead and lag (level). Then use this table to generate your unsorted list html code. -
my user is confronted with this error ORA-3135 AND ORA-3114
Hi friends,
One of my users get the error ORA-3135 and ORA-3114 for gigantic through data loading.
But it can charge less amount of data successfully.
Huge data download takes more than one and half hour.
I asked the user to add EXPIRE_TIME = 10 in his machine sqlnet.ora file. Then too, it is the problem.
Please someone help to solve this problem. Thanks in advanceI assume that your assumption is that CR is responsible for the error?
This could be the case, but if it is then by setting the SQLNET. EXPIRE_TIME on the client won't have any effect, it must be defined on the database server.
Maybe you are looking for
-
Portege M600 - noise - No. audio output device
I have a little problem with my Toshiba M600 too, it was fine until now, sometimes available noise, sometimes "no audio output device. Initially, I thought it was a driver problem that I cannot solve the earlier. So I thought to go ahead with the ins
-
I cannot download my purchase, even when the album said that has already been paid, what can I do?
-
DeskJet Ink Advantage 4645: Wireless, Direct, ePrint
Hello. I have a small question. I have a HP Deskjet Ink Advantage 4645. My printer provides services to wireless, wireless live and HP ePrint. I question the concept of these functions and how they work. I'm not sure if I understand correctly, but th
-
Computer keeps closing and give 0xc000001d error code
Hi all, hoping someone can help me to understand this because its driving me crazy for the last few weeks, my computer decides to close, while I use it. Sometimes, I have a box saying that it has made an illegal operation or something in this direct
-
I can't activate my product key
I bought a new laptop * my alone 2nd * I installed my windows 7 Home premium on it, it does not accept the product key any 1 can help me?