PLEASE HELP !!! Getting error ORA-02438 and ORA-00910
Hi,
I am trying to create a table, have a field "Financial_Aid_Requested" declared as CHAR() and has a check constraint on it, when I try to run it, it gives me error "ORA-00910: specified length too long for its datatype" and so when I try to change the datatype to VARCHAR2 or even CHAR(2000), or CHAR(2) it gives me error "ORA-02438: Column check constraint cannot reference other columns"
PLEASE HELP, I AM STUCK WITH THIS THING !!
Below is What I have written as a part of query :
Financial_Aid_Requested CHAR() NULL
CONSTRAINT CK3APPLICATION_INFO
CHECK (Financial_Aid_Requested IN (Y,N))
Thank you in advance.
I wonder why you use CHAR in the first place, why not VARCHAR2(1)?
You have to put Y and N between quotes:
create table mytab (
Financial_Aid_Requested VARCHAR2(1) NULL
CONSTRAINT CK3APPLICATION_INFO
CHECK (Financial_Aid_Requested IN ('Y','N'))
Similar Messages
-
Connect by - sql help : getting error ORA-01489: result of string concatena
here is an sql query and I am trying to cook a decode but since there are many columns invloved when I am trying to run this I am getting the following error:
ORA-01489: result of string concatenation is too long
Any kind of help is appreciated, I need to get this going otherwise I am dead :(
Regards
Rahul
SQL:
select sys_connect_by_path(c.decode_prep,'-') decode_prep
from (select 'DECODE(BIAPPS_11.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||','||'RAHULKALRA.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||',''1'',''0'')' decode_prep, rownum curr, rownum -1 prev
from (select rownum rn
from dual connect by rownum <=
(select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
- length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
from dual)) a, (select ','||'ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM'||',' all_cols from dual) b) c
start with curr = 1
connect by prior curr = prev
order by length(sys_connect_by_path(c.decode_prep,'-')) desc
same as above sql only difference is here I am pulling the first record from the result set which above query returns :
select ltrim(replace(decode_prep,'-','||'),'||') decode_prep
from (select sys_connect_by_path(c.decode_prep,'-') decode_prep
from (select 'DECODE(BIAPPS_11.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||','||'RAHULKALRA.'||substr(b.all_cols,instr(b.all_cols,',',1,a.rn)+1,instr(b.all_cols,',',1,a.rn+1)-instr(b.all_cols,',',1,a.rn)-1)||',''1'',''0'')' decode_prep, rownum curr, rownum -1 prev
from (select rownum rn
from dual connect by rownum <=
(select (length('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM')
- length(replace('ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM',',')))+1 total_cols
from dual)) a, (select ','||'ROW_WID,COST_CENTER_NUM,COST_CENTER_NAME,COST_CENTER_DESC,CONTROL_AREA_NUM,CONTROL_AREA_NAME,CATEGORY_CODE,CATEGORY_NAME,CATEGORY_DESC,MANAGER_NAME,CURRENCY_CODE,CURRENCY_NAME,LANGUAGE_CODE,LANGUAGE_NAME,ST_ADDRESS1,ST_ADDRESS2,POST_OFFICE_BOX,CITY_NAME,STATE_CODE,STATE_NAME,REGION_CODE,REGION_NAME,COUNTRY_CODE,COUNTRY_NAME,POSTAL_CODE,PHONE_NUM,FAX_NUM,CSCN_HIER1_CODE,CSCN_HIER1_NAME,CSCN_HIER2_CODE,CSCN_HIER2_NAME,CSCN_HIER3_CODE,CSCN_HIER3_NAME,CSCN_HIER4_CODE,CSCN_HIER4_NAME,CSCN_HIER5_CODE,CSCN_HIER5_NAME,CSCN_HIER6_CODE,CSCN_HIER6_NAME,ACTIVE_FLG,CREATED_BY_WID,CHANGED_BY_WID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,EFFECTIVE_FROM_DT,EFFECTIVE_TO_DT,DELETE_FLG,CURRENT_FLG,W_INSERT_DT,W_UPDATE_DT,DATASOURCE_NUM_ID,ETL_PROC_WID,INTEGRATION_ID,SET_ID,TENANT_ID,X_CUSTOM'||',' all_cols from dual) b) c
start with curr = 1
connect by prior curr = prev
order by length(sys_connect_by_path(c.decode_prep,'-')) desc)
where rownum = 1
Edited by: Mac_Freak_Rahul on Nov 28, 2012 1:31 AM : in the first sql ')'
removed after desc in the last line so now this query will run and throw an error.Clearly your error is because the string concatenation you are doing with sys_connect_by_path is exceeding the 4000 bytes permitted by SQL.
In that case you need to concatenate your data into a CLOB datatype, for which you'll need a CLOB aggregation function...
create or replace type clobagg_type as object
text clob,
static function ODCIAggregateInitialize(sctx in out clobagg_type) return number,
member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number,
member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number,
member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number
create or replace type body clobagg_type is
static function ODCIAggregateInitialize(sctx in out clobagg_type) return number is
begin
sctx := clobagg_type(null) ;
return ODCIConst.Success ;
end;
member function ODCIAggregateIterate(self in out clobagg_type, value in clob) return number is
begin
self.text := self.text || value ;
return ODCIConst.Success;
end;
member function ODCIAggregateTerminate(self in clobagg_type, returnvalue out clob, flags in number) return number is
begin
returnValue := self.text;
return ODCIConst.Success;
end;
member function ODCIAggregateMerge(self in out clobagg_type, ctx2 in clobagg_type) return number is
begin
self.text := self.text || ctx2.text;
return ODCIConst.Success;
end;
end;
create or replace function clobagg(input clob) return clob
deterministic
parallel_enable
aggregate using clobagg_type;
SQL> select trim(',' from clobagg(ename||',')) as enames from emp;
ENAMES
SMITH,ALLEN,WARD,JONES,MARTIN,BLAKE,CLARK,SCOTT,KING,TURNER,ADAMS,JAMES,FORD,MILLER
SQL> ed
Wrote file afiedt.buf
1 with t as
2 (select 'PFL' c1, 0 c2,110 c3 from dual union all
3 select 'LHL', 0 ,111 from dual union all
4 select 'PHL', 1, 111 from dual union all
5 select 'CHL', 2, 111 from dual union all
6 select 'DHL', 0, 112 from dual union all
7 select 'VHL', 1, 112 from dual union all
8 select 'CPHL', 0, 114 from dual union all
9 select 'WDCL', 1, 114 from dual union all
10 select 'AHL' ,2 ,114 from dual union all
11 select 'NFDL', 3, 114 from dual)
12 --
13 -- end of test data
14 --
15 select trim(clobagg(c1||' ')) as c1, c3
16 from (select * from t order by c3, c2)
17 group by c3
18* order by c3
SQL> /
C1 C3
PFL 110
LHL CHL PHL 111
DHL VHL 112
CPHL AHL NFDL WDCL 114 -
Please Help ------SVRMGR -ERROR - ORA-12538
PPL,
I am getting "MESSAGE 4505 NOT FOUND,NO MESSAGE FILE FOR PRODUCT=RDBMS,FACILITY=MGR ERROR WHILE TRYING TO RETRIEVE TEXT FOR ERROR ORA-12538" ...Can anyone help me with this ? I cannot connect to SVRMGR from cmd prompt.I wonder why you use CHAR in the first place, why not VARCHAR2(1)?
You have to put Y and N between quotes:
create table mytab (
Financial_Aid_Requested VARCHAR2(1) NULL
CONSTRAINT CK3APPLICATION_INFO
CHECK (Financial_Aid_Requested IN ('Y','N')) -
Please help have error code 1013 and can not restore iphone 3gs
i have tried every thing i can find to restore 3gs and no luck
tried 4 different computers and 3 cables and all the usb ports on the computers
i have even tried the gs.apple.com fix and no go.. am at a loss on what to do next any help
would be great thank you allEvery time I restore I get a different code last 2 times I have gotten code 1002
And 1013 a few times.
Error 1002 usually means a hardware problem. If you've tried several known working cables, the problem is likely in thte phone itself.
+"Error 23, 28, 29, 40, 1002, 1011, 1012, 1014, 1611: These errors may indicate a hardware issue with your device. Follow the steps in this article and also attempt to restore while connected with a known-good 30-pin Dock Connector cable, computer, and network to isolate this issue to the device. If the MAC address is missing or the IMEI is the default value (00 499901 064000 0), this can also confirm a hardware issue."+ -
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-20001: FLEX-ID DOES NOT EXIST
I am trying to load new jobs.. I have run the fnd_flex_val_api.create_independent_vset_value to load the values into the segments needed.. NREL HR Job Title and NREL HR Job Descriptor and the values are in there.
I'm getting this in the hr_job_api.create_job api. thanks, Scott
Edited by: user12036380 on Aug 26, 2010 3:18 PMHi,
What is the application release?
Please see if these docs help.
Error 'ORA-20001: FLEX-ID Does Not Exist' In HR_POSITIONS_API While Loading Positions [ID 790124.1]
HR_ASSIGNMENT_EXTRA_INFO_API.UPDATE_ASSIGNMENT_EXTRA_INFO Errors with 'ORA-20001: FLEX-ID DOES NOT EXIST' [ID 1163457.1]
HR_IN_PERSONAL_PAY_METHOD_API Error Ora-20001 Flex-Id Does Not Exist [ID 834844.1]
Cannot Create Employee Via API - FLEX-ID DOES NOT EXIST Error Occurs [ID 554850.1]
Thanks,
Hussein -
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 -
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 -
Please help! I have photoshop and iphoto does not show it in my preferences edit window. How do I get it as an option in my preferences.
I tried it and nothing changed. Even when I right click on an indiviual image all it does is duplicate it. Iphoto seems to be recognizing my external hard drive as an editor......cannot get photoshop except to drag a picture into photoshop from iphoto, and once I have worked on it and saved it to iphoto I cant find it anywhere.
-
iitWhen syncing my iPhone the storage says OTHER what is other and how do you delete it or make it smaller my 16g phone has 3G of other please help get rid of it
The following has some information that may help: http://osxdaily.com/2013/07/24/remove-other-data-storage-iphone-ipad/
-
I have been getting errors in Itunes and it said to redownload it. I started to download and get a error that says "Service 'apple mobile device' failed to start. Verify that you have sufficient privileges to start system services" .
What does this mean and how do I verify what they are asking me to verify???Hi annibu757,
If you are having issues with iTunes after an attempted update, you may find the following article helpful:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Regards,
- Brenden -
Please help! - My computer crashed and I need help reinstalling my CS3 software
Please help! My computer crashed and now I am trying to reistall my CS3 software. I'm receiving Unable to Install errors for all of the programs in the Suite except the Acrobat 8 Professional. Can someone please help me? I cannot afford to upgrade, but need this software to do freelance work. I own the software and serial number but Adobe will not support me as it is an older version.
I downloaded and ran the Creative Suite Cleaner Tool. It showed no files to remove, but still said it was successful. I then tried reinstalling the entire suite. Acrobat 8 Professional was the only program that installed. All other programs gave me a componant failed error. Any other advice would be greatly appreciated?!
Thanks -
Please Help - "page error" / a system error occurred
I am very basic with Coldfusion Developed websites and pretty awesome on HTML and PHP. While working on a website I made an HTML change and added a line to a page. All works well on the test website/server but after uploading the changed page the page went offline/errored a day later.
I have an error receipt and am hoping to resolve this issue with some insight from a good Coldfusion Developer or Programmer.
PLEASE HELP, see error below.
A system error occurred: http://www.mix.co.zm/mix_schools.cfm?
Error - struct
Detail Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. <br> Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
Message Could not find the included template components/mix_documents2.cfm.
MissingFileName components/mix_documents2.cfm
StackTrace coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException: Could not find the included template components/mix_documents2.cfm. at coldfusion.tagext.lang.IncludeTag.setTemplate(IncludeTag.java:349) at cfmix_schools2ecfm527774291.runPage(D:\hshome\mixnet\mix.co.zm\mix_schools.cfm:15) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:360) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorFilter.i(FusionReactorFilter.java:566) at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:258) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java: 164) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
TagContext Error - array
1 Error - struct
COLUMN 0
ID CFINCLUDE
LINE 15
RAW_TRACE at cfmix_schools2ecfm527774291.runPage(D:\hshome\mixnet\mix.co.zm\mix_schools.cfm:15)
TEMPLATE D:\hshome\mixnet\mix.co.zm\mix_schools.cfm
TYPE CFML
TagName CFINCLUDE
Type MissingIncludeWith LR closed move the preferences file to the Trash as described at the below link. You will lose your Preferences settings, so you may want to record them if unsure what you have changed from the default settings.
http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom
DO NOT RESTART LR!
Next uninstall LR and then completely shutdown your system and turn the power OFF. Your catlog(s) will not be removed, so no worries.
Restart your system and reinstall LR using the latest version download available (LR5.4, LR4.4).
What version of LR and OS X are you using? -
Installing RCU 11.1.1.6 Getting error Unknown Master and Work Repository
Hi All,
While installing RCU 11.1.1.6 I am getting error "unknown Master and Work Repository"
could any one please tell me the solution for this
Thanks
Kumarmake sure you have selected right option under 'select component'.
If you want only OIM.
click on (+) sign of Identity Management and then tick the Oracle Identity Manager option.
Maybe you are looking for
-
ITunes wont delete, needs re-install but keep getting error message.
I have a Dell XPS M1710 and running the latest version of iTunes. Well, I had a problem with the DVD drive in the laptop and one of the tech guys edited the registry remotely and re-installed the DVD drive. Now iTunes is showing this error message wh
-
Materialized View, ORA-12008: error in materialized view refresh path
I want to refresh a materialized view, but I get an ORA-12008 error. Does anybody have an idea? I do not find any errors in my refresh statement. CREATE MATERIALIZED VIEW scott.dummy_mv TABLESPACE test BUILD IMMEDIATE USING INDEX TABLESPACE idx
-
One of our users has this issue that seems to crop up. She is being sent an AI file from another user who is running AI version 13.0.2. The user who gets the file is on version 13.0.0. The error that she keeps getting is.... "Can't finish previewing.
-
Creating HTTPS Service in AS ABAP
Hi, experts, I'm an ABAPer, I have a question that how can I create HTTPS service in AS ABAP? I've created HTTPS service with transaction code SMICM, but system notices me each time 'WARNING: Your changes will be lost when you restart the ICM'. Doe
-
CRS Historical reports - Migration
Hello, I have a customer with CRS 4.0(2) and has been recently upgraded to CRS 4.0(5) on a different server. Is it possible to dump the data regarding historical reports to the new server somehow? I don't have the installation CDs of 4.0(2) it is not