Database in connected mode
Hi all,
I am very new as apps dba(2 days). At the very first day i was told that while shutting down db it stays in 'connected mode' for a long time (3 hours) and it is happening from 2 days.
I don't know what to do. plz help
I am using 12.0.6 and 10g database
rgrds
user13290188 wrote:
hi,
I am using shutdown normal (in apps oracle provides addbctl.sh to start/stop db). I am using that.
Two days before it was good..but giving problem now.
By 'connected' i mean --
sh addbctl.sh stop
You are running addbctl.sh version 120.1
Shutting down database VIS ...
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 16 14:30:04 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected.
Ahh ....
That's not saying you or your shutdown is in "connected mode" (that term doesn't exist in oracle). That is simply feedback from the sqlplus that it has established a connection to the database. Presumably the next thing it did was issue a shutdown. Your script 'addbcgtl.sh' is not a standard that comes with oracle, so no one here knows what it is doing. Perhaps if you shared it .... ????
it stays like this for 2 hours...
plz help
Similar Messages
-
Error message in Command line (cannot mount database in EXCLUSIVE mode)
Hello Experts
I'm new in Oracle and trying to connect to my database though SQL command line. After I login as SYS I user I get the message that 'connected to idle instance'. Then I use “STARTUP” to connect to database. Now from my understanding it should mount the database and open it as well. But it does'nt happens.Instead I get the message 'cannot mount database in EXCLUSIVE mode' . I'm not sure why it can't mound the database and what should I do to make it working. Please can somebody show me how to make it working again. Here are the details about my problem
Enter user-name: SYS as SYSDBA
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 595591168 bytes
Fixed Size 1220748 bytes
Variable Size 301993844 bytes
Database Buffers 285212672 bytes
Redo Buffers 7163904 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
Thanks a lot in advance.Thank you so much for both of you. I've checked everything. All looks fine to me and then i tried to connect though SQL and it worked. Now what I've notice that this time I didn't start Enterprise Manager only I started the listner and then start sql it worked. Does this means that I can't use both SQL and EM at a time together?
-
Hi All.. i have had one database was in suspect mode and i have changed the status to Emergency Mode and i have run the DBCC checkdb and command didn't gave any error.. after this i have tried to change database to Single_user mode, but command running
successfully, but database status is still showing as Emergency mode only.. i have tried for multi_user mode too..
Also, i have tried to run the command to bring online, but command running for long time with Suspended status..
Could anyone help me on this??Hi Balajik,
"Also, i have tried to run the command to bring online, but command running for long time with Suspended status.."
In addition to other post, please check the following things.
1. Run sp_who2 to check that if there is blocked process. If blocked process exists, run “KILL <spid>“ to kill it.
2. Make sure that there are no connections to the database from other applications. You can run the below scripts to find connections.
USE master
SELECT * FROM sys.sysprocesses WHERE dbid = DB_ID('DatabaseName')
3. You might need to stop and start SQL Server Service using SQL Server Management Studio, then check if you can set the database online.
Besides, to recover database which is in emergency mode, you can review the following similar thread.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4186ba24-5188-4ea9-bb83-f39d44f1897d/database-in-emergency-mode?forum=sqldatabasemirroring
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Hi
All,
I have oracle 9.2.0.6 at my workplace.right now my database running in ARCHIVELOG MODE. I want to set it to NOARCHIVELOG MODE.
can I do on the fly? in other way, Do I need to shutdown and restart database?
Any help will be appreciated.
Thanks,
VishalHi,
Issue the following commands to put a database into NOARCHVELOG mode:
1) Take Back up of Present SPfile by creating pfile
create pfile from present spfile.
2) Shutdown the database by SUTDOWN IMMEDIATE.
3) Take Cold backup of the database.
4) Change the parameter in the pfile.
log_archive_start = FALSE
#log_archive_dest_1 = 'LOCATION='Your location'
log_archive_dest_state_1 = DISABLE
#log_archive_format = %d_%t_%s.arc
5) And make a spfile from the modified pfile in default location .
6) Start the database with spfile.
SQL> CONNECT sys AS SYSDBA
SQL> STARTUP MOUNT ;
SQL> ALTER DATABASE ARCHIVELOG;
SQL> ARCHIVE LOG START;
SQL> ALTER DATABASE OPEN;
NOTE 1: Remember to take a baseline database backup right after disabling archivelog mode. Without it one would not be able to recover.
Regards
Jafar -
Can I take a backup of a database in standby mode?
Can I run backup on a database that is in standby mode because it is the DR box receiving log shipping?
Does that work in SQL 2005? How about SQL 2000?
Thanks.
Josh
ps - I know I should just try it, I've already Googled it - with mixed results.https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=466121
Please allow backup of database in standby mode!
This comes up as a very common requirement in HA/DR planning. Logs are shipped over a (relatively) small pipe to a DR site, for days or weeks or months. As part of a (partial) failover plan, we need a full backup of a current version of the database to restore on another server on the DR side - but we cannot take the main DR (secondary) copy out of standby without breaking the log chain. Yes, we might have to pause the application of logs - or possibly not - in order to take the backup of a large-ish database. But the alternative is shipping a large backup all the way from production over that small pipe, which can be prohibitive.
Thanks for the reminder, Tibor.
Josh -
ORA-01102: cannot mount database in EXCLUSIVE mode
Hello,
I am working with an Oracle VM Template: Oracle Application Server 10g Release 3 WebCenter (x86 32-bit). In this template exists an Oracle database (version: 10.2.0.3.0), I am trying to do something operation (ie create a new user, query a system template, etc) but I can't because I have ORA-01102 error.
I have DB and listener up :
$ORACLE_HOME/bin
lsnrctl status
LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 18-MAR-2011 08:25:04
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_ORCL)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.3.0 - Production
Start Date 18-MAR-2011 08:09:45
Uptime 0 days 0 hr. 15 min. 19 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
+/u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora+
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_ORCL)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=haovm007)(PORT=1521)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=haovm007)(PORT=8080))(Presentation=HTTP)(Session=RAW))+
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
I have export environment variables:
export ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1/
export ORACLE_SID = orcl
+export PATH = ${ORACLE_HOME}bin:${PATH}+
Then I connect to DB:
sqlplus> connect / as sysdba
+sqlplus> shutdown {abort/immediate}+
ORA-01507: database not mount+
ORACLE instance shutdown
+sqlplus> startup {mount}+
ORACLE instance startup
ORA-01102: cannot mount database in EXCLUSIVE mode+
So, I have checked listener.ora and tnsnames.ora and they are OK, so I don't know why I can't access to the DB.
Any idea/suggestion is welcome!
Thank you in advance and regards,
Mónica.Mónica wrote:
Hi Kamran Agayev A.,
thank you so much, I have solve the issue!!
I have executed your command, and after I startup the DB and it works!!!
Regards,
MónicaWell done! :)
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
How to put database in RESTRICTED mode ?
Hi,
in 9.2.0.6 on Windows 2003 server how to put database in RESTRICTED mode ?
Many thanks before.ERROR at line 1:
ORA-12719: operation requires database is in RESTRICTED mode
That's because 'ALTER SYSTEM QUIESCE RESTRICTED' doesn't actually put the database into restricted mode:
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
ALLOWED NORMAL
SQL> alter system quiesce restricted;
System altered.
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
ALLOWED QUIESCEDTry staring the database in restricted mode and then quiescing it:
SQL>
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict;
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1289508 bytes
Variable Size 117441244 bytes
Database Buffers 46137344 bytes
Redo Buffers 2904064 bytes
Database mounted.
Database opened.
SQL> alter system quiesce restricted;
System altered.
SQL> select logins, active_state from v$instance;
LOGINS ACTIVE_ST
RESTRICTED QUIESCED
SQL>As you can see from V$INSTANCE, when you are running in restricted mode LOGINS will have a value of 'RESTRICTED'
However - I still think that if you are dealing with users logging in to your (RESTRICTED) database via the listener then the easiest option is to stop the listener whilst the database is down and restart it once your alter database command has completed.
PS : No any other user is connected.No, they wouldn't be this time because you had quiesced the database... but you still need to get the database into restricted mode for this alter database command. -
How to bring MSSQL database from suspended mode to online mode?
Hi,
I restarted services through SAP MMC & couldnt restart the service. ABAP work processes Ended & disp+work.exe stopped.
I checked all SAP related & SQL related services; they were up, but when i tried logging in to the database it was in Suspended mode. I could not login to the database.
Can anyone tell me the reason for my database going to suspended mode & help me getting my MSSQL 2005 database from suspended mode to online mode??
Thanks,
JigarI somehow managed to get my database up but still when i m trying to start the services from SAP MMC then disp+work.exe stops after sometime.
Below is the developer trace of disp+work.exe ; plz help
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid PRD
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 133
intno 20050900
make: multithreaded, Unicode, optimized
pid 1888
Tue Feb 26 14:34:16 2008
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 1888) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 133 successfully loaded
shared lib "dw_xtc.dll" version 133 successfully loaded
shared lib "dw_stl.dll" version 133 successfully loaded
shared lib "dw_gui.dll" version 133 successfully loaded
shared lib "dw_mdm.dll" version 133 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Tue Feb 26 14:34:22 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >srvsappd_PRD_00 <
DpShMCreate: sizeof(wp_adm) 30160 (1436)
DpShMCreate: sizeof(tm_adm) 4270848 (21248)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1544)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 068C0040, size: 4942392)
DpShMCreate: allocated sys_adm at 068C0040
DpShMCreate: allocated wp_adm at 068C2090
DpShMCreate: allocated tm_adm_list at 068C9660
DpShMCreate: allocated tm_adm at 068C9690
DpShMCreate: allocated wp_ca_adm at 06CDC190
DpShMCreate: allocated appc_ca_adm at 06CE1F50
DpShMCreate: allocated comm_adm at 06CE3E90
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 06D64D50
DpShMCreate: allocated gw_adm at 06D64D90
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 06D64DC0
DpShMCreate: allocated wall_adm at 06D64DC8
MBUF state OFF
DpCommInitTable: init table for 500 entries
ThTaskStatus: rdisp/reset_online_during_debug 0
Tue Feb 26 14:34:23 2008
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 1023 blocks reserved for free list.
ES initialized.
Tue Feb 26 14:34:25 2008
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1629]
***LOG Q0K=> DpMsAttach, mscon ( srvsappd) [dpxxdisp.c 11799]
DpStartStopMsg: send start message (myname is >srvsappd_PRD_00 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Tue Feb 26 14:34:26 2008
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 133
Release check o.K.
Tue Feb 26 14:35:05 2008
ERROR => DpHdlDeadWp: W0 (pid 888) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W1 (pid 2704) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W2 (pid 924) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W3 (pid 2088) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W4 (pid 1780) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W5 (pid 2932) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W6 (pid 1328) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W7 (pid 1332) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W8 (pid 2948) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W9 (pid 492) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => DpHdlDeadWp: W10 (pid 1976) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W11 (pid 2288) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W12 (pid 2716) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => DpHdlDeadWp: W13 (pid 2564) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => DpHdlDeadWp: W14 (pid 712) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W15 (pid 3080) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W16 (pid 1588) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W17 (pid 3084) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => DpHdlDeadWp: W18 (pid 1616) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => DpHdlDeadWp: W19 (pid 2856) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W20 (pid 1912) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:15 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Feb 26 09:05:15 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 888 Ended no 1 0 0
1 DIA 2704 Ended no 1 0 0
2 DIA 924 Ended no 1 0 0
3 DIA 2088 Ended no 1 0 0
4 DIA 1780 Ended no 1 0 0
5 DIA 2932 Ended no 1 0 0
6 DIA 1328 Ended no 1 0 0
7 DIA 1332 Ended no 1 0 0
8 DIA 2948 Ended no 1 0 0
9 DIA 492 Ended no 1 0 0
10 UPD 1976 Ended no 1 0 0
11 UPD 2288 Ended no 1 0 0
12 UPD 2716 Ended no 1 0 0
13 ENQ 2564 Ended no 1 0 0
14 BTC 712 Ended no 1 0 0
15 BTC 3080 Ended no 1 0 0
16 BTC 1588 Ended no 1 0 0
17 BTC 3084 Ended no 1 0 0
18 SPO 1616 Ended no 1 0 0
19 UP2 2856 Ended no 1 0 0
20 UP2 1912 Ended no 1 0 0
Dispatcher Queue Statistics Tue Feb 26 09:05:15 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
4
2000
5
5
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 2 ( 25%), shm 6 ( 75%)
since last update total 8, udp 2 ( 25%), shm 6 ( 75%)
Dump of tm_adm structure: Tue Feb 26 09:05:15 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Feb 26 09:05:15 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:20 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >srvsappd_PRD_00 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (2404) (SOFT_KILL)
Stop icman
killing process (308) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:2404 HANDLE:1476)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:21 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:2404 HANDLE:1476)
wait for end of icman
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:22 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:23 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:24 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:25 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:26 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:27 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:28 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:29 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:30 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:31 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:308 HANDLE:1484)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1505
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Feb 26 14:35:32 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:308 HANDLE:1484)
DpStartStopMsg: send stop message (myname is >srvsappd_PRD_00 <)
NiIMyHostName: hostname = 'srvsappd'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
NiIRead: read for hdl 2 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiIRead: hdl 2 recv would block (errno=EAGAIN)
NiIPeek: peek successful for hdl 2 (r)
NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
Tue Feb 26 14:35:33 2008
NiIPeek: peek for hdl 2 timed out (r; 1000ms)
NiIRead: read for hdl 2 timed out (1000ms)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 12145]
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
SiSelNSet: set events of sock 1380 to: ---
NiBufISelRemove: remove hdl 2 from set0
SiSelNRemove: removed sock 1380 (pos=2)
SiSelNRemove: removed sock 1380
NiSelIRemove: removed hdl 2
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/21
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
MBUF component DOWN
NiICloseHandle: shutdown and close hdl 2 / sock 1380
NiBufIClose: clear extension for hdl 2
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 1888) [dpxxdisp.c 10417]
Good Bye ..... -
PMON and ORA-01102: cannot mount database in EXCLUSIVE mode error
hello all
I have been asked to look into a problem server with the following details
OS: sunOS 5.8
Oracle: 10.2.0.1
sys user password is not available !
backgrround processes for the instance(sid=test) are running
only schema credentials available and with that user is able to connect.
verified all oraenv parameters(ORACLE_SID is same as the running instance(test)).
only one instance is configured in this server(verified all tnsnames.ora, data files etc).oratab is empty
the issues are,
when I tried to connect to the server using "oracle" user using conn / as sysdba
1. Tried to shutdown using , shutdown immediate
ORA-01507:database not mounted
ORACLE instance shut down
still able to see the background processes and user is able to connect
2. Tried startup command,
In the nomount state I can see more than one PMON process with the same sid
when tried to mount/open
ran into the error,
ORA-01102: cannot mount database in EXCLUSIVE mode
Eventhough the background processes for the "test" instance are running I am not able to shutdown the instance using "oracle" user
please help
newbiehi
i renamed lk* file but the issue still remains,
with the oracle user
1./ as sysdba
2. shutdown immediate
this leads to
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
still not able to identify the running oracle instance.
there is only one oracle home and the oraenv details are set with the correct values
verified the alert log(ora home details are matching with the env details), details of the oracle processes which are active are in the alert log along with the startup failures(mount errors) at the tail end
oracle sysdba is not able to identify the already running instance?
please help
newbie -
ORA-011-2 cannot mount database in Exclusive mode
This is brand new both Oracle 10g and SUSE 9.3 install. The installation went fine, no errors. At the end I tried to verify the installation:
sqlplus /nolog
SQL>connect / as sysdba
Connected to an idle instance
SQL>startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/10g/dbs/initmydb.ora'
SQL>
So, I figured the missing initmydb file must be in different directory so I looked for it, started new shell session and entered this:
ln -s @ORACLE_BASE/admin/orcl/pfile/initmydb.ora
$ORACLE_HOME/dbs/initmydb.ora
Now I get the following error:
SQL>startup
ORA-011-2 cannot mount database in Exclusive mode
This is third time that I am triyng to install both SUSE and Oracle from scratch and I always run in the same problem, so you can only imagine how I feel.Now after reading many documents I am even more confused. The thing is, now I can connect to EM and manage database, create tables, etc, which means the database is up, right? However, I am unable to verify the database existance in sqlplus.
First after I connect as sysdba in sqlplus, the console says "Connected to an idle instance". When I enter show sga sqlplus, the sqlplus displays 0. Startup comand will display error in the above post.
So, the bottom line is, according to the EM the database is up and running (I can use isqlplus too) but not according to sqlplus on the server itself. What'sgoing on here? I've been reading every single paper on Oracle's and Novell SUSE web sites and couldn't find anything about it. -
Oracle ORA-01102故障: cannot mount database in EXCLUSIVE mode
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
出现这个问题,可能是由于断电的问题,解决方法是
出现1102错误可能有以下几种可能:
一、在HA系统中,已经有其他节点启动了实例,将双机共享的资源(如磁盘阵列上的裸设备)占用了;
二、说明 oracle 被异常关闭时,有资源没有被释放,一般有以下几种可能,
1、 oracle 的共享内存段或信号量没有被释放;
2、 oracle 的后台进程(如SMON、PMON、DBWn等)没有被关闭;
3、 用于锁内存的文件lk<sid>和sgadef<sid>.dbf文件没有被删除。
首先,虽然我们的系统是HA系统,但是备节点的实例始终处在关闭状态,这点通过在备节点上查数据库状态可以证实。
其次、是因系统掉电引起数据库宕机的,系统在接电后被重启,因此我们排除了第二种可能种的1、2点。最可疑的就是第3点了。
查$ORACLE_HOME/dbs目录:
$ cd $ORACLE_HOME/dbs
$ ls sgadef*
sgadef* not found
$ ls lk*
lkORA92
果然,lk<sid>文件没有被删除。将它删除掉
$ rm lk*
再启动数据库,成功。
如果怀疑是共享内存没有被释放,可以用以下命令查看:
$ipcs -mop
IPC status from /dev/kmem as of Thu Jul 6 14:41:43 2006
T ID KEY MODE OWNER GROUP NATTCH CPID LPID
Shared Memory:
m 0 0×411c29d6 –rw-rw-rw- root root 0 899 899
m 1 0×4e0c0002 –rw-rw-rw- root root 2 899 901
m 2 0×4120007a –rw-rw-rw- root root 2 899 901
m 458755 0×0c6629c9 –rw-r—– root sys 2 9113 17065
m 4 0×06347849 –rw-rw-rw- root root 1 1661 9150
m 65541 0xffffffff –rw-r–r– root root 0 1659 1659
m 524294 0×5e100011 –rw——- root root 1 1811 1811
m 851975 0×5fe48aa4 –rw-r—– oracle oinstall 66 2017 25076
然后它ID号清除共享内存段:
$ipcrm –m 851975
对于信号量,可以用以下命令查看:
$ ipcs -sop
IPC status from /dev/kmem as of Thu Jul 6 14:44:16 2006
T ID KEY MODE OWNER GROUP
Semaphores:
s 0 0×4f1c0139 –ra——- root root
s 14 0×6c200ad8 –ra-ra-ra- root root
s 15 0×6d200ad8 –ra-ra-ra- root root
s 16 0×6f200ad8 –ra-ra-ra- root root
s 17 0xffffffff –ra-r–r– root root
s 18 0×410c05c7 –ra-ra-ra- root root
s 19 0×00446f6e –ra-r–r– root root
s 20 0×00446f6d –ra-r–r– root root
s 21 0×00000001 –ra-ra-ra- root root
s 45078 0×67e72b58 –ra-r—– oracle oinstall
根据信号量ID,用以下命令清除信号量:
$ipcrm -s 45078
如果是 oracle 进程没有关闭,用以下命令查出存在的 oracle 进程:
$ ps -ef|grep ora
oracle 29976 1 0 Jun 22 ? 0:52 ora_dbw0_ora92
oracle 29978 1 0 Jun 22 ? 0:51 ora_dbw1_ora92
oracle 5128 1 0 Jul 5 ? 0:00 oracleora92 (LOCAL=NO)
然后用kill -9命令杀掉进程
$kill -9 <PID>
总结:
当发生1102错误时,可以按照以下流程检查、排错:
1.如果是HA系统,检查其他节点是否已经启动实例;
2.检查 oracle 进程是否存在,如果存在则杀掉进程;
3.检查信号量是否存在,如果存在,则清除信号量;
4.检查共享内存段是否存在,如果存在,则清除共享内存段;
5.检查锁内存文件lk<sid>和sgadef<sid>.dbf是否存在,如果存在,则删除No, its still not helping..even after trying to kill the semaphores:
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 oracle 640 538968064 1 dest
0x00000000 32769 oracle 600 192 1 dest
0x00000000 65538 oracle 600 1474564 8 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcrm -m 32769
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcrm -m 65538
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 oracle 640 538968064 1 dest
0x00000000 32769 oracle 600 192 1 dest
0x00000000 65538 oracle 600 1474564 8 dest
------ Semaphore Arrays --------
key semid owner perms nsems
------ Message Queues --------
key msqid owner perms used-bytes messages
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> ps -e f|grep emrep
3273 ? Ds 0:00 ora_ckpt_emrep
/opt/oracle/product/db10g/dbs (ac4orcloms01-ac4:emrep)> -
Can I rebuild dbconsole without putting database in quiesce mode?
I have a database (10Gr2) that the dbconsole just won't start up, while it say's its starting up, and during that time I can actually log into the console and look at things, navigate around etc., but then I get a message saying that it could not be started, and I lose the console connection.
I know the fast way is to just do the dbconsole recreate, but this puts the database in quiesce mode, which amounts to an outage, which I would sooner avoid.
Is there a way to drop and recreate without affecting users?
thankswhat you can do here launch dbca and create another instance dbconsole
-
Oracle Database Client -- Oracle Database in SSL mode.
Experts,
I am trying to connect to a remote oracle database which in SSL mode. I installed "Oracle database client" on other server and trying to connect to remote database in SSL mode.
Can you please provide brief steps ?
Do I need configure any wallets on client side too ?. If yes, copying wallets from database server to client is enough ?
Please help me.
ThanksPl do not post duplicates - Oracle Database Client --> Oracle Database in SSL mode.
-
Alter database into Archivelog mode.
HI Team,
I am using ORACLE 9i.
I want to convert database into archivelog mode from noarchivelog mode.
Using the following SQL Commands I can able to convert my database into the Archivelog.
SQL> connect sys as sysdba
Enter password: *****************
Connected.
SQL> alter database archivelog;
alter database archivelog
ERROR at line 1:
ORA-01126: database must be mounted EXCLUSIVE and not open for this operation
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 252779340 bytes
Fixed Size 453452 bytes
Variable Size 125829120 bytes
Database Buffers 125829120 bytes
Redo Buffers 667648 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
My problem is that I had to shutdown the database before converting it in to the archivelog mode...
Is there any way that without shuting down the database i can switch to archivelog mode.
Please comments...
Shatrughanif we shutdown immediate one's database..do
it's listener terminated too???The database registration with the listener yes, the listener itself no. That is, if you execute a command like "lsnrctl stat" you won't see the database anymore, but the listener is still active. Example :
[ora102 ~ db102]$ lsnrctl stat
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:57:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 05-MAY-2007 18:27:34
Uptime 0 days 0 hr. 30 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/ora102/OraHome1/network/admin/listener.ora
Listener Log File /home/ora102/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "db102" has 1 instance(s).
Instance "db102", status READY, has 2 handler(s) for this service...
The command completed successfully
[ora102 ~ db102]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 5 18:58:03 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SYS@db102 SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@db102 SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[ora102 ~ db102]$ lsnrctl stat
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:58:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 05-MAY-2007 18:27:34
Uptime 0 days 0 hr. 30 min. 58 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/ora102/OraHome1/network/admin/listener.ora
Listener Log File /home/ora102/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[ora102 ~ db102]$ -
hi all,
while I am shutting down the database using 'shutdown immediate' or 'addbctl.sh' it stays in 'connected' mode for a longtime(almost 30 mins). Why is this happening??
please help
thanks inadvance
AnnexCheck this:
addbctl.sh stop immediate ....
Post your questions here in EBS General discussions.
General EBS Discussion
HTH
-Anantha
Maybe you are looking for
-
How to load a Class Dynamically?
hi, I have the following problem.I am trying to load a class dynamically.For this I am using ClassLoader and its Loadclass method.My code is like this, File file = filechooser.getSelectedFile(); ClassLoader Cload = this.getClass().getClassLoader(); S
-
UI API issue, clicking base document on sales order does not set ActiveForm
I have a sales order window open with a sales order loaded. When I right click and click on base document, the sales quotation window shows up properly, however in code when I get the ActiveForm, it is the sales order form and not the sales quotatio
-
Hi, I would like to register my new iPhone. I can see my other apple products, but not my 6+. I have already activated and can use ist with my Account. But if I want to register my 6+, I get the message, that this phone is already registered maybe wi
-
Re: itunes won't install due to problem with package.
I've been having a similar problem-- Here are the exact words: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908." fyi, the message came up just after the
-
ok as per my earlier post took Imac to apple for new hard drive - BEFORE failure I had snow leopard. They installed Lion and ILife 11. Got it home worked fine till I tried to thru Command R restore my snow leopard time machine backup on my external