Oracle11gr2,dbca创建时使用asm,报ORA-17502报错
今天在用oracle11gr2,dbca创建时使用asm,报ORA-17502报错,创建日志:
ORACLE instance started.
Total System Global Area 2221395968 bytes
Fixed Size 2215264 bytes
Variable Size 1258291872 bytes
Database Buffers 956301312 bytes
Redo Buffers 4587520 bytes
CREATE DATABASE "test"
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '+DATA/test/control01.ctl'
ORA-15012: ASM file 'test/control01.ctl' does not exist
ORA-17502: ksfdcre:5 Failed to create file +DATA/test/control01.ctl
ORA-15081: failed to submit an I/O operation to a disk
检查下asm的磁盘确实是660权限:
[grid@dbs disks]$ ll
total 0
brw-rw---- 1 grid asmadmin 8, 17 Aug 30 10:53 OCR_VOTE01
brw-rw---- 1 grid asmadmin 8, 18 Aug 30 10:53 OCR_VOTE02
brw-rw---- 1 grid asmadmin 8, 19 Aug 30 10:53 OCR_VOTE03
brw-rw---- 1 grid asmadmin 8, 21 Aug 30 10:53 VOL1
brw-rw---- 1 grid asmadmin 8, 22 Aug 30 10:53 VOL2
brw-rw---- 1 grid asmadmin 8, 23 Aug 30 10:53 VOL3
brw-rw---- 1 grid asmadmin 8, 24 Aug 30 10:53 VOL4
diskgroup已经是mount状态,asm实例登录没问题:
SQL> select group_number,name,sector_size,block_size,allocation_unit_size,state,type,total_mb,free_mb from v$asm_diskgroup;
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB
2 DATA 512 4096 1048576 MOUNTED NORMAL 29319 29139
1 ARCH 512 4096 1048576 MOUNTED EXTERN 9773 9721
数据库的版本号确实是11.2:
SQL> select group_number, name, compatibility, database_compatibility from v$asm_diskgroup;
GROUP_NUMBER NAME COMPATIBILITY DATABASE_COMPATIBILITY
1 ARCH 11.2.0.0.0 10.1.0.0.0
2 DATA 11.2.0.0.0 10.1.0.0.0
装asm的时候用的是grid用户,3个操作系统组的时候使用都是dba,装oracle时用的是oracle用户,2个操作系统组的时候使用也都是dba:
[grid@dbs disks]$ id grid
uid=501(grid) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),504(asmadmin),505(asmoper),506(asmdba)
[grid@dbs disks]$ id oracle
uid=500(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),506(asmdba)
为什么会报ORA-17502错误?
[grid@dbs bin]$ /u01/app/grid/product/11.2.0/grid/bin/setasmgidwrap o=/u01/app/oracle/product/11.2.0/db_1/bin/oracle
[grid@dbs bin]$ ls -l /u01/app/oracle/product/11.2.0/db_1/bin/oracle
-r-xr-s--x 1 oracle dba 201096662 Aug 30 10:23 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
但权限仍然不是
-rwsr-s--x
是不是在最初用grid装asm的时候,跟装oracle软件的时候,选的用户组有关系?装asm跟oracle软件时用的都是dba用户组。
我原来这是想在一个单机环境中,配置一个asm存储做测试用的。
Similar Messages
-
Hi all,
i am trying to install RAC 11g . i have chosen asm over raw as storage option. my CRS and RAC binary installation went well. i am trying to create database through dbca. but every time ( it shows 2% completion) it is giving following error. i have tried dbca from starting also :(
ORA-10997: another startup/shutdown operation of this instance in progress
ora 09968 unable to lock file
ignore abort
please help me.. Thanks a lot.can you check again if the mount points where dbfile are being created are readonly file systems
or might be possilble shared memory has not released memory after incorrect shutdown or os issues....
$ORACLE_HOME/bin/sysresv you can find semaphores and kill by ipcrm –m <semaphore id >.
but anyways do post your full error you get while running dbca and possibly alertt log if generated... else it trace dbca and post o/p..that can help in investigation -
DBCA ASM Instance Out of Memory 10g
No ASM instance is running on the machine.
Using DBCA to create an ASM instance it fails with:
ORA-27102: out of memory
Solaris 8
/etc/system configured as such:
set noexec_user_stack=1
set semsys:seminfo_shmmax=0xffffffff
set semsys:seminfo_shmmin=1
set semsys:seminfo_shmmni=100
set semsys:seminfo_shmseg=10
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=1000
set semsys:seminfo_semmns=2000
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
System has been rebooted.
prtconf | grep size
Memory size: 1536 Megabytes
shell is csh with:
ulimit -Sa
ulimit -Ha
Veritas 3.1.1 VM installed but not managing the disk being used for ASM.
Tried the default settings and also tried to increase these values in the ASM Parameters. Neither worked.
large_pool_size=113165824
shared_pool_size=113165824
Your help is appreciated in trying to figure out why I keep getting this out of memory error.
Thank you,
MSDThank you for your response.
I don't mean to be a jerk or flip, but it does say Solaris 8. On the posting.
Nonetheless, I forgot to mention it is a SPARC version running on a netra.
MSD -
While creating DB using DBCA getting ORA-27102: out of memory in Linux
Hi All,
I am working on 11.2.0.3 oracle Redhat linux. I am getting error "ORA-27102: out of memory" while creating a new database using dbca
Below are the DB ans OS details. Please check it and let me know what i need to do to overcome this issue.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
$uname -a
Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
$free -g
total used free shared buffers cached
Mem: 94 44 49 0 0 31
-/+ buffers/cache: 12 81
Swap: 140 6 133
$ulimit -l
32
$ipcs -lm
Shared Memory Limits
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
Also created a trace file under trace loction and it suggesting to changes shm parameter value. but i am not sure which parameter (shmmax or shmall) and value i need to modify.
below are trace file info
Trace file /u02/app/oracle/diag/rdbms/beaconpt/beaconpt/trace/beaconpt_ora_9324.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u02/app/oracle/product/11.2.0.3
System name: Linux
Node name: greenlantern1a
Release: 2.6.18-92.1.17.0.1.el5
Version: #1 SMP Tue Nov 4 17:10:53 EST 2008
Machine: x86_64
Instance name: beaconpt
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 9324, image: oracle@greenlantern1a
*** 2012-02-02 11:09:53.539
Switching to regular size pages for segment size 33554432
Switching to regular size pages for segment size 4261412864
skgm warning: ENOSPC creating segment of size 00000000fe000000
fix shm parameters in /etc/system or equivalent
Please let me what are the kernel parameter values i need to chage to work this.
Thanks in advance.Yes it is same question, but i didn't have any solution there and still looking for some help. the solution it was provided in the last post is not working and getting the same error even with less thn 20% of memory. Please let me know how to overcome this issue.
Thanks -
DBCA error ORA-01034 oracle not available on Windows server 2008 r2 64
Hi All,
I have installed oracle 11.2.0.1 on my system having OS Windows server 2008. Then after that through DBCA i was creating the database during that i got ORA-01034 oracle not available. if any body know how to resolve it please reply me.
Thanks & Regards,
AryaDid you got the error in between when DBCA executed some percentage of work? PLease check its logfiles to get the exact error.
-
[help me] Oracle 10G + ASM "ORA-00376: file 5 cannot be read at this time"
We have used Oracle 10G R2 RAC + ASM on Redhat 4 (EMC cx700 Storage)
I found below errors on alert log and can't inserted, updated and deleted datas in database.
Sun May 27 01:12:34 2007
SUCCESS: diskgroup ARCH was mounted
SUCCESS: diskgroup ARCH was dismounted
SUCCESS: diskgroup ARCH was mounted
SUCCESS: diskgroup ARCH was dismounted
SUCCESS: diskgroup ARCH was mounted
SUCCESS: diskgroup ARCH was dismounted
Sun May 27 01:19:11 2007
Errors in file /oracle/product/admin/DB/udump/db3_ora_15854.trc:
ORA-00376: file 5 cannot read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00372: file 5 cannot be modified at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
So:
I checked and recovered data file
SQL> select name,status,file# from v$datafile where status ='RECOVER';
NAME
STATUS FILE#
+DATA/db/datafile/undotbs3.257.617849281
RECOVER 5
RMAN> run {
allocate channel t1 type 'SBT_TAPE';
allocate channel t2 type DISK;
recover datafile 5;
recover completed.
SQL> alter database datafile 5 online;
Butttttttttttttttttt:
What is going on?
I checked EMC storage, not found any disk error.
I checked alert log of ASM, no found anything.
I don't know What the problem ?
Because I had the same problem 2 days ago.
This day error on undo datafile node 3.
2 days aGo; error on undo node 4.
Please please anybody
What bug or anything wrong ?
Please introduce me
trace file:
/oracle/product/admin/DB/udump/db3_ora_15854.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
ORACLE_HOME = /oracle/product/10.2.0/db
System name: Linux
Node name: db03.domain
Release: 2.6.9-42.ELsmp
Version: #1 SMP Wed Jul 12 23:32:02 EDT 2006
Machine: x86_64
Instance name: DB3
Redo thread mounted by this instance: 3
Oracle process number: 65
Unix process pid: 15854, image: [email protected]
*** SERVICE NAME:(DB) 2007-05-27 01:19:11.574
*** SESSION ID:(591.62658) 2007-05-27 01:19:11.574
*** 2007-05-27 01:19:11.574
ksedmp: internal or fatal error
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
ORA-00372: file 5 cannot be modified at this time
ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
Current SQL statement for this session:
INSERT INTO DATA_ALL VALUES (:B1 ,:B2 ,:B3 ,:B4 ,:B5 ,:B6 ,:B7 ,:B8 ,:B9 ,:B10 ,:B11 ,:B12 ,:B13 ,:B14 ,:B15 ,:B16 ,:B17 ,:B18 ,:B19 ,:B20 ,:B21 ,:B22 ,:B23 ,:B24 ,:B25 ,:B26 ,:B27 ,:B28 ,:B29 ,:B30 ,:B31 ,:B32 ,:B33 ,:B34 ,:B35 ,:B36 ,:B37 ,:B38 ,:B39 ,:B40 ,:B41 ,:B42 ,:B43 ,:B44 ,:B45 ,:B46 ,:B47 ,:B48 ,:B49 ,:B50 )
----- PL/SQL Call Stack -----
object line object
handle number name
0x21dc2b4b8 780 package body MGR.AC
0x21e4815b0 3 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedst()+31 call ksedst1() 000000000 ? 000000001 ?
7FBFFF7290 ? 7FBFFF72F0 ?
7FBFFF7230 ? 000000000 ?
ksedmp()+610 call ksedst() 000000000 ? 000000001 ?
7FBFFF7290 ? 7FBFFF72F0 ?
7FBFFF7230 ? 000000000 ?
ksupop()+3581 call ksedmp() 000000003 ? 000000001 ?
7FBFFF7290 ? 7FBFFF72F0 ?
7FBFFF7230 ? 000000000 ?
opiodr()+3899 call ksupop() 000000002 ? 000000001 ?
7FBFFF7290 ? 7FBFFF72F0 ?
7FBFFF7230 ? 000000000 ?
rpidrus()+198 call opiodr() 000000066 ? 000000006 ?
.......etc.............................
Message was edited by:
HunterX (Surachart Opun)To me it looks like your undotbs on node3 is filled and not marking old undo as expired. Use this query to find out if it is labeling old undo as expired.
SELECT tablespace_name, status, COUNT(*) AS HOW_MANY
FROM dba_undo_extents
GROUP BY tablespace_name, status;
Another thing I noticed from your alertlog is it is only doing that on undotbs3, which I assumes is on node3.
1) try recreate undotbs on node3
2) take node3 out of service (stop nodeapps, ASM, instance and finally CRS on node3) and see if you can do DML on your database.
-Moid -
Cannot config EM from dbca with ORA-12541: TNS:no listener
Hi all,
I am having a strange issue with Oracle Database. I have "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production" running on a windows 7 system. Everything seems working: I can connect and do SQL operations. But my EM is not running. I need to do a re-config by running dbca. I choose to "configure database options" etc for the existing database, roughly at the 67%, it stopped. In log, I see the following exceptions:
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12541: TNS:no listener
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
However, my listener seems working (otherwise, my sqlplus connections wouldn't work, correct?). Please see the attached information. Can anyone please tell me what I am doing wrong here and how to fix it? Thank you all very much!
$ lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 21:54:12
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:27 refused:0
LOCAL SERVER
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
The command completed successfully
I can also connect
$ sqlplus sys/*****@orcl as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 7 23:11:30 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
I can also do:
$ tnsping orcl
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2012 23:12:53
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (40 msec)Can you please tell me what options I need to run emca? My current database is accessible and seems running fine except this EM issue.
dbca can also "configure database options" existing DB's, at least I should not get that error in "C:\oracle\cfgtoollogs\dbca\orcl\emConfig.log" that says
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: ORA-12541: TNS:no listener
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Refer to the log file at C:\oracle\cfgtoollogs\dbca\orcl\emConfig.log for more details.
Jul 7, 2012 11:12:49 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again . -
Can't create 11gR1 Database with 11gR2 CRS/ASM non RAC, dbca ASM password
Hi,
try to create a 11gR1 SE Database on a single server with 11gR2 ASM up and running.
when dbca ask where to store the datafiles and i choose ASM, i have to give the asm sys password which i know (can connect with sql+).
dbca replies wrong password and i can NOT go further.
is it possible to use 11gR2 ASM with 11gR1 database and create a database with dbca?
any hint for this situation?
thanks
Michael
Edited by: user12132314 on 18.07.2010 22:24Hello,
i tried again - still don't work
it is dbca step 6 from 16, storage option (or something simiular - dbca lang here is german)
the dialog looks like this
ASM-ID-Data (Titel)
enter ASM specific SYS password (prompt)
entering the correct pwd and push OK
dbca shows a error dialog with something like: password for user SYS not valid. Enter a valid password.
Any help?
Michael -
Oracle11gr2 RAC 设置sqlnet.ora限制IP登录数据库
背景:由于最近需要进行数据库加固,需要设置限制IP登录数据库的参数
如下3个参数:
#To enable and disable valid node checking for incoming connections. If this parameter is set to yes, then incoming connections are allowed only if they originate from a node that conforms to list specified by TCP.INVITED_NODES or TCP.EXCLUDED_NODES parameters.
tcp.validnode_checking = yes
#To specify which clients are allowed access to the database.
tcp.invited_nodes = (192.168.0.*,192.168.10.*,192.168.20.*,192.168.30.*,192.168.40.*,10.201.39.*,10.201.29.*)
#To specify which clients are denied access to the database
tcp.excluded_nodes = (*)
生产环境:solaris10+oracle11gr2 RAC 3个节点
测试环境:oracle linux 5.8 oracle 11gr2 RAC 2个节点
经过:
1.本人在测试环境单实例测试这三个参数限制IP没有问题
2.本人在测试环境RAC环境测试这三个参数限制IP,存在以下问题
两个节点A,B,然后在节点B上设置SQLNET.ORA里面这3个参数,监听重启
(1)只要挂在这个测试节点上面的服务全部报错ORA-12514
(2)从另外两个节点使用EZCONNECT 连接也是报错ORA-12514
请教在RAC上面设置这3个参数的影响?192.168.0.,192.168.10.,192.168.20.,192.168.30.,192.168.40.,10.201.39.,10.201.29.*
这些是什么IP?
RAC本身的Ip是哪些?
cat /etc/hosts -
ASM ORA-27041 'Global Resource Directory partially frozen for dirty detach'
Hi there,
I am running a 10gR2 RAC on two nodes with ASM. Once in three days, the following happens to the ASM instance of one of the nodes. But it's not predictable which node will be next. In other words: Both ASM instances failed so far, but never both at the same time. Least I can say, the cluster always worked. But what the f... happens here? Please have a look at the following alert log extract of the ASM system.
---------------------------------------snip---------------------------------------------
<notmal operational output until here>
Tue Jan 17 05:33:28 2006
WARNING: cache failed to read fn=2 blk=0 from disk(s): 1 0
ORA-27041: Datei kann nicht geoffnet werden
NOTE: cache initiating offline of disk 1 group 2
NOTE: cache initiating offline of disk 0 group 2
WARNING: offlining disk 1.4051955519 (AWISRACVOL_0001) with mask 0x3
WARNING: offlining disk 0.4051955520 (AWISRACVOL_0000) with mask 0x3
NOTE: PST update: grp = 2, dsk = 1, mode = 0x6
NOTE: PST update: grp = 2, dsk = 0, mode = 0x6
Tue Jan 17 05:33:28 2006
ERROR: too many offline disks in PST (grp 2)
Tue Jan 17 05:33:28 2006
NOTE: PST not enabling heartbeating (grp 2): group dismounted
Tue Jan 17 05:33:28 2006
NOTE: halting all I/Os to diskgroup AWISRACVOL
NOTE: active pin found: 0x0x1019bcc38
NOTE: active pin found: 0x0x1019bcce8
Tue Jan 17 05:33:33 2006
ERROR: PST-initiated MANDATORY DISMOUNT of group AWISRACVOL
NOTE: cache dismounting group 2/0x9D831FCE (AWISRACVOL)
NOTE: dbwr not being msg'd to dismount
Tue Jan 17 05:33:33 2006
kjbdomdet send to node 0
detach from dom 2, sending detach message to node 0
Tue Jan 17 05:33:33 2006
Dirty detach reconfiguration started (old inc 2, new inc 2)
List of nodes:
0 1
Global Resource Directory partially frozen for dirty detach
* dirty detach - domain 2 invalid = TRUE
553 GCS resources traversed, 0 cancelled
1067 GCS resources on freelist, 6165 on array, 6165 allocated
Dirty Detach Reconfiguration complete
Tue Jan 17 05:33:34 2006
WARNING: dirty detached from domain 2
Tue Jan 17 05:33:34 2006
SUCCESS: diskgroup AWISRACVOL was dismounted
Tue Jan 17 05:35:25 2006
WARNING: cache failed to read fn=1 blk=2 from disk(s): 0 1
ORA-27041: Datei kann nicht geoffnet werden
NOTE: cache initiating offline of disk 0 group 1
NOTE: cache initiating offline of disk 1 group 1
WARNING: offlining disk 0.4051955518 (AWISAUXVOL_0000) with mask 0x3
WARNING: offlining disk 1.4051955517 (AWISAUXVOL_0001) with mask 0x3
NOTE: PST update: grp = 1, dsk = 0, mode = 0x6
NOTE: PST update: grp = 1, dsk = 1, mode = 0x6
Tue Jan 17 05:35:25 2006
ERROR: too many offline disks in PST (grp 1)
Tue Jan 17 05:35:25 2006
NOTE: PST not enabling heartbeating (grp 1): group dismounted
Tue Jan 17 05:35:25 2006
NOTE: halting all I/Os to diskgroup AWISAUXVOL
NOTE: active pin found: 0x0x1019bcc38
NOTE: active pin found: 0x0x1019bcce8
NOTE: active pin found: 0x0x1019bcd98
Tue Jan 17 05:35:25 2006
ERROR: PST-initiated MANDATORY DISMOUNT of group AWISAUXVOL
NOTE: cache dismounting group 1/0x9D731FCD (AWISAUXVOL)
Tue Jan 17 05:35:26 2006
kjbdomdet send to node 0
detach from dom 1, sending detach message to node 0
Tue Jan 17 05:35:26 2006
Dirty detach reconfiguration started (old inc 2, new inc 2)
List of nodes:
0 1
Global Resource Directory partially frozen for dirty detach
* dirty detach - domain 1 invalid = TRUE
5052 GCS resources traversed, 0 cancelled
Dirty Detach Reconfiguration complete
Tue Jan 17 05:35:27 2006
WARNING: dirty detached from domain 1
Tue Jan 17 05:35:27 2006
SUCCESS: diskgroup AWISAUXVOL was dismounted
<log ends here>
---------------------------------------snap--------------------------------------------
Useless to say that the database based on this ASM instance terminates with complaints about non-readable controlfiles and so on.
It has been no problem to re-start the ASM- and DB-Instance after this happened. So no persistent damage was done, but I find it widely alarming. Has anybody an idea, or can explain, what Oracle does here?
Thanks in advance,
Martin KlierHi,
it seem we have found the solution of this problem, it has been a whole bunch of trouble:
- First of all, the interconnect should never be a crossover cable. Oracle said so in the official RAC FAQ, and they describe as reason why not: "b) Instability. We have seen different problems e.g.. ORA-29740 at configurations using crossover cable, and other errors." I had known, but the errors just appeared weeks after the switchover to crossover cabling.
- The ASM-used devices / raw devices MUST be owned by oracle:oinstall (or :dba depending on the setup), if they are owned by root:disk (with oracle as a memeber of disk) it complains - the ASM instance does exactly the error above.
- Having this fixed, I always got an error ORA-27041 but without "Global Resource Directory partially frozen". The system worked fine, but on every start of ASM the error was logged. Solution: provide an ASM_DISKSTRING parameter, in order to prevent ASM trying to use other (maybe CRS-used) raw devices than its own.
The stuff took away three weeks of my life and a bunch of hair :)
Martin -
DBCA Producing ORA 12547 TNS lost contact when I try to create a database
Hi all!
I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
If we consider that I did nothing after those installation, what should the next step be to create a database successfully?Hi all!
I just installed Oracle 11GR2 (only software not creating a database) on Oracle Linux 6.4 64 Bit via Oracle VM VirtualBox. I created a new Listener to create a database. It looks working. But when I try to create a new database with dcba; I had an ORA-12547 TNS lost contact after I had specified all options for creating the database. I'm too new to get what's going on here. Already, the Oracle Software has occured a few errors while the installation. But the software has been installed successfully at the end. Maybe I went wrong from the beginning. What should I do about managing that ORA error? Can anybody suggest me something?
Btw I have installed the all installations with information on this link: ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6
If we consider that I did nothing after those installation, what should the next step be to create a database successfully? -
Oracle11gR2 DB+ASM installation
Dear All,
I have oracle 11gR2 database source (2 zip files), we need to configure ASM for storing the datafiles. But we could not able to find the screen (which we will see in 10g) for stamping the disks or asmtool for stamping the disk.
Please let us know whether we need to install Gird infrastructure for installing single instance DB with ASM ?
Thanks in Advance,
Anand.AnandKumar wrote:
Hi,
Thanks Aman.. Is gird infrastructure (ASM) free with DB installation as like 10g or We need separate licensing.
Anand,
I am not the right person to talk about licensing. I guess it would be better to ask the sales rep for this . As per this thread, it doesn't look like though,
http://forums.oracle.com/forums/thread.jspa?messageID=4595290
HTH
Aman.... -
RMAN 恢复至ASM DISKGROUP 报错 ORA 19870 19504 15045 17502 15081
问题简单描述:
AIX 6, ORACLE 11.2
1.替换原来存储,也就是说用新存储B 把原来的A 存储替换掉, 数据库原来是跑到A 存储上的。
2.我把数据库shutdown 然后 startup mount 后做一致备份到本地磁盘/oracle/rman_bak1201/
3.删除原来的ASM DISKGROUP ,然后删除磁盘(踢掉旧存储)
4.新存储映射磁盘到主机,然后重新建立ASM DISKGROUP DATA 成功 (原来的DISKGROUP 名字也是 DATA, 所以新diskgroup_name 与旧 diskgroup_name 相同 。曾尝试建立数据库test 成功,查看diskgroup 状态为mounted 也正常)
存储替换完毕
5.把先前的备份尝试恢复到新建的 ASM DISKGROUP DATA
6.用startup nomount pfile='/oracle/rman_bak1201/abc.ora' 启动,尝试恢复时报错 (pfile 是我从原库 create pfile='xxxx' from spfile 备份的)
RMAN> restore controlfile from '/oracle/rman_bak1201/c_0jnrov15_1_1';
Starting restore at 01-DEC-12
using channel ORA_DISK_1
channel ORA_DISK_1: restoring control file
RMAN-00571: ========================================================
RMAN-00569: ==========ERROR MESSAGE STACK FOLLOWS===================
RMAN-00571: ========================================================
RMAN-03002: failure of restore command at 12/01/2012 17:50:54
ORA-19870: error while restoring backup piece /oracle/rman_bak1201/c_0jnrov15_1_1
ORA-19504: failed to create file "+DATA"
ORA-15045: ASM file name '+DATA' is not in reference form
ORA-17502: ksfdcre:5 Failed to create file +DATA
ORA-15081: failed to submit an I/O operation to a disk
网上搜了下说是rhdisk权限问题, 但我新的diskgroup 用DBCA 建库都正常,所以不解,请支招谢谢。问题解决,诊断思路是tail -f alert*.log,然后从新尝试restore controlfile 发现有关于/dev/rhdisk* permission deny ,故问题就是rhdisk* 权限的问题,修改权限后重启+ASM 实例后顺利恢复。
后来我把rhdisk* 权限改成了 666 oracle dba 重启就好了(在此说明当初实施的人规划的grid和oracle用户同时属于oinstall 和dba组,两个用户其实是相同的权限,看样子比较混乱,我也没心思从头整理了简单666 解决)
但现在还有个疑问就是:
1. 为什么我设置跟人家原来的授权 crw-rw---- grid dba rhidk2 却不能恢复? 但是通过dbca 用oracle 用户建立新库一点问题都没有。 -
DBCA can not use ASM for database storage due to following reason: Could no
Hi
I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
I installed Grid Infrastructure with grid user:
Node1: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
Node2: # id grid
uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
I installed the Oracle Server with oracle user:
Node1: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
Node2: # id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
All related Grid Infrastructure is functioning well in both nodes:
$ crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE node03
ora.FRA.dg ora....up.type ONLINE ONLINE node03
ora....ER.lsnr ora....er.type ONLINE ONLINE node03
ora....N1.lsnr ora....er.type ONLINE ONLINE node04
ora.asm ora.asm.type ONLINE ONLINE node03
ora.cvu ora.cvu.type ONLINE ONLINE node04
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE node03
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE node03
ora.scan1.vip ora....ip.type ONLINE ONLINE node04
ora....SM1.asm application ONLINE ONLINE node03
ora....03.lsnr application ONLINE ONLINE node03
ora....d03.gsd application OFFLINE OFFLINE
ora....d03.ons application ONLINE ONLINE node03
ora....d03.vip ora....t1.type ONLINE ONLINE node03
ora....SM2.asm application ONLINE ONLINE node04
ora....04.lsnr application ONLINE ONLINE node04
ora....d04.gsd application OFFLINE OFFLINE
ora....d04.ons application ONLINE ONLINE node04
ora....d04.vip ora....t1.type ONLINE ONLINE node04
$
The ASM instance are running well in both nodes
Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
$
$ lsnrctl status
LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
Start Date 16-MAY-2012 15:24:19
Uptime 0 days 0 hr. 16 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
$
$
DATA & FRA disk group are created:
$
$ echo $ORACLE_SID
+ASM1
$
$ asmcmd
ASMCMD>
ASMCMD> ls -lt
State Type Rebal Name
MOUNTED EXTERN N DATA/
MOUNTED EXTERN N FRA/
ASMCMD>
ASMCMD>
The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
What can be passing in this case... ?
Thanks in advanceThanks both
Really the problem initially was because of this:
[INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
/home/grid/.ssh -------> /home/grid/.ssh
authorized_keys
known_hosts
This is the procedure if you run the wizard at the node1.
The problem is that the wizard creates the keys incompletely...
Thanks -
DBCA Does Not Display ASM Disk Groups In 11.2.0.4
DBCA trying to create a database with a different user oracle than grid user. installed Grid infrastructure with user grid, and I was trying to create a database with user oracle (who’s the owner of oracle rdbms). But during this installation I wasn’t able to see any of my ASM disk. This is all under Oracle 11.2.0.4.
what to check .. all appears ok .... at a loss at this point
1. asm up online .... ok
crs_stat -t
Name Type Target State Host
ora.DATA.dg ora....up.type ONLINE ONLINE sqls...r-pc
ora.FRA.dg ora....up.type ONLINE ONLINE sqls...r-pc
ora....ER.lsnr ora....er.type ONLINE ONLINE sqls...r-pc
ora.asm ora.asm.type ONLINE ONLINE sqls...r-pc
ora.cssd ora.cssd.type ONLINE ONLINE sqls...r-pc
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE sqls...r-pc
ora.ons ora.ons.type OFFLINE OFFLINE
[grid@sqlservrer-PC ~]$
2.
2. Check your oracle binary mount point (option nosuid disable) OK
$ cat /etc/fstab
UUID=f7fcc326-7c70-43ac-ba86-fe0805e1c57f /boot ext4 defaults 1 2
/dev/mapper/VolGroup-loradata /oradata ext4 defaults 1 2
/dev/mapper/VolGroup-lorainist /orainst ext4 defaults 1 2
UUID=39c84d4c-6be8-4d4c-8d27-5762d2d1f7df swap swap defaults 0 0
tmpfs
3. ids ok
proc proc defaults 0 0
[grid@sqlservrer-PC ~]$ id oracle
uid=500(oracle) gid=501(oinstall) groups=501(oinstall),500(dba),503(asmadmin),504(asmdba),505(asmoper)
rid@sqlservrer-PC ~]$ id grid
uid=501(grid) gid=501(oinstall) groups=501(oinstall),500(dba),503(asmadmin),504(asmdba),505(asmoper)
4.
4. Check if file permissions in <Grid_home>/bin/oracle executable are set properly, it should be 6751.ok
$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s–x 1 grid oinstall 200678430 Jun 16 12:44 /app/11.2.0/grid/bin/oracle
5. ile or directory
[grid@sqlservrer-PC ~]$ ls -alt $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 grid oinstall 209914513 Sep 17 20:02 /ora
6. Check asm disk permissions, with two users it should be : grid — asmadmin
$ ls -ltr /dev/oracleasm/disks/
6.
[grid@sqlservrer-PC ~]$ ls -altR /dev/oracleasm/disks
/dev/oracleasm/disks:
total 0
brw-rw---- 1 grid asmadmin 8, 5 Sep 19 14:48 DATA1
brw-rw---- 1 grid asmadmin 8, 6 Sep 19 14:48 FRA1
brw-rw---- 1 grid asmadmin 8, 8 Sep 19 12:43 FRA2
brw-rw---- 1 grid asmadmin 8, 7 Sep 19 12:42 DATA2
drwxr-xr-x 1 root root 0 Sep 19 10:11 .
drwxr-xr-x 4 root root 0 Sep 19 10:11 ..
[grid@sqlservrer-PC ~]$
5.Checked Metalink apparently here is the answer. There should be nothing wrong if you follow the above four(4)
procedures and the output is good. Problem is when you click on ASM, click on OMF, then you have to click
on the open pane several times before the window with Disk Groups appears. Took 4 secs for it to appear.
It will not be immediate.
Maybe you are looking for
-
IPhone 5S call quality / volume issue. Please help.
Hi, Please can anyone help? I have an iPhone 5S and callers frequently complain (9 out of 10) that the volume fades in and out and my voice sometimes sounds robotic, i.e. digital interference. I always hold the iPhone in the same manner as any other
-
Error while uploading the attachement in IW32.
Hi, Getting the error message "Include file in PC application Try again?" in the message box "Read Error during PC Upload" while uploading the attachement in IW32.
-
I'm trying to copy files to an OSX server (v.10.4.11) and often get -36 errors. What does this code mean and how can I solve this issue? I tried copying from Windows and other 10.4 computers and it seems to work, but when I copy from OS10.5 clients,
-
I know that mDNSresponder and nmbd and krb5kdc are normal parts of Apple software (according to messages I've read here), but these warnings, including a message about my time and date being wrong, have appeared two days running now. What causes them
-
Help with scroll volume bar on pavilion dv6-1330sa
I've had a few problems for a while now on this computer but my touch screen volume slide bar stopped working a few months ago. can someone please explain how to get it fixed i will need an exact description as i am in no way a proffesional on a lapt