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 PM
927230 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
Similar Messages
-
Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Hi Guys!
Thanks for your advises. I still working toward a resolution.
But I encountered another issue from Enterp Manager :
ERROR : Please correct the following error: Connection string must be specified.
My connection has this format:
//using connection string attributes to connect to Oracle Database
con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
con.Open();
Console.WriteLine("Connected to Oracle" + con.ServerVersion);
Please tell me what is wrong here. Thanks. Dan.
Hi all !
I need help please for resolving the following :
Problem:
Im having frequent disconnection after abnormal shutdown due to power failure.
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
The alert.log is at the bottom
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
Im on Laptop running Linux Centos 6.3 Host.
and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
Im having frequent disconnection after abnormal shutdown due to power failure.
When attempting login from the Oracle Enterprise Manager Database Control
I got Error: "Your username and/or password are invalid."
[test@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[test@localhost ~]$
[test@localhost ~]$ su - root
Password:
[root@localhost ~]#
[root@localhost ~]# su - oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ export ORACLE_SID=db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_BASE
/u01/app/oracle
[oracle@localhost ~]$
[oracle@localhost ~]$ echo $ORACLE_SID
db11gr2
[oracle@localhost ~]$
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 04-DEC-2013 12:23:08
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "db11gr2" has 1 instance(s).
Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$
[oracle@localhost ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............... started.
Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> shutdown abort;
ORACLE instance shut down.
SQL>
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-00600: internal error code, arguments: [4194], [: no
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL>
ERROR at line 1:
ORA-03135: connection lost contact
Process ID: 8973
Session ID: 1 Serial number: 5
SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> select STATUS, DATABASE_STATUS from v$instance;
STATUS DATABASE_STATUS
OPEN ACTIVE
SQL>
SQL> SELECT * FROM v$instance;
ERROR:
ORA-03114: not connected to ORACLE
[oracle@localhost ~]$
[oracle@localhost ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 799313920 bytes
Fixed Size 1339484 bytes
Variable Size 318771108 bytes
Database Buffers 473956352 bytes
Redo Buffers 5246976 bytes
Database mounted.
Database opened.
SQL>
SQL> SELECT * FROM v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 db11gr2
localhost.localdomain
11.2.0.1.0 04-DEC-13 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>
alert log file
[oracle@localhost ~]$
[oracle@localhost ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"
adrci> set editor emacs
adrci> show alert
Choose the alert log from the following homes to view:
1: diag/rdbms/unknown/DB11G
2: diag/rdbms/db11gr2/db11gr2
3: diag/tnslsnr/localhost/listener
Q: to quit
Please select option: 2
*** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
======= Backtrace: =========
/lib/libc.so.6[0x1d42dd]
/lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
/lib/ld-linux.so.2[0x331f8a]
/lib/ld-linux.so.2[0x33215a]
/lib/ld-linux.so.2[0x32e3ce]
/lib/libc.so.6[0x272550]
/lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
/lib/libdl.so.2[0x110e08]
/lib/ld-linux.so.2[0x331e66]
/lib/libdl.so.2[0x1112cc]
/lib/libdl.so.2(dlsym+0x63)[0x110d93]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
[0x3bb440]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
adrci[0x8048c5b]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
adrci[0x8048aa5]
/lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
adrci[0x8048811]
======= Memory map: ========
00110000-00112000 r-xp 00000000 08:03 5925240 /lib/libdl-2.5.so
00112000-00113000 r-xp 00001000 08:03 5925240 /lib/libdl-2.5.so
00113000-00114000 rwxp 00002000 08:03 5925240 /lib/libdl-2.5.so
00114000-00139000 r-xp 00000000 08:03 5925284 /lib/libm-2.5.so
00139000-0013a000 r-xp 00024000 08:03 5925284 /lib/libm-2.5.so
0013a000-0013b000 rwxp 00025000 08:03 5925284 /lib/libm-2.5.so
0013b000-0014f000 r-xp 00000000 08:03 5925246 /lib/libpthread-2.5.so
0014f000-00150000 r-xp 00013000 08:03 5925246 /lib/libpthread-2.5.so
00150000-00151000 rwxp 00014000 08:03 5925246 /lib/libpthread-2.5.so
00151000-00153000 rwxp 00151000 00:00 0
00153000-00166000 r-xp 00000000 08:03 5925301 /lib/libnsl-2.5.so
00166000-00167000 r-xp 00012000 08:03 5925301 /lib/libnsl-2.5.so
00167000-00168000 rwxp 00013000 08:03 5925301 /lib/libnsl-2.5.so
00168000-0016a000 rwxp 00168000 00:00 0
0016a000-002a9000 r-xp 00000000 08:03 5925233 /lib/libc-2.5.so
002a9000-002aa000 --xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002aa000-002ac000 r-xp 0013f000 08:03 5925233 /lib/libc-2.5.so
002ac000-002ad000 rwxp 00141000 08:03 5925233 /lib/libc-2.5.so
002ad000-002b0000 rwxp 002ad000 00:00 0
002b0000-002b1000 r-xp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b1000-002b2000 rwxp 00000000 08:03 3905250 /usr/lib/libaio.so.1.0.1
002b2000-002bb000 r-xp 00000000 08:03 5925256 /lib/libnss_files-2.5.so
002bb000-002bc000 r-xp 00008000 08:03 5925256 /lib/libnss_files-2.5.so
002bc000-002bd000 rwxp 00009000 08:03 5925256 /lib/libnss_files-2.5.so
002bd000-002c8000 r-xp 00000000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
002c8000-002c9000 rwxp 0000a000 08:03 5925425 /lib/libgcc_s-4.1.2-20080825.so.1
00324000-0033e000 r-xp 00000000 08:03 5925219 /lib/ld-2.5.so
0033e000-0033f000 r-xp 00019000 08:03 5925219 /lib/ld-2.5.so
0033f000-00340000 rwxp 0001a000 08:03 5925219 /lib/ld-2.5.so
003bb000-003bc000 r-xp 003bb000 00:00 0 [vdso]
003bc000-01fc3000 r-xp 00000000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
01fc3000-020a7000 rwxp 01c07000 08:03 4984633 /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
020a7000-020c1000 rwxp 020a7000 00:00 0
025b1000-027ce000 r-xp 00000000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027ce000-027fc000 rwxp 0021d000 08:03 5006042 /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
027fc000-027fe000 rwxp 027fc000 00:00 0
08048000-08049000 r-xp 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
08049000-0804a000 rw-p 00000000 08:03 1407670 /u01/app/oracle/product/11.2.0/db_1/bin/adrci
09d62000-09e0d000 rw-p 09d62000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f68000-b7f90000 rw-p b7f68000 00:00 0
bfc54000-bfc6d000 rwxp bffe5000 00:00 0 [stack]
bfc6d000-bfc6e000 rw-p bfffe000 00:00 0Hi,
Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1) -
Getting error ORA-01033 : Oracle Initialization or shutdown in progress
Getting error ORA-01033 : Oracle Initialization or shutdown in progress
Tried to login with different users and could login thru one user. when given the command shuddown immediate, gave the error :
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
When given the command startup, gave the error :
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-00322: log 1 of thread 1 is not current copy
ORA-00312: online log 1 thread 1: 'C:\ORACLE\ORADATA\LDESK\REDO01.LOG'
Please guide
Regards,
MeenalORA-00322: log string of thread string is not current copy
Cause: Check of log file header at database open found that an online log appears to be an incorrectly restored backup.
Action: Restore correct file or reset logs.
As already mentioned,your redo seems to be corrupted.Are you in archivelog mode with a good copy of backup with you?
Aman.... -
I am getting error "ORA-12899: value too large for column".
I am getting error "ORA-12899: value too large for column" after upgrading to 10.2.0.4.0
Field is updating only through trigger with hard coded value.
This happens randomly not everytime.
select * from v$version
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Table Structure
desc customer
Name Null? Type
CTRY_CODE NOT NULL CHAR(3 Byte)
CO_CODE NOT NULL CHAR(3 Byte)
CUST_NBR NOT NULL NUMBER(10)
CUST_NAME CHAR(40 Byte)
RECORD_STATUS CHAR(1 Byte)
Trigger on the table
CREATE OR REPLACE TRIGGER CUST_INSUPD
BEFORE INSERT OR UPDATE
ON CUSTOMER FOR EACH ROW
BEGIN
IF INSERTING THEN
:NEW.RECORD_STATUS := 'I';
ELSIF UPDATING THEN
:NEW.RECORD_STATUS := 'U';
END IF;
END;
ERROR at line 1:
ORA-01001: invalid cursor
ORA-06512: at "UPDATE_CUSTOMER", line 1320
ORA-12899: value too large for column "CUSTOMER"."RECORD_STATUS" (actual: 3,
maximum: 1)
ORA-06512: at line 1
Edited by: user4211491 on Nov 25, 2009 9:30 PM
Edited by: user4211491 on Nov 25, 2009 9:32 PMSQL> create table customer(
2 CTRY_CODE CHAR(3 Byte) not null,
3 CO_CODE CHAR(3 Byte) not null,
4 CUST_NBR NUMBER(10) not null,
5 CUST_NAME CHAR(40 Byte) ,
6 RECORD_STATUS CHAR(1 Byte)
7 );
Table created.
SQL> CREATE OR REPLACE TRIGGER CUST_INSUPD
2 BEFORE INSERT OR UPDATE
3 ON CUSTOMER FOR EACH ROW
4 BEGIN
5 IF INSERTING THEN
6 :NEW.RECORD_STATUS := 'I';
7 ELSIF UPDATING THEN
8 :NEW.RECORD_STATUS := 'U';
9 END IF;
10 END;
11 /
Trigger created.
SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME,RECORD_STATUS)
2 values('12','13','1','Mahesh Kaila','UPD');
values('12','13','1','Mahesh Kaila','UPD')
ERROR at line 2:
ORA-12899: value too large for column "HPVPPM"."CUSTOMER"."RECORD_STATUS"
(actual: 3, maximum: 1)
SQL> insert into customer(CTRY_CODE,CO_CODE,CUST_NBR,CUST_NAME)
2 values('12','13','1','Mahesh Kaila');
1 row created.
SQL> set linesize 200
SQL> select * from customer;
CTR CO_ CUST_NBR CUST_NAME R
12 13 1 Mahesh Kaila I
SQL> update customer set cust_name='tst';
1 row updated.
SQL> select * from customer;
CTR CO_ CUST_NBR CUST_NAME R
12 13 1 tst Urecheck your code once again..somewhere you are using record_status column for insertion or updation.
Ravi Kumar -
Getting Error ORA-01422&ORA-06512 while clicking distributions of invoice
Hi,
I am Getting Error ORA-01422&ORA-06512 when i query the invoice and click on the All distributions.
However i am getting this error only for some invoices and not for all.
Any suggestion on this is highly appreciated.
Regards,
ShreyansHi,
What is the application release? If you are on R12, please refer to these documents.
Note: 580014.1 - R12 Invoices FAQs - (16. Why do the Errors ORA-01422 and ORA-06512 Show when Clicking on the [All Distributions] Button?)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=580014.1
Note: 559199.1 - Error ORA-01422 ORA-06512 Raises when Click On [All Distributions] Button
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=559199.1
Regards,
Hussein -
Hi there
When trying to install OBIEE I get an error saying that "maxium key length exceeded". It gives out the error ORA-01450. The funny part is that I have installed a couple of development environments now, without any problems - and now suddenly this? I have used the same Oracle Instance, and had success with two different RCU installs, and then suddenly no more...
Any ideas?
Regards JacobJacob,
I wonder if you have ran the RCU multiple times on the same machine to create several schemas for OBIEE (BIPLATFORM / MDS).
Either way the error message ORA-01450 mainly has to do with the Database Block Size.
See these links for reference reading:
http://www.dba-oracle.com/t_ora_01450_maximum_key_length_exceeded.htm
http://www.dbasupport.com/forums/archive/index.php/t-23148.html
You will most likely need to increase your DB Block Size in order to fix this issue. Here is a link with great explanation and some PL/SQL commands on how to increase the size, [http://www.oradbpedia.com/wiki/Increase_the_Database_Block_Size|http://www.oradbpedia.com/wiki/Increase_the_Database_Block_Size] . Try that and then re-run the RCU.
Depending on which value you have in the max key length message you should go to the next block size.
ORA-01450 maximum key length (758) exceeded -> (2K Block)
ORA-01450 maximum key length (1578) exceeded -> (4K block)
ORA-01450 maximum key length (3218) exceeded -> (8K Block)
ORA-01450 maximum key length (6498) exceeded -> (16K Block)
Cheers,
Christian -
How to view the file content from the directory? getting Error:ORA-21560
SQL> create directory READ_LOB_DIR as 'D:\Prj\Comm\Data';
CREATE OR REPLACE Procedure READ_FILE_LOB IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(500);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_seb, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
l_sum := l_end - l_pos - 1;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
The Text file content is...
Copyright 1996,2001 Oracle Corporation. All Rights Reserved
This file contains installation instructions for installing the
Oracle8 ODBC Driver software.
It is divided into four parts:
o Part I: Summary of systems supported by Oracle8 ODBC client
software
Lists the platforms on which the Oracle8 ODBC Client software can
be installed.
o Part II: Oracle8 ODBC Driver software.
Describes the files, and installation prerequisites for the Oracle8
ODBC driver software.
o Part III: Exploding the kit onto your system
Describes how to explode the kit onto your system hard drive.
o Part IV: Installation Instructions
Describes how to install the Oracle8 ODBC driver.
Part I: Systems supported by the Oracle8 client software
You can install the ODBC client software on any of the following systems:
o Windows 2000
o Windows NT X86
o Windows 95
o Windows 98
The Oracle8 ODBC Driver provides support for ODBC connections
from Windows 2000, Windows NT, Windows 95, and Windows 98 systems
to Oracle databases.
o Part II: Oracle8 ODBC Driver software.
Refer to the following files for information about the Oracle8 ODBC Driver:
LICENSE.TXT - Oracle8 ODBC Driver License Agreement. Read carefully
before installing and/or using this product. Enclosed in
your software distribution kit.
SQORA.HLP - A Window's Help file which is the primary reference
manual for the Oracle8 ODBC Driver.
ODBCRelnotes.WRI - The release notes for the Oracle8 ODBC Driver
which contains information which may have not been
included in the Help file.
Installation Prerequisites
See the Oracle8 ODBC Driver release notes (ODBCRelnotes.WRI),
for a complete list of software products required and their versions.
Time Required
The installation of the Oracle8 ODBC Driver takes approximately 5
minutes. The actual time may be shorter or longer, depending upon
your hardware configuration.
Disk Space Required
The Oracle8 ODBC driver installation requires approximately 2
megabytes of available storage space. The space required depends upon
what files you already have installed. The installation procedure
checks to see if you have enough available disk space. If you do not,
the installation fails.
Part III: Exploding the Kit onto your system
Expand the self-extracting archive file onto your hard drive.
C:\> ORA8174.EXE
Part IV: Installation Instructions
Oracle8 ODBC Driver 8.1.7.4.0
This section assumes the following:
1. MS Windows 2000, Windows NT, Windows 95 or Windows 98 is running.
2. Oracle Universal Installer shipping with 8.1.7 has already been
installed on your system.
3. Part III has been completed.
Software fixes:
Refer to release notes (ODBCRelnotes.wri) for a complete list of
Software fixes.
Installation Instructions
Once the self-extracting archive file ORA8174.EXE has been
exploded it will create an installable directory structure
onto your hard drive. Run the Oracle Universal Installer from
your local drive.
1. On the screen "File Locations" use the "Browse" button of
the source path to choose the file 'products.jar' from the
folder that ORA8174.EXE was extracted to. Choose 'Next'.
2. You will receive a warning that some of the dependencies of
this product are not found in the staging area. This warning
is OK. The ODBC driver depends on the Net8 Client being already
installed on the system. Answer 'Yes' to continue.
Oracle is a registered trademark of Oracle Corporation.
Microsoft, MS are registered trademarks of Microsoft Corporation.
Microsoft Windows, Windows NT, Windows 95, Windows 98 and Open Database
Connectivity are trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property
of their respective owners.
The output was...
File testfile.txt in Directory READ_LOB_DIR exists
Copyright
1996,2001
Oracle
Corporation.
All
Rights
Reserved
This
file
contains
installation
instructions
for
installing
the
Oracle8
ODBC
Driver
software.
It
is
divided
into
four
parts:
o
Part
I:
Summary
of
systems
supported
by
Oracle8
ODBC
client
Error:ORA-21560: argument 2 is null, invalid, or out of range
I want to diplay/view as per file content format from the file under that specified directory.
Have any other method / any help or suggestions would be really appreciated.I changed the code like...
CREATE OR REPLACE Procedure READ_FILE_LOB_tmp IS
-- Input Directory as specified in create directory
l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
-- Input File which is read word by word
l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
-- Separator Character between words is a BLANK (ascii = 32)
l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
-- Character at the end of the file is NEWLINE (ascii = 10)
l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
-- Pointer to the BFILE
l_loc BFILE;
-- Current position in the file (file begins at position 1)
l_pos NUMBER := 1;
-- Amount of characters have been read
l_sum BINARY_INTEGER := 0;
-- Read Buffer
l_buf VARCHAR2(4000);
-- End of the current word which will be read
l_end NUMBER;
-- Return value
l_ret BOOLEAN := FALSE;
BEGIN
-- Mapping the physical file with the pointer to the BFILE
l_loc := BFILENAME(l_dir, l_fil);
-- Check if the file exists
l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
IF (l_ret) THEN
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' exists');
-- Open the file in READ_ONLY mode
DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
LOOP
-- Calculate the end of the current word
l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
-- Process end-of-file
IF (l_end = 0) THEN
EXIT;
END IF;
-- Read until end-of-file
l_sum := l_end - l_pos;
DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
l_pos := l_pos + l_sum + 1;
END LOOP;
DBMS_LOB.CLOSE(l_loc);
ELSE
dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
' does not exist');
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Error:' || SQLERRM);
DBMS_LOB.CLOSE(l_loc);
END;
Now its working fine with one addtional line...
The file content is...
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
But The output was...
File testfile.txt in Directory READ_LOB_DIR exists
This is My Content
This is My Content
This is My Content
This is My Content
This is My Content
here, i want to delete that additonal line...? -
While logging I am getting error ORA-12154:
I am getting this error, while logging.
ERROR:
ORA-12154: TNS:could not resolve service namePls Wat I need to do,hi coolguy,
my sqlnet.ora file is
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)and my tnsnames.ora file is
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
SANDB.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sandb)
INST1_HTTP.ASTSERVER40.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ast16)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)and my computer name:
Full computer name: ast16.astserver40.com
Domain : astserver40.comand I tested in command prompt, with tnsping which is mentioned you I am getting this error
C:\>tnsping sandb
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 21-NOV-20
07 11:20:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
C:\oracle\ora92\network\admin\sqlnet.ora
TNS-03505: Failed to resolve namewhere's the problem....
Message was edited by:
user594309 -
From pl/sql table getting error - "ORA-01403: no data found"
Hi All,
i habe written package, and the spce define as -
type F761RecType is RECORD (
type F761TabType is TABLE of F761RecType INDEX BY BINARY_INTEGER;
l_F761_table F761TabType;
PROCEDURE modification1
p_F761_table IN F761TabType,
From button click of form i passed -
DECLARE
l_f761_table I743_PUC_MAPS_TREE_PKG.F761TabType;
l_counter number;
BEGIN
LOOP
l_counter :=l_counter+1;
l_f761_table(l_counter).P_TABLE := :MAPS.P_table;
EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' ;
next_record;
end loop;
i743_puc_maps_tree_pkg.modification1(
p_F761_table => l_f761_table,
END;
Now when I take table count (l_f761_table.count) in button click in form level I am getting value; but when I try to get the count in sid the package, it giving error "ORA-01403: no data found".
Pls tell me where I am wrong ..!!
BR,
SubirThaks all, probls has been solved..
-
Discoverer 3.1.25: getting error ORA-06550 when scheduling report
Hello,
we are still using the Discoverer version 3 (release 3.1.25). I know that this version is out of support, but that doesn't harm use from using it...
The Discoverer has been working fine for the last couple years. At the beginning of every month the same already defined reports are getting generated. But with the beginning of the year 2010 we are getting the error:
ORA-06550: line 1, column 93:
PLS-00201: identifier 'EUL$BATCH_PACKAGE0100112082923.RUN' must be declared
ORA-06550: line 1, column 93:
PL/SQL: Statement ignored
ORA-06512: at "SYS.DBMS_JOB" line 79
The numbers "0100112082923" after the identifier "EUL$BATCH_PACKAGE" specify the date and time:
082923: 08 hour, 29 minutes, 23 seconds
0100112: 010 year, 01 month, 12 day
The reason of that error is that the mentioned Package/Packagebody EUL$BATCH_PACKAGE*0*100112082923 doesn't exist in the database. But as a matter of fact the Package/Packagebody 'EUL$BATCH_PACKAGE100112082923 does exist. The Discoverer creates the Package/Packagebody without the "0" after the identifier "EUL$BATCH_PACKAGE" in the database, but wants to use the Package/Packagebody with the "0" after the identifier "EUL$BATCH_PACKAGE". Seems like a bug to me - does anybody have the same problem?
Until the year 2009 the year was specified with just two digits (09) - now the year seems to get specified with 3 digits (010) - but in the database just two digits are used. Is there any property table or button where this gets defined?
Any help will be appreciated!Seems like if I have found the bug by myself...
In the procedure SubmitJob(...) of the package EUL$BATCH_REPOSITORY the name of the scheduled procedure gets generated with the hardcoded string
"EUL$BATCH_PACKAGE0". The zero after "PACKAGE" is only correct when the year ends with one digit (e.g. 2001, 2002, ..., 2009). When shortening the
string to "EUL$BATCH_PACKAGE" everything works fine again...
Rgds -
Getting error ora-01000 maximum open cursors exceeded
hello,
i am building my fist application using eclipse3.3 hibernate 3.2(hybernatesynchronizer as plugin)
i have a oracle9i like sgbd . when i trying to create my mapping file from eclipse i got this error :
ORA-01000: maximum open cursors exceeded
i try to increase the number of cursor from the oracleconfiguration file init.ora, i shutdown but the problem still
i don t know how to solve this problem really.
i need help.Yes, that it what I was asking about.Not that it matters, but I think you misunderstood. I meant "if you ask it to leak resources then it will do so." I wasn't asking what you meant.
Is there a way to make it explicitly open and close via a single call? Perhaps a configuration option either globably or by method/class?Not as a standard part of Hibernate, no. That said, it's relatively hard to leak anything other than connection objects unless you're really trying hard. There are libraries that you can use to manage the lifetime of the connection (actually the session) object. I like the Spring DAO support classes. Inevitably they cause their own problems for someone who doesn't understand what Hibernate's up to under the covers though.
Edit: Quick example
// Bog standard Hibernate
Session session = sessionFactory.openSession();
try {
return (List<Foo>)session.createQuery("from Foo").list();
} finally {
session.close(); // If omitted will leak a connection object
// Using Spring
return (List<Foo>)getHibernateTemplate().find("from Foo");Things get slightly more interesting if you're using lazy loading and actively want to keep the connection around for longer. -
Getting error ORA-12705, while connecting through Sql*Plus?
Hi TOM,
While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
How to re-solve this one?
Thanks & Regards,
Senthil K Kumar.Maran,
check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
Nicolas. -
Getting error ORA-20001: This person does not have preferences for the sele
*) I got user_id by following query
SELECT USER_ID, USER_NAME, FND_USER.*
from FND_USER where user_name = '205174';
*) resource_id by following query:
select * from APPS.PA_PROJECT_ASSIGNMENTS where RESOURCE_ID in (select RESOURCE_ID from APPS.PA_RESOURCES_DENORM where PERSON_ID
in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ) ;
*) person_id by following query:
select * from APPS.PA_RESOURCES_DENORM where PERSON_ID in (select PERSON_ID from APPS.PER_ALL_PEOPLE_F where EMPLOYEE_NUMBER= 205173) ;
and
Hi,
When I am running following query to submit timesheet, getting following warning msg
anonymous block completed
ORA-20001: This person does not have preferences for the selected effective date
Following is query
set serveroutput on size 1000000
DECLARE
l_tbl_messages hxc_message_table_type;
l_message fnd_new_messages.message_text%type;
i pls_integer;
l_app_blocks hxc_block_table_type := hxc_block_table_type();
l_app_attributes hxc_self_service_time_deposit.app_attributes_info;
l_time_building_block_id number;
l_new_timecard_id number;
l_new_timecard_ovn number;
l_bb_id number;
l_resource_id hxc_time_building_blocks.resource_id%TYPE := 3595; -- XPCPAY
l_start_time hxc_time_building_blocks.start_time%TYPE := fnd_date.canonical_to_date('2011/10/17 00:00:00');
l_measure hxc_time_building_blocks.measure%TYPE := 1;
l_element_type_id varchar2(80) := 'ELEMENT - 50809'; -- Jury Duty
l_comment_text hxc_time_building_blocks.comment_text%TYPE := '';
l_deposit_process hxc_deposit_processes.NAME%TYPE := 'OTL Deposit Process';
l_retrieval_process varchar2(250) := 'BEE Retrieval Process';
BEGIN
fnd_global.apps_initialize ( user_id => 3850 -- XPCPAY
, resp_id => 3595 -- Self Service Time
, resp_appl_id => 809 -- HXC
hxc_timestore_deposit.create_time_entry ( p_measure => l_measure
, p_day => l_start_time
, p_resource_id => l_resource_id
, p_resource_type => 'PERSON'
, p_comment_text => l_comment_text
, p_deposit_process => l_deposit_process
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_time_building_block_id => l_bb_id
hxc_timestore_deposit.create_attribute ( p_building_block_id => l_bb_id
, p_attribute_name => 'Dummy Element Context'
, p_attribute_value => l_element_type_id
, p_deposit_process => l_deposit_process
, p_app_attributes => l_app_attributes
hxc_timestore_deposit.execute_deposit_process ( p_validate => TRUE
, p_app_blocks => l_app_blocks
, p_app_attributes => l_app_attributes
, p_messages => l_tbl_messages
, p_mode => 'SUBMIT'
, p_deposit_process => l_deposit_process
, p_retrieval_process => l_retrieval_process
, p_timecard_id => l_new_timecard_id
, p_timecard_ovn => l_new_timecard_ovn
-- OUTPUT MESSAGES --
DBMS_OUTPUT.put_line ('l_new_timecard_id = ' || l_new_timecard_id);
DBMS_OUTPUT.put_line ('l_new_timecard_ovn = ' || l_new_timecard_ovn);
if (l_tbl_messages.COUNT <> 0) THEN
i := l_tbl_messages.FIRST;
LOOP
EXIT WHEN (NOT l_tbl_messages.EXISTS(i));
l_message := fnd_message.get_string ( appin => l_tbl_messages(i).application_short_name
, namein => l_tbl_messages(i).message_name
DBMS_OUTPUT.put_line (l_tbl_messages(i).message_name);
DBMS_OUTPUT.put_line (l_message);
i := l_tbl_messages.NEXT(i);
END LOOP;
rollback;
else
commit;
end if;
exception
when others then
DBMS_OUTPUT.put_line(SQLERRM);
END;
/Please check the following MOS notes:
ORA-20001: This Person Does Not Have Preferences For the Selected Effective Date [ID 876324.1]
ORA-20001: This Person Does Not Have Preferences For The Selected Effective Date [ID 761470.1]
Troubleshooting Guide for HRMS API Errors - ORA-20001 and APP Errors [ID 152259.1]
''This Person Does Not Have Preferences For The Selected Effective Date'' Message [ID 287581.1]
Diagnostics - Setup - Time and labour Person - Test failed [ID 397214.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
Getting error ORA-02067: transaction or savepoint rollback required
I am performing the task of archiving the data from one database into another database. This is being achieved by using a shell script. I run the shell script to call the procedure. After running two or three hours, I am getting the following error
ORA-02067: transaction or savepoint rollback required
Even I re-ran the job I was getting the same error.
Can any one suggest me why I am getting this error and what is the possible remedial of it ?Please post this question in General Database Discussions forum.
To get you started, here is what the documentation says about this error.
ORA-02067: transaction or savepoint rollback required
Cause: A failure (typically a trigger or stored procedure with multiple remote updates) occurred such that the all-or-nothing execution of a previous Oracle call cannot be guaranteed.
Action: rollback to a previous savepoint or rollback the transaction and resubmit. -
Getting error --- ORA-06511: PL/SQL: cursor already open
I have the following code for a Apex(Application Express) project I am developing.
declare
mail_id varchar2(100);
min_skill_cnt number;
skill_cde varchar2(30);
total_leave number;
toal_emp number;
cursor cur is
select S_EMP_EMAIL
from EMP_SKILLS_INFO where SKILLCODE='MGR' and S_EMP_EMAIL = lower(:APP_USER) ;
cursor minskill is
select skill_code,MINRQMT_AM
from skills_code_info
where skill_code in (select skillcode from emp_skills_info where S_EMP_EMAIL = lower(:APP_USER));
cursor leavecnt(v_skill IN VARCHAR2) is
select count(*) from emp_leave_info
where leave_date = :P24_LEAVE_DATE
and emp_email IN (select S_EMP_EMAIL from EMP_SKILLS_INFO where SKILLCODE = v_skill);
cursor empcnt(v_skills IN VARCHAR2) is
select count(*) from EMP_SKILLS_INFO
where SKILLCODE = v_skills;
begin
open cur;
open minskill;
LOOP
fetch minskill into skill_cde,min_skill_cnt;
exit when minskill%NOTFOUND;
open leavecnt(skill_cde);
fetch leavecnt into total_leave;
open empcnt(skill_cde);
fetch empcnt into toal_emp;
IF toal_emp-total_leave < min_skill_cnt
then
apex_mail.send(
p_to => :APP_USER ,
p_from => '[email protected]',
p_cc => NULL,
p_body => '***** This is a system generated message, please do not reply to this *****'||
chr(10) || utl_tcp.crlf || 'Please review the current skill as '||:APP_USER||' is on leave'||
chr(10) || utl_tcp.crlf ||'Thanks',
p_subj => 'Skill code alert' );
end if;
END LOOP;
close empcnt;
close leavecnt;
close minskill;
close cur;
end;
=======================
Ideally this should send email to managers when a particular skill is running short when employee applies for leave.
I am getting error that cursor is already open when I run this code. I am not sure which cursor or where it is picking open cursor command.
Any inputs will be appreciated.LOOP
FETCH minskill
INTO skill_cde, min_skill_cnt;
EXIT WHEN minskill%NOTFOUND;
OPEN leavecnt (skill_cde); --- here you open.. in a loop and not close inside loop
FETCH leavecnt INTO total_leave;
OPEN empcnt (skill_cde);--- here you open.. in a loop and not close inside loop
FETCH empcnt INTO toal_emp;
IF toal_emp - total_leave < min_skill_cnt
THEN
apex_mail.
send (
p_to => :APP_USER,
p_from => '[email protected]',
p_cc => NULL,
p_body => '***** This is a system generated message, please do not reply to this *****'
|| CHR (10)
|| UTL_TCP.crlf
|| 'Please review the current skill as '
|| :APP_USER
|| ' is on leave'
|| CHR (10)
|| UTL_TCP.crlf
|| 'Thanks',
p_subj => 'Skill code alert');
END IF;
END LOOP;
Maybe you are looking for
-
My debit card is no longer working with my iTunes account
I use a debit card for my account. I can't spend what I don't have. Even if I'm 2 cents short of the app's price, iTunes will have a pop-up saying the purchase cannot be completed. This has saved me many times before, and because of this I can only b
-
Adding arrows to images in Lightroom 4
How can I add arrows to images in Lightroom 4?
-
Illustrator opens fine, but Photoshop won't. HELP!!!!!!!
-
3D object won't respond to keyframe changes in timeline
Hello adobe forum community, More sticky wickets in the timeline. This time it is 3D objects not responding to keyframe animation changes. I have tried creating a new 3D object. I have tried dragging and dropping the new object in to the target doc.
-
Sliding Panels Current Panel Navigation
Hi there, I am quite new to using the spry framework, and my js skills are not exceptionally strong. I am using a simple navigation menu to activate the sliding panel widget. I am wondering if there is a way to target the menu item so I can apply a d