ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set
ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls.
this error generates everytime when i run a apex application
i did call the package in session state with dbms_session.set_nls('NLS_LANGUAGE','AMERICAN'); but still it shows the error in the report any solution please
Hi Amrit
Can you put the FND_GLOBAL calls in a pre map trigger/process rather than as part of the map?
Cheers
David
Similar Messages
-
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML;;
Hi all,
I have a problem!
I have one PL SQL function doing an Update and insert into some oracle tables, this function return one number (0 or 1 or 2).
I'm excuting this query from one PHP program to call the function :
SELECT SALE.DB_FUNC_ASSOCIATE_TB2U('[email protected]',123)
FROM dual;
the problem that I have these errors :
ERROR DB_FUNC_ASSOCIATE_TB2U Level 1 : ORA-01403: no data found
ERROR DB_FUNC_ASSOCIATE_TB2U : ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML
there's a mean that i can do to call this function from PHP without getting this Error such as I tested this function using the script below and it works fine:
declare
a number;
begin
a:= SALE.DB_FUNC_ASSOCIATE_TB2U('[email protected]',123) ;
end;
Please help me :)
regards,Sure, it works in the sense that you would no longer get an error.
Creating this as an autonomous transaction, however, is going to blow your transactional integrity. You've now got code that is being called as the result of a SELECT operation (something that everyone that comes after you will assume is read-only) that commits outside of the current transaction scope. That is almost always a bad thing.
In addition, having a WHEN OTHERS without a RAISE is almost always a bug. You're completely hiding the error message plus you're discarding proper exception handling in order to provide a return code and assuming that the caller is going to check the status. Relying on return status codes is normally a bad idea because it's very easy on the client side to forget to check the return code. Even if the client were to check the return code, it has no idea what went wrong, so it can't even log the root cause of the error.
Justin -
ORA-14552: cannot perform a DDL in a execute immediate - proc
Hi All,
I am trying to disable triggers in a stored procedure:
PROCEDURE Alter_trigger_DISBALE
IS
BEGIN
execute immediate ('alter trigger BEI_INS_MY DISABLE');
END;
I get the following error:
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML
Is there a solution for this problem ?
Best Regards
FriedholdHow are you calling the procedure?
I assume that, since your procedure actually compiles, it doesn't have the parenthesis around the EXCEUTE IMMEDIATE string and that there is a CREATE before the PROCEDURE. I hope that "disable" is spelled correctly in the real thing.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Ora-24247 (ACL Error ) is coming in Oracle SE not in Oracle EE
Hi
I am using the below select statement to get the host ipaddress
select utl_inaddr.GET_HOST_ADDRESS into v_HostIPAddress from dual;
It's Working fine when i am running in the SQL Prompt .it is giving me the correct ip address but when i have included this piece of code in the procedure then it's giving me the error
Sample Code which i am using :
procedure getPatAPI(p_Id IN varchar2,
p_path in out varchar2) is
v_HostIPAddress varchar2(20);
begin
select utl_inaddr.GET_HOST_ADDRESS into v_HostIPAddress from dual;
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20001,
'getPathAPI:' ||
SQLCODE || ' -ERROR- ' || SQLERRM);
end;
Try to execute by passing the p_Id = 1 then giving the
Error:
ERROR- ORA-24247: network access denied by access control list (ACL)
ORA-06512: at "SYS.UTL_INADDR", line 19
ORA-06512: at "SYS.UTL_INADDR", line 40
ORA-06512: at line 1
I have run these below set of command in Oracle Standard Edition and Oracle Enterprise Edition.
In the SE i am getting the same error ORA-24247 but it's working fine in the EE .
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
SQL>
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('acl_for_oracle.xml','ACL for www.oracle.com', 'GENEVA_ADMIN', TRUE, 'resolve');
PL/SQL procedure successfully completed.
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE('acl_for_oracle.xml','GENEVA_ADMIN', TRUE, 'resolve');
PL/SQL procedure successfully completed.
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('acl_for_oracle.xml','*');
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
So to run the UTL_INADDR in the Oracle Standard Edition is there any other kind of permission is required ???And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
a) environment settings that differ from session to session
b) or more often, data
The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction). -
ORA-03106 Error when connecting to Oracle 10g from Forms 6i
I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
ORA-03106 : fatal two-task communication protocol error
The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
The same installation has also been checked on Windows 2000, but the same problem persists.
I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
Regards
Naveen.Naveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
ORA-06502: PL/SQL: numeric or value error While Exporting in Oracle 10g
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
server uses AR8ISO8859P6 character set (possible charset conversion)
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
. exporting cluster definitions
. about to export SYSTEM's tables via Conventional Path ...
. . exporting table DEF$_AQCALL 0 rows exported
. . exporting table SRC_RQST_SEQ 1 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table SRC_USERS 6 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table SRC_YEAR_LOOKUP 40 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_DETAIL_TABLE 36 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_MASTER_TABLE 34 rows exported
EXP-00091: Exporting questionable statistics.
. . exporting table TENDER_NEW_DETAIL_TABLE 4 rows exported
EXP-00091: Exporting questionable statistics.
. exporting synonyms
. exporting views
EXP-00056: ORACLE error 6502 encountered
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'n'
ORA-06512: at "SYS.UTL_XML", line 152
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
ORA-06512: at "SYS.DBMS_METADATA", line 1882
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00056: ORACLE error 6502 encountered
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'n'
ORA-06512: at "SYS.UTL_XML", line 152
ORA-06512: at "SYS.DBMS_METADATA_INT", line 7195
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9135
ORA-06512: at "SYS.DBMS_METADATA", line 1882
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
Plz reply me the appropriate Solution
Edited by: user8920919 on May 3, 2010 12:27 AMhi,
EXP-00091: Exporting questionable statistics The client character set(NLS_LANG) does not match the server character;
select parameter,value from nls_database_parameters where parameter like '%CHARACTERSET%';
and check the client system character set
- Pavan Kumar N
- ORACLE OCP - 9i/10g
https://www.oracleinternals.blogspot.com -
ORA-12154 Connection error from HFM to Oracle Database
Hi,
I am trying to configure Hyperion HFM but can write to HFM database.
The implementation architecture:
Hyperion 11.1.2.2 (with all the requiered patches for HFM, FDM, Shared Services, Workspace and Oracle Application Development)
Server 1:
Windows Server 2008 x64
Installed products: Foundation (EPMA, CalcManager), BI, HFM web components and ADM driver
Configured products: Foundation(EPMA, CalcManager), BI.
Database Client: 11gR2 x64
Server 2:
Windows Server 2008 x64
Installed products: HFM, FDQM
Configured Products: FDQM, HFM
Database Client: 11gR2 x32, 11gR2 x64 (x32 version installed first)
Server 3:
Database: Oracle 11.2.0.2
All the products from server 1 are working fine, FDQM (server 2) is also working fine, but, when I try to do any action related with HFM database the system fails.
I have tested the connection is these scenarios:
1. SQLdeveloper: successfull!, I can create tables, views, etc. Double checking the user privileges it has all the required.
2. tnsping: successfull!
3. HFMApplicationCopy utility: Successfull using UDL file and writing the connection parameters.
4. EPM System Configurator: the configurator successfully validates the database connection information, but does not create the tables on the database. No errors in the configtool log.
5. EPM Diagnostic Tool: fails with this error message:
------------STARTING VALIDATION SCRIPTS----------
LOGGING IN HFM....
CREATING APPLICATION....
ERROR: Unable to CreateApplicationCAS
Number (dec) : -2147215936
Number (hex) : &H800415C0
Description : <?xml version="1.0"?>
+<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>1356</Line><Ver>11.1.2.2.300.3774</Ver><PSec><Param><server_name></Param></PSec></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>936</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>4096</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
Source : Hyperion.HFMErrorHandler.1
ERROR: while Application created
7. HFM Classic application creation: fails with the following error:
Error*11*<user_name+>*10/19/2012 08:30:52*CHsxServer.cpp*Line 90*<?xml version="1.0"?>+
+<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
8. EPMA Application deployment: fails with same message.
Please help me with some insights on this problem, I have tried everything but nothing works.
Regards
Edited by: Otein on 19-oct-2012 14:04Hi,
I Have solved one of my problems, the one that keep HFM from connecting to the Oracle database.
I just change the TNSNAMES.ORA, like this:
Initial tnsnames.ora
PRUEBA.WORLD=
+(DESCRIPTION_LIST =+
+(DESCRIPTION =+
+(LOAD_BALANACE = ON)+
+(FAILOVER = ON)+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
+)+
+(CONNECT_DATA =+
+(SERVICE_NAME = <service_name>)+
+)+
+)+
+)+
Modified tnsnames.ora
PRUEBA.WORLD=
+(DESCRIPTION =+
+(LOAD_BALANACE = ON)+
+(FAILOVER = ON)+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
+)+
+(CONNECT_DATA =+
+(SERVICE_NAME = <service_name>)+
+)+
+)+
I Just delete the line "+(DESCRIPTION_LIST =+" and its corresponding closing parenthesis, I did this cause in the configuration utility log I saw this line:
+TNS parsing: Entry: DESCRIPTION_LIST [[Address: Protocol:(TCP) Host:(<server_name>) Port:(1521) SID:(<service_name>)]]+
So, if the applications were trying to connect to connection descriptor DESCRIPTION_LIST, the driver could not recognize DESCRIPTION_LIST as a valid one.
There is a lot going on behind the scenes when you work with Oracle Database as the repository, maybe there is some other way to address this issue, but it worked for me, hope it can help you too. -
ORA-01033 Oracle initialization or shutdown in progress error
Hi All,
I am using windows 7 on my 64-bit machine, and I installed oracle database 12c. Everything was installed fine, and i was able to connect to the HR schema. However, the next day when I wanted to connect, I got the ORA-01033 Oracle initialization or shutdown in progress error. What did I do wrong ? and what can I do to fix it ?? Thank you for the help.Sorry but there are NO SHORTCUTS!
I already answered that above and referred you to the docs and an article.
The doc chapters explain the NEW multitenant architecture in detail. The new 12c architecture is SUBSTANTIALLY different from previous architectures. Until you read the docs about it and understand how it has been implemented you will continue to have NOTHING but problems.
I know that may sound like just another RTFM but for 12c it is imperative that you understand the new architecture if you want to avoid problems. There is no way to explain it all in the forums; Oracle takes a good two chapters just to cover the basics.
I also pointed you to an article that shows how to startup the CDB and PDBs manually or write a STARTUP trigger to do it automatically.
Hopefully you are doing all of this in a VM environment as you seemingly implied in one of your other threads?
https://forums.oracle.com/thread/2594464
There are already some VM templates available for 12c
http://www.oracle.com/technetwork/server-storage/vm/database-templates-12c-11gr2-1972804.html -
Error ora-01033 initialization or shutdown in progress Oracle 10g
Hello !
I am a young Gabonese student and I need your help , it turns out that I have an Oracle database 10g and I am facing the same problem for a month already
Indeed, my database shows me
The instance of the database that my application connects (SID = MyApp) fails has started, due to an error with the code:
ora-01033 initialization or shutdown in progress.
And here is the list of other error messages that SQLPLUS console displays:
ORA - 01115: for I / O error reading block from file 2 <# block 926>
ORA - 01110: data file 2:
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: Failed to read / write asynchronous
OSD - 04016: Error queuing of pending asynchronous I / O request.
O / S - Error: <OS 1117> unable to meet demand due to an error O peripheral I /
ORA - 01115: I / O error reading block from file 2 <Block # 983>
ORA - 01110 data file 2
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: failure to read / write asynchronous
it 's been days since I research different forum a clear solution for this type of problem but I can not find anything satisfactory and definitive any help for me is precious ... thank you in advancec8884db4-2595-4c5e-bd57-a33002f6d13c wrote:
Hello !
I am a young Gabonese student and I need your help , it turns out that I have an Oracle database 10g and I am facing the same problem for a month already
Indeed, my database shows me
The instance of the database that my application connects (SID = MyApp) fails has started, due to an error with the code:
ora-01033 initialization or shutdown in progress.
And here is the list of other error messages that SQLPLUS console displays:
ORA - 01115: for I / O error reading block from file 2 <# block 926>
ORA - 01110: data file 2:
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: Failed to read / write asynchronous
OSD - 04016: Error queuing of pending asynchronous I / O request.
O / S - Error: <OS 1117> unable to meet demand due to an error O peripheral I /
ORA - 01115: I / O error reading block from file 2 <Block # 983>
ORA - 01110 data file 2
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: failure to read / write asynchronous
it 's been days since I research different forum a clear solution for this type of problem but I can not find anything satisfactory and definitive any help for me is precious ... thank you in advance
OS/Disk failure external to Oracle.
Oracle is victim; not the culprit.
After the disk throwing error is replaced, you will need to restore the DB from most recent backup. -
Error when calling a Oracle package with length 30 (ORA-01948)
Hi...,
When I call a Oracle package I get this error message.
java.sql.SQLException: ORA-01948: identifier's name length (39) exceeds maximum (30)
ORA-06512: at "SYS.DBMS_PICKLER", line 18
ORA-06512: at "SYS.DBMS_PICKLER", line 58
ORA-06512: at line 1
There is not way we can change the package name. How do we fix it on the java side?
Regards,
PraveenThe statement 'ORA-01948' is coming from the database and not your java program. Therefore you cant fix it on the java side. There is some stored procedure, stored function, or other such code on the database that is too long. Use a database utility tool such as 'Toad' to examine the database and see if you can find what SYS.DBMS_PICKLER means.
Here is a definition of ORA-01948 I found on the internet:
ORA-01948: identifier's name length (string) exceeds maximum (string)
Cause: A name has been specified that is too long. For example, dbms_session.is_role_enabled() specifies a role name that is too long.
Action: Change the application or command to use a correct identifier. -
ORA-28547: connection to server failed, probable Oracle Net admin error
Hi Gurus
I can't get the gateway to work? I'm running on AIX. Any suggestions are appreciated.
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
# (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4msql)
(ORACLE_HOME=/oracle/rcsr/base/product/11.2.0/gateway)
(PROGRAM=dg4msql)
tnsnames.ora
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
sqlnet.ora
SQL_AUTHENTICATION_SERVICES = (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES)
ADR_BASE = /oracle/rcsr/base
initdg4msql.ora
HS_FDS_CONNECT_INFO=142.178.205.42:1433//komodo
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=debug
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
$ lsnrctl status
LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:01
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
Start Date 03-MAY-2013 13:38:14
Uptime 0 days 0 hr. 9 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /oracle/rcsr/base/product/11.2.0/gateway/network/admin/listener.ora
Listener Log File /oracle/rcsr/base/diag/tnslsnr/abe-rcsr-01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
$ tnsping dg4msql
TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 03-MAY-2013 13:48:53
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/oracle/rcsr/base/product/11.2.0/gateway/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
$ sqlplus aa/aa@dg4msql
SQL*Plus: Release 11.2.0.1.0 Production on Fri May 3 13:49:52 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-28547: connection to server failed, probable Oracle Net admin errorYou can't directly use the gateway - you can only access a gateway using a database link.
So this won't work:
$ sqlplus aa/aa@dg4msql
You need to connect to your Oracle database (for example as sysdba) and create a (public) database link:
create [public] database link dg4msql connect to "<MS SQl Server username! identified by "<MS SQl Server password>" using 'dg4msql;
Once you create the database link you can now access the MS SQl Server tables:
select * from "your MS SQL Server table"@dg4msql; -
Oracle ORA-03113: end-of-file on communication channel error
Hi,
I am new to oracle. I need your help.
I got oracle error on client site while running SQL.
Oracle ORA-03113: end-of-file on communication channel error
Process ID: 18805
Session ID : 1610 Serial number: 15367I looked alert.log which is given below
Fri Apr 02 14:36:27 2010
Thread 1 advanced to log sequence 34069
Current log# 1 seq# 34069 mem# 0: +DATA/store/onlinelog/group_1.272.648383369
Fri Apr 02 15:10:11 2010
Trace dumping is performing id=[cdmp_20100402151011]
Fri Apr 02 15:10:41 2010
Reconfiguration started (old inc 40, new inc 42)
List of nodes:
0
Global Resource Directory frozen
* dead instance detected - domain 0 invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Fri Apr 02 15:10:41 2010
LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
Fri Apr 02 15:10:41 2010
LMS 1: 2 GCS shadows cancelled, 0 closed, 0 Xw survived
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Post SMON to start 1st pass IR
LMS 1: 13458 GCS shadows traversed, 0 replayed
LMS 0: 13700 GCS shadows traversed, 0 replayed
Submitted all GCS remote-cache requests
Fix write in gcs resources
Fri Apr 02 15:10:42 2010
Instance recovery: looking for dead threads
Beginning instance recovery of 1 threads
Reconfiguration complete
parallel recovery started with 3 processes
Started redo scan
Completed redo scan
1148 redo blocks read, 100 data blocks need recovery
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
Started redo application at
Thread 2: logseq 16481, block 37508
Recovery of Online Redo Log: Thread 2 Group 3 Seq 16481 Reading mem 0
Mem# 0: +DATA/store/onlinelog/group_3.280.648386385
Completed redo application
Completed instance recovery at
Thread 2: logseq 16481, block 38656, scn 44063421381
87 data blocks read, 101 data blocks written, 1148 redo blocks read
Switch log for thread 2 to sequence 16482
Fri Apr 02 15:10:50 2010
ARC3: Archiving disabled thread 2 sequence 16482
Fri Apr 02 15:13:50 2010
Reconfiguration started (old inc 42, new inc 44)
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Fri Apr 02 15:13:50 2010
Fri Apr 02 15:13:50 2010
LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
LMS 1: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
LMS 0: 7881 GCS shadows traversed, 4001 replayed
LMS 1: 8015 GCS shadows traversed, 4001 replayed
LMS 1: 5437 GCS shadows traversed, 2737 replayed
LMS 0: 5797 GCS shadows traversed, 2941 replayed
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Fix write in gcs resources
Reconfiguration completeHere is trace files
cat *STORE1_p001_31604.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 83
Unix process pid: 31604, image: [email protected] (P001)
*** 2010-04-02 15:10:43.094
*** SESSION ID:(1576.36581) 2010-04-02 15:10:43.094
*** CLIENT ID:() 2010-04-02 15:10:43.094
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
*** MODULE NAME:() 2010-04-02 15:10:43.094
*** ACTION NAME:() 2010-04-02 15:10:43.094
2010-04-02 15:10:43.093954 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.868
KCRP: blocks claimed = 34, eliminated = 6
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 40/40 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/40 = 0.0
*** 2010-04-02 15:10:50.249
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 40/40 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 604/604 = 1.0
cat *STORE1_p000_31602.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 71
Unix process pid: 31602, image: [email protected] (P000)
*** 2010-04-02 15:10:43.094
*** SESSION ID:(1565.49022) 2010-04-02 15:10:43.094
*** CLIENT ID:() 2010-04-02 15:10:43.094
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
*** MODULE NAME:() 2010-04-02 15:10:43.094
*** ACTION NAME:() 2010-04-02 15:10:43.094
2010-04-02 15:10:43.093855 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.433
KCRP: blocks claimed = 30, eliminated = 4
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 34/34 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/34 = 0.0
*** 2010-04-02 15:10:50.246
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 34/34 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 666/666 = 1.0
cat *STORE1_p002_31619.trc*
Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/11.1/db_1
System name: Linux
Node name: datastore1.bakcell.com
Release: 2.6.18-53.el5PAE
Version: #1 SMP Sat Nov 10 18:33:42 EST 2007
Machine: i686
Instance name: STORE1
Redo thread mounted by this instance: 1
Oracle process number: 84
Unix process pid: 31619, image: [email protected] (P002)
*** 2010-04-02 15:10:43.095
*** SESSION ID:(1578.22258) 2010-04-02 15:10:43.095
*** CLIENT ID:() 2010-04-02 15:10:43.095
*** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.095
*** MODULE NAME:() 2010-04-02 15:10:43.095
*** ACTION NAME:() 2010-04-02 15:10:43.095
2010-04-02 15:10:43.095010 : Start recovery for domain=0, valid=0, flags=0x1
*** 2010-04-02 15:10:44.551
KCRP: blocks claimed = 25, eliminated = 1
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 26/26 = 1.0
Max compares per lookup = 0
Avg compares per lookup = 0/26 = 0.0
*** 2010-04-02 15:10:50.250
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 26/26 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 246/246 = 1.0
----------------------------------------------I don't understand what does it mean which is written in alert.log.
Yhanks in advance.please check below files:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
Fri Apr 02 15:10:43 2010
Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
Edited by: Prathmesh on Apr 2, 2010 5:01 PM -
Oracle error ORA-01461when trying to insert into an ORACLE BLOB field
I am getting Oracle error ‘ORA-01461: can bind a LONG value only for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
ORACLE version is 11.2.0.1
The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
Here is my code:
<cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
<cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
<cfset file_mime = 'data:image/' & file_mime & ';base64,'>
<cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
<cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
<cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
<cffile action="readbinary" file="#ramfile#" variable="image_bin">
<cffile action="delete" file="#ramfile#">
<cfquery name="InsertImage" datasource="#datasource#">
INSERT INTO test_images
image_blob
SELECT
<cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
FROM dual
</cfquery>Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.
-
ORA-20160: Encountered an error while getting the ORACLE user account.
when users trying to apply for the leave . Once they apply for the leave and the respective manager approves it.
They get an notification mail with the error message The changes were not applied because ORA-20160: Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator. ORA-06512: at "APPS.ALR_PER_ABSENCE__800_53447_IAR", line 3 ORA-04088: error during execution of trigger 'APPS.ALR_PER_ABSENCE__800_53447_IAR'
EBS : 12.1.2
Database : 11.2.0We are also facing the same issue , with the following error.
The Changes were not applied because ORA-20160: Encountered an error while getting the ORACLE user account for your concurrent request, Contact your system administrator. ORA-06512: at “ APPS.ALR_PAY_ELEMENT_801_53338_IAR”, line 1 ORA-04088: error during execution of the trigger ‘APPS.ALR_PAY_ELEMENT_801_53338_IAR’
Dear Hussein ,
As per your suggestion , if we disable the trigger , does it workflow goes ahead without any problems ?
By Disabling the trigger , what would be the impact ? I mean does we are going to loose the data that was supposed to be updated the trigger.
And basically please educate me . what is the use of this APPS.ALR_PAY_ELEMENT_801_53338_IAR’ ?
Regards
Raghu -
Oracle sys Index rebuild then Getting error Invalid Error Ora-01410
Oracle sys Index rebuild,
after Getting error Invalid Error Ora-01410 in alert log file.every Insert ,update and delete.
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
Oracle sys Index rebuild list
CTXSYS
EXFSYS
FLOWS_030000
FLOWS_FILES
MDSYS
OLAPSYS
ORDSYS
OWBSYS
SI_INFORMTN_SCHEMA
TSMSYS
WKSYS
MDSYS
After rebuild above index im getting error while inserting,update,delete table rows
Error like 'INVALID ROWID' alert log file
ANY ONE HELP ME TO RESOLVE THE PROBLEM
Edited by: 927230 on May 26, 2012 8:51 PM
Edited by: 927230 on May 26, 2012 8:53 PM927230 wrote:
Oracle sys Index rebuild after Getting error Invalid Error Ora-01410
Oracle 11.1 version
Oracle sys Index rebuild list
CTXSYS
EXFSYS
FLOWS_030000
FLOWS_FILES
MDSYS
OLAPSYS
ORDSYS
OWBSYS
SI_INFORMTN_SCHEMA
TSMSYS
WKSYS
MDSYS
After rebuild above index im getting error while inserting,update,delete table rows
Error like 'INVALID ROWID'
ANY ONE HELP ME TO RESOLVE THE PROBLEMwhich came first the error or the rebuild?
COPY & PASTE whole session & SQL so we can see exactly what you do & how Oracle responds
post results from following SQL below
SELECT * FROM V$VERSION
Maybe you are looking for
-
I am trying to create a document in Pages for iPad and want to highlight various bits of text but can not find a function in the inspector for this. Can anyone help,please?
-
Track delays before playing - Help please
DSP - 3 One of my tracks seems to delay before playing and I end up with a black screen before it begins. I went back to Final Cut and can't find any problem with it there. All my other tracks start fine. Help please. Thanks.
-
Broken latch, out of warranty.
Hello. Sad to report that my almost two year-old 12" PB G4 has experienced a break of the latching mechanism that keeps the lid closed. The hook had been acting strangely for about the past six months but only very recently took to becoming completel
-
Discount/surcharge condition type
Hello, would please advise me how to resolve the following situation. I have two condition type in pricing procedure. one of them is PR00 a quantity base cond. type. for base price calculation. and the second one is a discount. I would like to preven
-
Displaying Runtime Parameters on Graph
Dear All, I have created a graph from graphics builder 6.0.5.33.0 and want to call the graph from forms6i 6.0.8.8.0 by passing some parameters. The plotted graph is ok. Now I want to show on the graph the values of the parameters passed. thanks in ad