Oracle instance is running but sqlplus "/as sysdba" says connected to idle.
Hi,
Oracle RAC is running(started the RAC using "srvctl start database -d hacmp") but when i am trying to connect to database using sqlplus "/as sysdba" it says "connected to idle instance".
Any idea what could be the issue here?
I have ORACLE_SID exported.
bash-3.00$ ps -ef | grep pmon
oracle 507946 798870 0 17:23:42 pts/0 0:00 grep pmon
oracle 872584 1 0 17:03:16 - 0:00 ora_pmon_hacmp1
bash-3.00$ echo $ORACLE_HOME
/u01/app/oracle/
bash-3.00$
bash-3.00$ echo $ORACLE_SID
hacmp1
bash-3.00$
bash-3.00$
bash-3.00$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Sep 14 17:24:43 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL
It's not a SQL*Plus bug but a Oracle feature: when you try to connect to a local Oracle instance Oracle computes the shared memory key (used by the instance SGA) using ORACLE_HOME and ORACLE_SID: if you add a character to ORACLE_HOME, the shared memory key will be different and Oracle does not find the instance and says "connected to an idle instance".
Similar Messages
-
Update available for firefox 3.6.12 but won't install;says connection timed out
I've had firefox 3.6.12 for a couple of months. it says an upgrade is available, but won't install. says connection timed out. I tried it from IE 8 as well, same result. Took me a half our just to get to mozilla.com I installed IE 8 2 days ago, and since then, my monitor flashes the page when i'm in gmail. Also flash videos won't play worth a crap. I just installed K-lite Mega 6.6 to try to fix that.
I wonder if it's not some of the newer technologies like HTML 5 that the other browsers support. I have the same problem, and the sites load fine in Opera. I still have 3.6 (whatever's latest), and haven't upgraded to 4 yet because of all the extensions I use. I'm waiting until it's more stable and my more important extensions are usable. I use Hulu's desktop viewer and Opera to make up for it, currently.
Adding screenshots of my experience with it. The text will load, but no video or images. That's why I thought it might be some new language / protocol. -
I just restored my iPhone 4s and backed up my information from my computer. It is making me set it up from the beginning every time and I can't get into my phone even though all my information is on the phone. What am I doing wrong?
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once...
Be sure to Follow ALL the Steps... -
Why sqlplus / as sysdba create 4 connections?
Hi all,
I have a 4 node rac set-up running 11.2.0.2.
If I log on to one of the 4 servers and connect to the database using sqlplus "/ as sysdba" it connects to the local database but also
creates another 4 connections (one on each instance) so I end up with 5 connections. I wanted to know
a) why it does this,
b) how it does this
c) can I stop it doing this (if I just so wanted to?)
Many thanksHi Billy,
your response made me dig a bit deeper, and I found out what it was!
My query to return sessions was from gv$session, and I was using the gv$session.module column to show the connection.
However, if I changed this from module to gv$session, it returned the oracle PZ99 process.
Looking on Metalink, I see this process is used to return data from remote nodes and was introduced in 10g RAC.
Looking at the columns together, you will see way I thought the way I did originally!
Inst SID SERIAL# USERNAME MODULE PROGRAM
1 35 17861 SYS sqlplus@db01 (TNS V1-V3) sqlplus@db01 (TNS V1-V3)
3 324 34635 SYS sqlplus@db01 (TNS V1-V3) oracle@db03 (PZ99)
2 320 46165 SYS sqlplus@db01 (TNS V1-V3) oracle@db02 (PZ99)
1 641 36247 SYS sqlplus@db01 (TNS V1-V3) oracle@db01 (PZ99)
4 639 39893 SYS sqlplus@db01 (TNS V1-V3) oracle@db04 (PZ99)Thanks -
ORACLE instance terminated. Disconnection forced
Hi,
When I am trying to login , it is throwing "ORACLE instance terminated. Disconnection forced"
Below is the message logged in ALERT Log
Completed: ALTER ROLLBACK SEGMENT RBSL1 OFFLINE
Sun Jun 23 00:42:35 2013
Errors in file D:\HA_salesupp\Dump_files\ssdtCKPT.TRC:
ORA-00206: Message 206 not found; No message file for product=RDBMS, facility=ORA; arguments: [3] [1]
ORA-00202: Message 202 not found; No message file for product=RDBMS, facility=ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2.CON]
ORA-27072: Message 27072 not found; No message file for product=RDBMS, facility=ORA
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.
Sun Jun 23 00:42:36 2013
Errors in file D:\HA_salesupp\Dump_files\ssdtCKPT.TRC:
ORA-00221: Message 221 not found; No message file for product=RDBMS, facility=ORA
ORA-00206: Message 206 not found; No message file for product=RDBMS, facility=ORA; arguments: [3] [1]
ORA-00202: Message 202 not found; No message file for product=RDBMS, facility=ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2.CON]
ORA-27072: Message 27072 not found; No message file for product=RDBMS, facility=ORA
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.
Sun Jun 23 00:42:36 2013
CKPT: terminating instance due to error 221
Sun Jun 23 00:42:39 2013
Errors in file D:\HA_salesupp\Dump_files\ssdtDBW0.TRC:
ORA-00221: Message 221 not found; No message file for product=RDBMS, facility=ORA
Sun Jun 23 00:42:39 2013
Errors in file D:\HA_salesupp\Dump_files\ssdtPMON.TRC:
ORA-00221: Message 221 not found; No message file for product=RDBMS, facility=ORA
Instance terminated by CKPT, pid = 78
Please let me know whether I can directly start the services using "net start <myservicesName>" or any other steps need to be followed.I could see the Oracle Instance is running in the services.msc but when I am trying to connect it throwing "ORACLE instance terminated. Disconnection forced". As I am not able to connect, I was not able to query v$instance.
Below are the log file CKPT.TRC and DBW0.TRC
CKPT.TRC
Dump file D:\HA_salesupp\Dump_files\ssdtCKPT.TRC
Sun Jun 23 00:42:35 2013
ORACLE V8.1.7.2.1 - Production vsnsta=0
vsnsql=f vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Oracle8i Release 8.1.7.2.1 - Production
JServer Release 8.1.7.2.1 - Production
Windows NT Version 4.0 Service Pack 6, CPU type 586
Instance name: ssdt
Redo thread mounted by this instance: 1
Oracle process number: 5
Windows thread id: 78, image: ORACLE.EXE
*** SESSION ID:(4.1) 2013-06-23 00:42:35.748
*** 2013-06-23 00:42:35.748
ksedmp: internal or fatal error
ORA-00206: Message 206 not found; No message file for product=RDBMS, facility=ORA; arguments: [3] [1]
ORA-00202: Message 202 not found; No message file for product=RDBMS, facility=ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2.CON]
ORA-27072: Message 27072 not found; No message file for product=RDBMS, facility=ORA
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file.
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
_ksedmp+a8 CALLrel _ksedst+0
FBEBCC
_kccwbp+369 CALLrel _ksedmp+0 2
_kccpcp+92 CALLrel _kccwbp+0
0276BC
E026600
26 7
_kctrcp+309 CALLrel _kccpcp+0 1
13BF770
_kcvcca+182 CALLrel _kctrcp+0
_ksbcti+88 CALLreg 00000000
_ksbabs+1af CALLrel _ksbcti+0
810E8
DFBEF54
_ksbrdp+1b6 CALLreg 00000000
3BF908
_opirip+234 CALLrel _ksbrdp+0
_opidrv+549 CALLrel _opirip+0 32 0
0
_sou2o+19 CALLrel _opidrv+0
_opimai+152 CALLrel _sou2o+0
FBFE30
32 0
0
_BackgroundThreadStart@4+127 CALLrel _opimai+0 3
DFBFF7C
77F04EDB CALLreg 00000000
----- Argument/Register Address Dump -----
Argument/Register addr=dfbebcc.
----- End of Call Stack Trace -----
===================================================
Files currently opened by this process:
===================================================
PROCESS STATE
Process global information:
process: 6a006c8, call: 6a2d51c, xact: 0, curses: 6a0e6f8, usrses: 6a0e6f8
SO: 6a006c8, type: 1, owner: 0, pt: 0, flag: INIT/-/-/0x00
(process) Oracle pid=5, calls cur/top: 6a2d51c/6a2d51c, flag: (2) SYSTEM
int error: 0, call error: 0, sess error: 0, txn error 0
(post info) last post received: 0 0 13
last post received-location: ksasnd
last process to post me: 6a01368 5 0
last post sent: 67 0 4
last post sent-location: kslpsr
last process posted by me: 6a01368 5 0
(latch info) wait_event=0 bits=0
Process Group: DEFAULT, pseudo proc: 6a094e4
O/S info: user: SYSTEM, term: NTS4_005, ospid: 78
OSD pid info: 78
SO: 6a65ac4, type: 9, owner: 6a006c8, pt: 0, flag: INIT/-/-/0x00
(broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 6a006c8,
event: 4, last message event: 9, messages read: 1
channel: (6a6608c) scumnt mount lock
scope: 101, event: 9, last mesage event: 9,
publishers/subscribers: 0/7,
messages published: 1
SO: 6a0e6f8, type: 3, owner: 6a006c8, pt: 0, flag: INIT/-/-/0x00
(session) trans: 0, creator: 6a006c8, flag: (51) USR/- BSY/-/-/-/-/-
DID: 0001-0005-00000003, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 0, prv: 0, user: 0/SYS
last wait for 'control file parallel write' blocking sess=0x0 seq=11662 wait_time=1
files=2, blocks=2, requests=2
SO: 6a65b3c, type: 9, owner: 6a006c8, pt: 0, flag: INIT/-/-/0x00
(broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 6a006c8,
event: 5, last message event: 5, messages read: 0
channel: (6a65fac) system events broadcast channel
scope: 101, event: 13, last mesage event: 0,
publishers/subscribers: 0/7,
messages published: 0
SO: 6a2d51c, type: 2, owner: 6a006c8, pt: 0, flag: INIT/-/-/0x00
(call) sess: cur 6a0e6f8, rec 0, usr 6a0e6f8; depth: 0
===================================================
CURRENT SESSION'S INSTANTIATION STATE
current session=6a0e6f8
******************** Cursor Dump ************************
Current cursor: 0, pgadep: 0
Cursor Dump:
End of cursor dump
END OF PROCESS STATE
error 221 detected in background process
ORA-00221: Message 221 not found; No message file for product=RDBMS, facility=ORA
ORA-00206: Message 206 not found; No message file for product=RDBMS, facility=ORA; arguments: [3] [1]
ORA-00202: Message 202 not found; No message file for product=RDBMS, facility=ORA; arguments: [D:\HA_SALESUPP\CONTROL_FILES\SSDT2.CON]
ORA-27072: Message 27072 not found; No message file for product=RDBMS, facility=ORA
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because
another process has locked a portion of the file
dbw0.trc
Dump file D:\HA_salesupp\Dump_files\ssdtDBW0.TRC
Sun Jun 23 00:42:39 2013
ORACLE V8.1.7.2.1 - Production vsnsta=0
vsnsql=f vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Oracle8i Release 8.1.7.2.1 - Production
JServer Release 8.1.7.2.1 - Production
Windows NT Version 4.0 Service Pack 6, CPU type 586
Instance name: ssdt
Redo thread mounted by this instance: 1
Oracle process number: 3
Windows thread id: 33, image: ORACLE.EXE
*** 2013-06-23 00:42:39.404
*** SESSION ID:(2.1) 2013-06-23 00:42:37.966
error 221 detected in background process
ORA-00221: Message 221 not found; No message file for product=RDBMS, facility=ORA -
Database running but crs_stat showing its OFFLINE
Yesterday, when I checked database and all RAC components status with crs_stat -t command, I saw database as offline although database and both of its instances are up and already running.
oracle@hisdbs01[orcl1]:/u01/app/oracle/db/network/admin$ crs_stat -t
HA Resource Target State
ora.hisdbs01.ASM1.asm ONLINE ONLINE on hisdbs01
ora.hisdbs01.LISTENER_HISDBS01.lsnr ONLINE ONLINE on hisdbs01
ora.hisdbs01.gsd ONLINE ONLINE on hisdbs01
ora.hisdbs01.ons ONLINE ONLINE on hisdbs01
ora.hisdbs01.vip ONLINE ONLINE on hisdbs01
ora.hisdbs02.ASM2.asm ONLINE ONLINE on hisdbs02
ora.hisdbs02.LISTENER_HISDBS02.lsnr ONLINE ONLINE on hisdbs02
ora.hisdbs02.gsd ONLINE ONLINE on hisdbs02
ora.hisdbs02.ons ONLINE ONLINE on hisdbs02
ora.hisdbs02.vip ONLINE ONLINE on hisdbs02
ora.orcl.db OFFLINE OFFLINE
ora.orcl.orcl1.inst OFFLINE OFFLINE
ora.orcl.orcl2.inst OFFLINE OFFLINE
Then I had to use srvctl start commands to see ora.orcl.db, ora.orcl.orcl1.inst & ora.orcl.orcl2.inst ONLINE.
I want to know how it is possible that Oracle instances are running (checked from ps & EM) but crs_stat thinks they are offline.
I checked alert logs of crs, ocssd.logs but could not find anything significant.
Br,
AnjumCurrently crs_stat -t--v gives output as below:
oracle@hisdbs01[orcl1]:/home/oracle$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE hisdbs01
ora....01.lsnr application 0/5 0/0 ONLINE ONLINE hisdbs01
ora....s01.gsd application 0/5 0/0 ONLINE ONLINE hisdbs01
ora....s01.ons application 0/3 0/0 ONLINE ONLINE hisdbs01
ora....s01.vip application 0/0 0/0 ONLINE ONLINE hisdbs01
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE hisdbs02
ora....02.lsnr application 0/5 0/0 ONLINE ONLINE hisdbs02
ora....s02.gsd application 0/5 0/0 ONLINE ONLINE hisdbs02
ora....s02.ons application 0/3 0/0 ONLINE ONLINE hisdbs02
ora....s02.vip application 0/0 0/0 ONLINE ONLINE hisdbs02
ora.orcl.db application 0/1 0/1 ONLINE ONLINE hisdbs01
ora....l1.inst application 0/5 0/0 ONLINE ONLINE hisdbs01
ora....l2.inst application 0/5 0/0 ONLINE ONLINE hisdbs02
Do you mean to see with -v switch when resources were shown offline by crs_stat?
I didn't change anything related to CRS or database, so I am not sure if modifying config of database or instance will help. Any suggestions?
oracle@hisdbs01[orcl1]:/home/oracle$ srvctl getenv database -d orcl
oracle@hisdbs01[orcl1]:/home/oracle$ srvctl getenv instance -d orcl -i orcl1
About OCR, here is the info
oracle@hisdbs01[orcl1]:/backup$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 1048300
Used space (kbytes) : 3848
Available space (kbytes) : 1044452
ID : 482125817
Device/File Name : /dev/rdisk/crs_ocr1
Device/File integrity check succeeded
Device/File Name : /dev/rdisk/crs_ocr2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
oracle@hisdbs01[orcl1]:/home/oracle$ ocrconfig -showbackup
hisdbs02 2008/09/17 09:23:24 /u01/app/oracle/crs/cdata/crs
hisdbs02 2008/09/17 05:23:23 /u01/app/oracle/crs/cdata/crs
hisdbs02 2008/09/17 01:23:23 /u01/app/oracle/crs/cdata/crs
hisdbs02 2008/09/15 17:23:18 /u01/app/oracle/crs/cdata/crs
hisdbs02 2008/09/05 07:54:55 /u01/app/oracle/crs/cdata/crs
Br,
Anjum -
Running but dialog queue info unavailable,j2ee status info unavailable
HI ,
We have a solution manager instance.It has both java and abap. The problem now is The dispatcher in the processlist is displaying the error " the instance is running but dialog queue info unavailable,j2ee status info unavailable " and the instance status is staying in yellow color.
Guys anyone can suggest me regarding this issue..
Thanks in advance,
Chandana.Hi,
Please check whether user id SAPJSF is locked or not. If it is not locked the please check below trace files dev_dispatcher,std_server#.out,dev_jcontrol,std_dispatcher.out.
Also refer SAP note 723909 - Java VM settings for J2EE 6.40/7.0
Below thread may help you.
J2EE status info unavailable
Thanks,
Sushil -
Database is up and running but when I connect as oracle it's idle?
Hi experts,
I have a strange kind of problem. I installed Oracle10 on UNIX.
When I connect to the Database remotely I am on a perfect working database but when I am connected directly on the machine via Oracle user, and run SQLPLUS I am connected to an idle instance. Also I can not startup this instance because I of 'ORA-01102: cannot mount database in EXCLUSIVE mode'.
when I run SQLPLUS useing the '@' condition I am connected correctly.
I checked SID settings and so on but it looks fine. I also only have one instance installed (I hope!).
Any ideas?
Thanks
FloHi,
I run the suggested ceckes and attached you my results below:
Please note that I had to replace the hostname/passwords due to security reasons with a spaceholder. (;
oracle@] /home/oracle > cat /etc/oratab
root@<Host>_ECR: / > ps -ef | grep ECR
oracle 278554 1 0 15:04:58 - 0:00 ora_q001_ECR
oracle 319680 1 0 15:04:59 - 0:00 oracleECR (LOCAL=NO)
root 397390 1634448 0 09:19:33 pts/0 0:00 grep ECR
oracle 418028 1 0 15:04:43 - 0:00 ora_dbw0_ECR
oracle 495674 1 0 17:03:21 - 0:00 ora_dbw0_ECR
oracle 499716 1 0 15:04:43 - 0:00 ora_psp0_ECR
oracle 569560 1 0 15:04:48 - 0:00 ora_qmnc_ECR
oracle 577564 1 0 15:05:46 - 0:00 oracleECR (LOCAL=NO)
oracle 639186 1 0 Apr 21 - 0:13 /oracle/ECR/102_64/bin/tnslsnr LEAlistener -inherit
oracle 1437730 1 0 09:09:57 - 0:00 oracleECR (LOCAL=NO)
oracle 1450066 1 0 17:03:21 - 0:06 ora_pmon_ECR
oracle 1470680 1 0 15:04:43 - 0:02 ora_smon_ECR
oracle 1491084 1 0 15:04:43 - 0:10 ora_mmnl_ECR
oracle 1503234 1 0 17:03:21 - 0:00 ora_mmnl_ECR
oracle 1519658 1 0 17:03:21 - 0:00 ora_psp0_ECR
oracle 1552454 1 0 15:04:43 - 0:04 ora_mmon_ECR
oracle 1560652 1 0 15:04:43 - 0:00 ora_mman_ECR
oracle 1573098 1 0 17:03:21 - 0:00 ora_mmon_ECR
oracle 1589450 1 0 17:03:21 - 0:00 ora_smon_ECR
oracle 1605798 1 0 15:04:43 - 0:00 ora_lgwr_ECR
oracle 1609876 1 0 15:04:43 - 0:08 ora_pmon_ECR
oracle 1613844 1 0 17:03:21 - 0:00 ora_lgwr_ECR
oracle 1630416 1 0 15:04:48 - 0:00 ora_arc1_ECR
oracle 1638450 1 0 15:04:58 - 0:00 ora_q000_ECR
oracle 1646726 1 0 15:04:48 - 0:00 ora_arc0_ECR
oracle 1654972 1 0 15:06:15 - 0:13 oracleECR (LOCAL=NO)
oracle 1659008 1 0 17:03:21 - 0:00 ora_mman_ECR
oracle 1675264 1 0 09:09:22 - 0:00 oracleECR (LOCAL=NO)
oracle 1683528 1 0 17:03:21 - 0:00 ora_reco_ECR
oracle 1687780 1 0 15:04:43 - 0:00 ora_reco_ECR
oracle 1712132 1 0 17:03:21 - 0:00 ora_ckpt_ECR
oracle 1777898 1 0 15:04:43 - 0:03 ora_ckpt_ECR
=========================================================
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
ECR:/oracle/ECR/102_64:N
*:/oracle/ECR/102_64:N
->When I checked oratab it had no entries, so I added the ORACLE_HOME
=========================================================
oracle@] /home/oracle > tnsping ECR_<Host>.world
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Production on 08-MAY-2008 09:15:26
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/ixos/sw/config/oracle/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = <Host>) (Port = 9027))) (CONNECT_DATA = (SE
RVICE_NAME = ECR_<Host>.world) (INSTANCE_NAME = ECR)))
OK (10 msec)
=========================================================
Below you can see my problem...
oracle@] /home/oracle > sqlplus system/****@ECR_<Host>.world
SQL*Plus: Release 10.2.0.2.0 - Production on Thu May 8 09:16:51 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
oracle@] /home/oracle > sqlplus system/****
SQL*Plus: Release 10.2.0.2.0 - Production on Thu May 8 09:17:05 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Enter user-name: -
VSS-00011: Connection to database instance <instance_name> failed.
Cause : The user account in which the Oracle VSS Writer Service is running does not have the DBA privileges to log in to the Oracle instance.
Action : Run the Oracle VSS Writer Service in a user account that can connect to the Oracle instance with DBA privileges.
I have assigned ora_dba group to the user that runs the Oracle VSS Writer Service which is the only Oracle solution but still getting
the above error. Was advised to raise the issue here that it is an OS issue. Pls helpThe user account cannot access Oracle Database instance. And also how do you temporarily disable security software on the server.
Have you checked what I already asked for? "Try using the user account and access the Database Instance.
That will let you see if the problem is with the user account permissions or not."
If this does not help then you can contact Oracle as suggested by Dave.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
Oracle instance running on a system with low open file descriptor
Hello.
We have 10.1.0.4 on SuSE 9 on x86 64bit Sun servers.
We have databases that if started manually come up without the warning, but if started via a shell script scheduled through a crontab start up with this warning: "Oracle instance running on a system with low open file descriptor".
My understanding is that it has to do with OS ulimit. it appears that non-interactive shell (crontab) does not set the nofiles at 65536.
All our system are set up exactly the same way. The problem is, though, that some systems do not report the warning even when started non-interactively.
My question is this: assuming my nofiles ulimit is in fact too low on all systems, why would some systems report the warning and others would not? Is there anything database specific the instance looks for when it starts, such as the number of datafiles in the database, instance memory size, etc..., which would make the instance warn in some cases but not the others?
Thank You
BorisThank You Satish.
This is a good reference and we may end up looking into the patch bundle associated with the bug.
But does anyone have any idea why the systems that are set up the same exact way would warn on systems and not on others?
Also, the Metalink note talks about init.crsd. I have not build an association between this inconsistency and RAC.
What I do see is that if we start up our database non-interactively (where ulimit -n resolves to 1024, instead of 65536) the warning is generated, in some cases.
Perhaps, the 1024 is too low. But then my question is why would Oracle think it is too low only on some servers and not all?
Boris -
Unable to connect to Oracle using OS authentication (sqlplus / as sysdba)
Hello,
When I try to connect locally ,using OS authentication ( sqlplus / as sysdba ), on a Oracle database, I get "ORA-01031: insufficient privileges" error.
OS: Windows XP
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
connecting as sysdba using sys/pasword works.
I have setup :
-> Log on as a batch job
-> Log on as a service
I am also member of ORA_DBA group.
I mention that connecting "/ as sysdba" worked many months after I've installed the Oracle database. But at some moment in time connecting "/ as sysdba" was no longer possible.
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.1.0.3.0 - Production on Wed May 23 11:08:52 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges.
Thank you for any suggestion.Hi,
I have the same issues from the beginning..
I have two Oracle homes ( One for earlier installed SOA10g, and another for current installing SOA11g).
I have the right sqlora.net file. I have removed the old path and reset to point the new oracle home. I have this home entry as the first entry in my Universal installer too.
I AM ABLE TO CONNECT WITH sys USER AS SYSDBA on THE SAME SYSTEM ( I MEAN WHERE i INSTALLED THE DATABASE) USING THE command prompt.
But I am not able to connect as the SYSDBA with sys ACCOUNT through the SQLDeveloper tool. or RCU tool? Any help please. Again I am able to connect as a normal user through the SQL developer using the SYSTEM account.
-- Khaleel -
Running HTMLDB against another Oracle Instance
I have an HTMLDB dashboard onto our system and would like to be able to run it against a different Oracle instance. Ideally would like to be able to choose the instance on the login screen. Currently we have to setup dblinks to each of our instances and then customise the application to select from the relevant instance. Any ideas?
AFAIK, Golden Gate has no requirement on Oracle edition to be used, but could have licence cost differences.
It works on Oracle from version 8i to the latest one, not only on Oracle database, and not only between same Oracle version and same OS, and not only between two Oracle db .
Nicolas. -
WARNING:Oracle instance running on a system with low open file
Hi Guys
please can you advice on how to resolve this error: WARNING:Oracle instance running on a system with low open fileAnswer a couple of questions for us first:
1. What version of Oracle (ex. 10.2.0.3) are you running?
2. What operating system is Oracle installed on?
3. Where did this error show up (alert log, SQL*Plus session, etc.)?
Tom -
Use of sqlplus / as sysdba in oracle 11g
What is purpose of sqlplus / as sysdba
if the database is at client place he can see the data by modifying the existing users password right?
how to restrict logging under sqlplus / as sysdba by giving some password for it to login933663 wrote:
How to track the no of log-in attempts made for this database either success or failure.
Any sys table is there to track the records
Thanks!Unless you have changed the defaults, all connect attempts by normal users are logged to the sys.ayd$ table, and all connects as sysdba are logged to files in audit_file_dest (Unix) or the application log (Windows).
Edited by: JohnWatson on Jan 24, 2013 9:56 AM
Typo: for ayd$ read aud$ -
Database creation // ORA-01092: ORACLE instance terminated. Disconnection f
hi',
i am trying to create a new database on my fedora 8 system (personal desktop not a remote system) using oracle 10g. But as soon
as i use script to create the database i get " ORA-01092: ORACLE instance terminated. Disconnection forced" error.
following information will help you analyse the problem. i am writing down all the steps i am doing and sending the alertlog file as well. i also have created all the folder's required for new database.
logging to terminal:
$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
$ export ORACLE_SID=vc1
$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jan 5 17:14:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:
Connected to an idle instance.
SQL> STARTUP NOMOUNT PFILE='/u01/app/oracle/product/10.2.0/db_1/dbs/initvc1.ora'
ORACLE instance started.
THEN I AM RUNNING FOLLOWING SCRIPT
SQL> create database vc1
2 user sys identified by varun
3 user system identified by varun
4 maxinstances 1
5 maxloghistory 1
6 maxlogfiles 5
7 maxlogmembers 5
8 character set US7ASCII
9 national character set AL16UTF16
10 datafile 'u01/app/oracle/oradata/vc1/system01.dbf' size 500M
11 extent management LOCAL
12 SYSAUX datafile '/u01/app/oracle/oradata/vc1/sysaux01.dbf' size 500M
13 DEFAULT TEMPORARY tablespace temp01
14 tempfile '/u01/app/oracle/oradata/vc1/temp01.dbf' size 100M
15 UNDO tablespace undotbs_01
16 datafile '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
17 DEFAULT tablespace users
18 datafile 'u01/app/oracle/oradata/vc1/user01.dbf' size 100M
19 LOGFILE group 1
20 ('/u01/app/oracle/oradata/vc1/redo01.log') size 100M,
21 group 2
22 ('/u01/app/oracle/oradata/vc1/redo02.log') size 100M;
create database vc1
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
****THIS IS MY ALERTLOG FILE***
Sat Jan 5 17:16:20 2008
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
sga_target = 197132288
control_files = /u01/app/oracle/oradata/vc1/control01.ctl, /u01/app/oracle/oradata/vc1/control02.ctl, /u01/app/oracle/oradata/vc1/control03.ctl
db_block_size = 8192
compatible = 10.2.0.1.0
log_archive_dest = /u01/app/oracle/arch'
log_archive_format = log%t_%s_%r.arc
db_file_multiblock_read_count= 16
db_recovery_file_dest = /u01/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= NONE
db_domain =
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/vc1/bdump
user_dump_dest = /u01/app/oracle/admin/vc1/udump
core_dump_dest = /u01/app/oracle/admin/vc1/cdump
audit_file_dest = /u01/app/oracle/admin/vc1/adump
db_name = vc1
open_cursors = 300
pga_aggregate_target = 65011712
PMON started with pid=2, OS id=2640
PSP0 started with pid=3, OS id=2642
MMAN started with pid=4, OS id=2644
DBW0 started with pid=5, OS id=2646
LGWR started with pid=6, OS id=2648
CKPT started with pid=7, OS id=2650
SMON started with pid=8, OS id=2652
RECO started with pid=9, OS id=2654
CJQ0 started with pid=10, OS id=2656
MMON started with pid=11, OS id=2658
MMNL started with pid=12, OS id=2660
Sat Jan 5 17:20:59 2008
create database vc1
user sys identified by user system identified by maxinstances 1
maxloghistory 1
maxlogfiles 5
maxlogmembers 5
character set US7ASCII
national character set AL16UTF16
datafile 'u01/app/oracle/oradata/vc1/system01.dbf' size 500M
extent management LOCAL
SYSAUX datafile '/u01/app/oracle/oradata/vc1/sysaux01.dbf' size 500M
DEFAULT TEMPORARY tablespace temp01
tempfile '/u01/app/oracle/oradata/vc1/temp01.dbf' size 100M
UNDO tablespace undotbs_01
datafile '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
DEFAULT tablespace users
datafile 'u01/app/oracle/oradata/vc1/user01.dbf' size 100M
LOGFILE group 1
('/u01/app/oracle/oradata/vc1/redo01.log') size 100M,
group 2
('/u01/app/oracle/oradata/vc1/redo02.log') size 100M
Sat Jan 5 17:21:00 2008
Database mounted in Exclusive Mode
Sat Jan 5 17:21:09 2008
Successful mount of redo thread 1, with mount id 613891643
Assigning activation ID 613891643 (0x24973e3b)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /u01/app/oracle/oradata/vc1/redo01.log
Successful open of redo thread 1
Sat Jan 5 17:21:09 2008
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sat Jan 5 17:21:09 2008
SMON: enabling cache recovery
Sat Jan 5 17:21:09 2008
create tablespace SYSTEM datafile 'u01/app/oracle/oradata/vc1/system01.dbf' size 500M
EXTENT MANAGEMENT LOCAL online
Sat Jan 5 17:21:09 2008
ORA-1119 signalled during: create tablespace SYSTEM datafile 'u01/app/oracle/oradata/vc1/system01.dbf' size 500M
EXTENT MANAGEMENT LOCAL online
Sat Jan 5 17:21:09 2008
Errors in file /u01/app/oracle/admin/vc1/udump/vc1_ora_2661.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'u01/app/oracle/oradata/vc1/system01.dbf'
ORA-27040: file create error, unable to create file
Linux Error: 2: No such file or directory
Sat Jan 5 17:21:09 2008
Errors in file /u01/app/oracle/admin/vc1/udump/vc1_ora_2661.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 861
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'u01/app/oracle/oradata/vc1/system01.dbf'
ORA-27040: file create error, unable to create file
Linux Error: 2: No such file or directory
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 2661
ORA-1092 signalled during: create database vc1
user sys identified by user system identified by maxinstances 1
maxloghistory 1
maxlogfiles 5
maxlogmembers 5
character set US7ASCII
national character set AL16UTF16
datafile 'u01/app/oracle/oradata/vc1/system01.dbf' size 500M
extent management LOCAL
SYSAUX datafile '/u01/app/oracle/oradata/vc1/sysaux01.dbf' size 500M
DEFAULT TEMPORARY tablespace temp01
tempfile '/u01/app/oracle/oradata/vc1/temp01.dbf' size 100M
UNDO tablespace undotbs_01
datafile '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
DEFAULT tablespace users
datafile 'u01/app/oracle/oradata/vc1/user01.dbf' size 100M
LOGFILE group 1
('/u01/app/oracle/oradata/vc1/redo01.log') size 100M,
group 2
('/u01/app/oracle/oradata/vc1/redo02.log') size 100M...sorry guys that was a silly mistake but it seems i m still not doing it right.
i still am getting ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
line 10 and other line were corrected by inserting / but still the same problem.
sending the alert log file
Sat Jan 5 18:28:04 2008
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
sga_target = 197132288
control_files = /u01/app/oracle/oradata/vc1/control01.ctl, /u01/app/oracle/oradata/vc1/control02.ctl, /u01/app/oracle/oradata/vc1/control03.ctl
db_block_size = 8192
compatible = 10.2.0.1.0
log_archive_dest = /u01/app/oracle/arch'
log_archive_format = log%t_%s_%r.arc
db_file_multiblock_read_count= 16
db_recovery_file_dest = /u01/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= NONE
db_domain =
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/vc1/bdump
user_dump_dest = /u01/app/oracle/admin/vc1/udump
core_dump_dest = /u01/app/oracle/admin/vc1/cdump
audit_file_dest = /u01/app/oracle/admin/vc1/adump
db_name = vc1
open_cursors = 300
pga_aggregate_target = 65011712
PMON started with pid=2, OS id=2685
PSP0 started with pid=3, OS id=2687
MMAN started with pid=4, OS id=2689
DBW0 started with pid=5, OS id=2691
LGWR started with pid=6, OS id=2693
CKPT started with pid=7, OS id=2695
SMON started with pid=8, OS id=2697
RECO started with pid=9, OS id=2699
CJQ0 started with pid=10, OS id=2701
MMON started with pid=11, OS id=2703
MMNL started with pid=12, OS id=2705
Sat Jan 5 18:31:55 2008
create database vc1
user sys identified by user system identified by maxinstances 1
maxloghistory 1
maxlogfiles 5
maxlogmembers 5
character set US7ASCII
national character set AL16UTF16
datafile '/u01/app/oracle/oradata/vc1/system01.dbf' size 500M
extent management LOCAL
SYSAUX datafile '/u01/app/oracle/oradata/vc1/sysaux01.dbf' size 500M
DEFAULT TEMPORARY tablespace temp01
tempfile '/u01/app/oracle/oradata/vc1/temp01.dbf' size 100M
UNDO tablespace undotbs_01
datafile '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
DEFAULT tablespace users
datafile '/u01/app/oracle/oradata/vc1/user01.dbf' size 100M
LOGFILE group 1
('/u01/app/oracle/oradata/vc1/redo01.log') size 100M,
group 2
('/u01/app/oracle/oradata/vc1/redo02.log') size 100M
Sat Jan 5 18:31:55 2008
Database mounted in Exclusive Mode
Sat Jan 5 18:32:05 2008
Successful mount of redo thread 1, with mount id 613909723
Assigning activation ID 613909723 (0x249784db)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /u01/app/oracle/oradata/vc1/redo01.log
Successful open of redo thread 1
Sat Jan 5 18:32:05 2008
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sat Jan 5 18:32:05 2008
SMON: enabling cache recovery
Sat Jan 5 18:32:05 2008
create tablespace SYSTEM datafile '/u01/app/oracle/oradata/vc1/system01.dbf' size 500M
EXTENT MANAGEMENT LOCAL online
Sat Jan 5 18:32:28 2008
Completed: create tablespace SYSTEM datafile '/u01/app/oracle/oradata/vc1/system01.dbf' size 500M
EXTENT MANAGEMENT LOCAL online
Sat Jan 5 18:32:28 2008
create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Completed: create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Sat Jan 5 18:32:44 2008
CREATE UNDO TABLESPACE UNDOTBS_01 DATAFILE '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
Sat Jan 5 18:32:54 2008
ORA-30012 signalled during: CREATE UNDO TABLESPACE UNDOTBS_01 DATAFILE '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
Sat Jan 5 18:32:54 2008
Errors in file /u01/app/oracle/admin/vc1/udump/vc1_ora_2706.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
Sat Jan 5 18:32:54 2008
Errors in file /u01/app/oracle/admin/vc1/udump/vc1_ora_2706.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5792
ORA-00604: error occurred at recursive SQL level 1
ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 2706
ORA-1092 signalled during: create database vc1
user sys identified by user system identified by maxinstances 1
maxloghistory 1
maxlogfiles 5
maxlogmembers 5
character set US7ASCII
national character set AL16UTF16
datafile '/u01/app/oracle/oradata/vc1/system01.dbf' size 500M
extent management LOCAL
SYSAUX datafile '/u01/app/oracle/oradata/vc1/sysaux01.dbf' size 500M
DEFAULT TEMPORARY tablespace temp01
tempfile '/u01/app/oracle/oradata/vc1/temp01.dbf' size 100M
UNDO tablespace undotbs_01
datafile '/u01/app/oracle/oradata/vc1/undotbs01.dbf' size 200M
DEFAULT tablespace users
datafile '/u01/app/oracle/oradata/vc1/user01.dbf' size 100M
LOGFILE group 1
('/u01/app/oracle/oradata/vc1/redo01.log') size 100M,
group 2
('/u01/app/oracle/oradata/vc1/redo02.log') size 100M...
Maybe you are looking for
-
Open Interface for Approved Supplier Lists and Sourcing Rules
Hi All, Is there an open interface or an API available for Appeoved Supplier Lists and Sourcing Rules. Thanks and Regards, MPH
-
Can no longer burn CD from iTunes music
I had no problems burning iTunes before yesterday. Now when I try to put new titles into "Toast," I get the prompt "(i.e. song title) m4p was not added because it was not authorized for digital export." How do I get the proper authorization. Nancy
-
Has anyone else had this problem? Thanks.
-
Using the iPhone internationally...Need help!
I want to know how I can use my U.S. iPhone in Europe and to work as an international phone. I will be in Greece/Europe for an entire year and I want to continue using my iPhone. If I have to buy a new iPhone in Europe that will be fine (as long as i
-
can anyone help