ORA-15032 when mounting a diskgroup in a remote node
Hi all,
Oracle 10g R2 (10.2.0.4)
Windows 2003 SP2 Server
I successfully went through the steps of creating an Oracle RAC of two nodes rac1 and rac2 till I reached to creating ASM step.
To create an ASM, I issused dbca from rac1 and created an ASM instance. The issue appeared when I created the Diskgroup.
After selecting the disk and clicking on OK, I got the following error:
http://www.ahmedbaraka.com/temp/errorsnapshot.png
Following are the generated log files in rac1:
C:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\trace.log http://www.ahmedbaraka.com/temp/trace.log
C:\oracle\product\10.2.0\db_1\log\rac1\racg\ora.rac1.ASM1.asm.log http://www.ahmedbaraka.com/temp/ora.rac1.ASM1.asm.log
Following are the generated log files in rac2:
C:\oracle\product\10.2.0\admin\+ASM\bdump\alert_+asm2.log http://www.ahmedbaraka.com/temp/alertasm2.log
Any hint is appreciated as I'm stuck with this for a couple of days.
Hi Philippe Florent,
You were right about the version, so I applied the patch and redid the procedure. Unfortunately, I still face exactly the same error.
I also made sure when I make changes on a disk in rac1 (in Windows level), it is automatically seen by rac2.
Below are links of the new logs and pfiles:
http://www.ahmedbaraka.com/temp/alertasm22.log
http://www.ahmedbaraka.com/temp/trace2.log
http://www.ahmedbaraka.com/temp/rac1pfile.ora
http://www.ahmedbaraka.com/temp/rac2pfile.ora
Output of the commands you asked about:
# RAC1
SQL> select name, state from v$asm_disk ;
NAME STATE
NORMAL
DGDATA1_0000 NORMAL
# RAC2
1* select name, state from v$asm_disk
SQL> /
NAME STATE
NORMAL
NORMALThanks in advance.
Similar Messages
-
ORA-24544 When Creating a Standby From RAC One Node
I have a RAC One Node database running on node A and am attempting to create a Data Guard standby on node B using the following RMAN command -
duplicate target database for standby from active database
Error returned is -
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/10/2015 11:11:06
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-24544: Oracle RAC One Node instance is already running.
Can anyone advise ?
Thanks in advanceHi,
ORA-24544: Oracle RAC One Node instance is already running.
Cause: An instance startup failed because an instance of the Oracle RAC One Node database was already running on one of the cluster nodes.
Action: In Oracle RAC One Node, avoid any attempt to start a second instance by any means while the instance is already running.
I have never used One Node RAC, but it looks like RMAN trying to start an offline instance of current One Node RAC on Node B.
HTH,
Pradeep -
ORA-15032 and ORA-15177 alter diskgroup rename directory
Hi,
Oracle 11.2.0.1, Oracle Linux 5.5
I would like to do some RMAN testing and for this reason rename an existing directory in an ASM diskgroup, temporarily.
The database 'orcl' instance is shutdown. I have tried the following using the ASM/Grid environment:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL';
alter diskgroup DATA rename directory '+DATA/ORCL' TO '+DATA/OLDORCL'
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15177: cannot operate on system aliases
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y ASM/
Y ORCL/
Y RCAT/
ASMCMD> ls -l ORCL
Type Redund Striped Time Sys Name
Y CONTROLFILE/
Y DATAFILE/
Y ONLINELOG/
Y PARAMETERFILE/
Y TEMPFILE/
N spfileorcl.ora => +DATA/ORCL/PARAMETERFILE/spfile.270.737565081I also removed the alias inside the ORCL directory, but it does not help. How can I rename the directory?
Thanks.Hi,
Unfortunately we can not do this. It's a shame.
ASM disk groups contain a system-generated hierarchical directory structure for storing ASM files. System created directories (those containing system-generated names) cannot be renamed.
http://download.oracle.com/docs/cd/E11882_01/server.112/e16102/asmfiles.htm#CIHGHHCC
See this note below.. Maybe this can help you.
*How to rename/move a datafile in the same ASM diskgroup [ID 564993.1]*
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6
Regards,
Levi Pereira
http://levipereira.wordpress.com -
ORA-15032,ORA-15040:,ORA-15042:
hi,
unfortunatly our server get rebooted after taht we are try to start ASM instance then we got below error
ora-15040 diskgroup is incomplete ORA-15042 ASM Disk"2" is missing.but we are checking from OS side all disk are OK.all the Diskgroup are in external rededuncy.
GROUP_NUMBER NAME TYPE OFFLINE_DISKS U STATE
1 DG_GROUP1 EXTERN 0 N MOUNTED
2 DG_GROUP2 EXTERN 0 N MOUNTED
3 DG_GROUP4 EXTERN 0 N MOUNTED
0 DG_GROUP3 0 N DISMOUNTED
when i m mount th diskgroup usging below query we have got error
SQL> alter diskgroup DG_GROUP3 mount;
alter diskgroup DG_GROUP3 mount
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "2" is missing
what steps we need to perform to start the ASM does it causeess the data loss.how we can recover the database.
thanks,Hi;
1. Check this disk avaliable or not
2. There are seeded ASM forum site. I suggest close your issue here as answered than move your issue Forum Home » High Availability »Automatic Storage Management which is dedicated forum site.
Regard
Helios -
Can't mount diskgroup on second RAC node (ss3)
I have a newly created 11g (Oracle 11.1.0.6) RAC database consisting of two nodes (SS1 and SS3).
Installed CRS and everything is working normal: crs_stat -t -v shows:
Name Type R/RA F/FT Target State Host
ora....Y1.inst application 0/5 0/0 ONLINE ONLINE ss1
ora....Y2.inst application 0/5 0/0 ONLINE OFFLINE
ora.SY.db application 0/0 0/1 ONLINE ONLINE ss3
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE ss1
ora....S1.lsnr application 0/5 0/0 ONLINE ONLINE ss1
ora.ss1.gsd application 0/5 0/0 ONLINE ONLINE ss1
ora.ss1.ons application 0/3 0/0 ONLINE ONLINE ss1
ora.ss1.vip application 0/0 0/0 ONLINE ONLINE ss1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE ss3
ora....S3.lsnr application 0/5 0/0 ONLINE ONLINE ss3
ora.ss3.gsd application 0/5 0/0 ONLINE ONLINE ss3
ora.ss3.ons application 0/3 0/0 ONLINE ONLINE ss3
ora.ss3.vip application 0/0 0/0 ONLINE ONLINE ss3
Installed ASM in it's own ORACLE_HOME. From ss1 I see:
SELECT group_number, disk_number, mount_status, header_status, state, path FROM v$asm_disk;
GROUP_NUMBER DISK_NUMBER MOUNT_S HEADER_STATU STATE PATH
1 0 CACHED MEMBER NORMAL /dev/rdsk/c4t600C0FF0000000000B5DB04B603F9500d0s6
2 0 CACHED MEMBER NORMAL /dev/rdsk/c4t600C0FF0000000000B5DB04B603F9500d0s7
SELECT name, label FROM v$asm_disk;
NAME LABEL
DATA_0000
RECOVERY_0000
But, from ss3 I see:
SELECT group_number, disk_number, mount_status, header_status, state, path FROM v$asm_disk;
no rows selected
SELECT name, label FROM v$asm_disk;
NAME LABEL
DATA_0000
RECOVERY_0000
ALTER DISKGROUP DATA MOUNT;
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
I am using multipathed I/O ~ which I believe is significant from the info on multiplexed I/O in the Storage Administrator's Guide here:
[http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmprepare.htm#BHCJBJFD]
/u01/app/product/11.1.0/asm/dbs/init.ora on both nodes has:
asm_diskstring='/dev/rdsk/*'
Any troubleshooting help is much appreciated.Just for information:
make sure the owner of the database can read/write in the ASM devices.
i.o.w. If you have installed ASM under a different user than your database (for example - asm is installed with oracle and your database with oradb), you must make sure user oradb can read/write in the devices as well. Otherwise, you won't be able to startup your database either. Solve this by putting both users in the dba group and give the dba group read/write permission on the devices.
Arnoud -
ORA-15100: invalid or missing diskgroup name in 11g ASM
We have 11g R2 DB and 11g ASM installed on linux server, it was working till morning,due to some maintenance we rebooted server, then i am trying to bring up asm instance, its falling with below error.
[oracle@adg dbs]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 16 16:15:57 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
SQL> startup force pfile='/u01/app/11.2.0/grid/dbs/init+ASM.ora';
ASM instance started
Total System Global Area 284565504 bytes
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ORA-15110: no diskgroups mounted
SQL> show parameter string
NAME TYPE VALUE
asm_diskstring string DATA, DATA1
SQL> shut immediate
ORA-15100: invalid or missing diskgroup name
ASM instance shutdown
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
[oracle@adg dbs]$ vi init+ASM.ora
[oracle@adg dbs]$ /etc/init.d/oracleasm listdisks
DISK1
DISK2
[[root@adg ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 2/625504078
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: ALTER DISKGROUP RECOVERY_AREA MOUNT /* asm agent */
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc ; (incident=8105):
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/asm/+asm/+ASM/incident/incdir_8105/+ASM_rbal_6520_i8105.trc
ERROR: ORA-600 in COD recovery for diskgroup 1/0xfe086f4c (DATA)
ERROR: ORA-600 thrown in RBAL for group number 1
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
RBAL (ospid: 6520): terminating the instance due to error 488
Tue Aug 16 15:47:03 2011
ORA-1092 : opitsk aborting process
Tue Aug 16 15:47:04 2011
Instance terminated by RBAL, pid = 6520
Tue Aug 16 15:51:08 2011
Starting ORACLE instance (normal)I tried already.
SQL> select disk_number, name, label, path, mount_status,HEADER_STATUS, state from v$asm_disk
2 ;
DISK_NUMBER NAME LABEL
PATH
MOUNT_S HEADER_STATU STATE
1 DISK2
ORCL:DISK2
CLOSED MEMBER NORMAL
0 DISK1
ORCL:DISK1
CLOSED MEMBER NORMAL
DISK_NUMBER NAME LABEL
PATH
MOUNT_S HEADER_STATU STATE
SQL> alter diskgroup recovery_area mount;
alter diskgroup recovery_area mount
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup
"RECOVERY_AREA"
SQL>
here is alert log information
==================
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/11.2.0/grid/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =0
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option.
Using parameter settings in client-side pfile /u01/app/11.2.0/grid/dbs/init+ASM.ora on machine adg.xxxx.com
System parameters with non-default values:
large_pool_size = 12M
instance_type = "asm"
remote_login_passwordfile= "EXCLUSIVE"
asm_diskstring = ""
asm_power_limit = 1
diagnostic_dest = "/u01/app/oracle"
Tue Aug 16 16:32:26 2011
PMON started with pid=2, OS id=11558
Tue Aug 16 16:32:26 2011
VKTM started with pid=3, OS id=11560 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Tue Aug 16 16:32:26 2011
GEN0 started with pid=4, OS id=11564
Tue Aug 16 16:32:26 2011
DIAG started with pid=5, OS id=11566
Tue Aug 16 16:32:26 2011
PSP0 started with pid=6, OS id=11568
Tue Aug 16 16:32:26 2011
DIA0 started with pid=7, OS id=11570
Tue Aug 16 16:32:27 2011
MMAN started with pid=8, OS id=11572
Tue Aug 16 16:32:27 2011
DBW0 started with pid=9, OS id=11574
Tue Aug 16 16:32:27 2011
LGWR started with pid=10, OS id=11576
Tue Aug 16 16:32:27 2011
CKPT started with pid=11, OS id=11578
Tue Aug 16 16:32:27 2011
SMON started with pid=12, OS id=11580
Tue Aug 16 16:32:27 2011
RBAL started with pid=13, OS id=11582
Tue Aug 16 16:32:27 2011
GMON started with pid=14, OS id=11584
Tue Aug 16 16:32:27 2011
MMON started with pid=15, OS id=11586
Tue Aug 16 16:32:27 2011
MMNL started with pid=16, OS id=11588
ORACLE_BASE from environment = /u01/app/oracle
Tue Aug 16 16:32:27 2011
SQL> ALTER DISKGROUP ALL MOUNT
Tue Aug 16 16:34:23 2011
SQL> alter diskgroup recovery_area mount
NOTE: cache registered group RECOVERY_AREA number=1 incarn=0x100b432b
NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0x100b432b
Tue Aug 16 16:34:24 2011
NOTE: Loaded library: /opt/oracle/extapi/32/asm/orcl/1/libasm.so
Tue Aug 16 16:34:24 2011
ERROR: no PST quorum in group: required 2, found 0
NOTE: cache dismounting (clean) group 1/0x100B432B (RECOVERY_AREA)
NOTE: dbwr not being msg'd to dismount
NOTE: lgwr not being msg'd to dismount
NOTE: cache dismounted group 1/0x100B432B (RECOVERY_AREA)
NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0x100b432b
kfdp_dismount(): 2
kfdp_dismountBg(): 2
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 1/269173547
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: alter diskgroup recovery_area mount
Tue Aug 16 16:34:53 2011
SQL> alter diskgroup recovery_area mount
NOTE: cache registered group RECOVERY_AREA number=1 incarn=0xc86b4331
NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0xc86b4331
Tue Aug 16 16:34:53 2011
ERROR: no PST quorum in group: required 2, found 0
NOTE: cache dismounting (clean) group 1/0xC86B4331 (RECOVERY_AREA)
NOTE: dbwr not being msg'd to dismount
NOTE: lgwr not being msg'd to dismount
NOTE: cache dismounted group 1/0xC86B4331 (RECOVERY_AREA)
NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0xc86b4331
kfdp_dismount(): 4
kfdp_dismountBg(): 4
ERROR: diskgroup RECOVERY_AREA was not mounted
NOTE: cache deleting context for group RECOVERY_AREA 1/-932494543
ORA-15032: not all alterations performed
ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
ERROR: alter diskgroup recovery_area mount -
ORA-01152 when restoring from RMAN backupset in NOARCHIVELOG mode
Hi all,
I got the error ORA-01152 when I tried restoring an Oracle 10g R1 database from an RMAN backupset into a new server. The error returned when it reached to the level of opening the database in resetlogs.
The database runs on NOARCHIVELOG mode and on Windows 2003 Server SP2 32-bit.
Following is what I did in RMAN:
set ORACLE_HOME=D:\oracle\product\10.1.0\db_1
set ORACLE_SID=DAWA
set PATH=D:\oracle\product\10.1.0\db_1\bin;%PATH%
cd %ORACLE_HOME%\bin
rman target sys/mypassword
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Feb 13 00:36:55 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount pfile=X:\temp\DawaPFILE.ORA
connected to target database (not started)
Oracle instance started
Total System Global Area 1048576000 bytes
Fixed Size 792200 bytes
Variable Size 551807352 bytes
Database Buffers 494927872 bytes
Redo Buffers 1048576 bytes
RMAN> restore controlfile from
'X:\temp\Flash_Rec\DAWA\AUTOBACKUP\2011_07_16\O1_
MF_S_756655133_7226R018_.BKP';
Starting restore at 19-JUL-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=270 devtype=DISK
channel ORA_DISK_1: restoring controlfile
channel ORA_DISK_1: restore complete
output filename=D:\ORACLE\ORADATA\DAWA\CONTROL01.CTL
output filename=D:\ORACLE\ORADATA\DAWA\CONTROL02.CTL
output filename=D:\ORACLE\ORADATA\DAWA\CONTROL03.CTL
Finished restore at 17-AUG-11
alter database mount;
database mounted
catalog backuppiece 'X:\temp\PUMHJATD_1_1';
catalog backuppiece 'X:\temp\PTMHJ91Q_1_1';
/* Rename the Redologfiles,so that they can be created in new locations
the database is opened in resetlogs */
SQL>conn sys as sysdba
-- get registered files from SELECT * FROM V$LOGFILE
SQL> alter database rename file
'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO01.LOG' to
'X:\oracle\oradata\dawa\REDO01.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO02.LOG'
to 'X:\oracle\oradata\dawa\REDO02.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO03.LOG'
to 'X:\oracle\oradata\dawa\REDO03.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO04.LOG'
to 'X:\oracle\oradata\dawa\REDO04.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO05.LOG'
to 'X:\oracle\oradata\dawa\REDO05.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO06.LOG'
to 'X:\oracle\oradata\dawa\REDO06.LOG';
alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO07.LOG'
to 'X:\oracle\oradata\dawa\REDO07.LOG';
/* Now in RMAN: restore the datafiles
to new locations and recover. */
RMAN> run{
set newname for datafile
'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS201' TO
'D:\oracle\oradata\dawa\UNDOTBS201';
set newname for datafile
'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS202' TO
'D:\oracle\oradata\dawa\UNDOTBS202';
restore database;
switch datafile all;
alter database open resetlogs;
.../* alter database open resetlogs returned the errors: */
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 08/18/2011 08:44:45
ORA-01152: file 2 was not restored from a sufficiently old backup
ORA-01110: data file 2: 'D:\ORACLE\ORADATA\DAWA\UNDOTBS206'Thanks in advance.SYS @ DAWA> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SYS @ DAWA> startup mount
ORACLE instance started.
Total System Global Area 1048576000 bytes
Fixed Size 792200 bytes
Variable Size 551807352 bytes
Database Buffers 494927872 bytes
Redo Buffers 1048576 bytes
Database mounted.
SYS @ DAWA> recover database using backup controlfile until cancel;
ORA-00279: change 329012 generated at 03/08/2005 16:24:46 needed for thread 1
ORA-00289: suggestion :
X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC
ORA-00280: change 329012 for thread 1 is in sequence #6
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'X:\ORACLE\ORADATA\DAWA\SYSTEM01.DBF'You can download the alert log from here:
http://ahmedbaraka.com/temp/alertdawa.log -
Problem with Dataguarg ORA-01102: cannot mount database in EXCLUSIVE mode
Hi,
I'm trying to create a physical standby database on my Oracle9i DB runing
on WinXP.
Note: I have both Primary and Standby on the same system.
Actually everything went well .... I did created the standby DB but the problem
is I can not start my primary DB if my standby DB is mounted.
I get this error:
ORA-01102: cannot mount database in EXCLUSIVE mode
And when I read about the error message I learnt that I should start my DB in
compatible mode ... please how do I do that?
Or possibly how can I make this work.
Regards,
CherishActually, I remember doing that in the Pry pfile but cannot really remember if I do that in the standby pfile.
I'll check and get back to you.
I'm very grateful for that.
Regards,
Cherish -
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-19007 when coping a table with an xml type in it to a new schema in the
ORA-19007 when coping a table with an xml type in it to a new schema in the same database.
Hi all,
When I copy a table with an xml type in it to a new schema in the same database I get an ora-19009.
The setup is as follows I have a schema a with table TABLE_WITH_XMLTYPE where data is:
CREATE
TABLE TABLE_WITH_XMLTYPE
FOLDER_ID NUMBER (10, 0) NOT NULL,
SEARCH_PROPERTIES XMLTYPE ,
CONSTRAINT TABLE_WITH_XMLTYPE PK PRIMARY KEY (FOLDERID) USING INDEX
XMLTYPE COLUMN SEARCH_PROPERTIES XMLSCHEMA
"http://xxxxxxx.net/FolderProperties.xsd" element "FolderProperties"
VARRAY SEARCH_PROPERTIES."XMLDATA"."PROPERTIES"."PROPERTY" STORE AS TABLE
PROPERTY_TABLE
(PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX)) ORGANIZATION INDEX OVERFLOW
Both schemas have the following xml schema registered as a local xml schema
BEGIN
DBMS_XMLSCHEMA.registerSchema(
SCHEMAURL => 'http://xxxxxxx.net/FolderProperties.xsd',
SCHEMADOC =>
'<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb"
xdb:storeVarrayAsTable="true">
<xs:element name="FolderProperties"
type="FolderPropertiesType"
xdb:defaultTable="FOLDER_SEARCH_PROPERTIES" />
<xs:complexType name="FolderPropertiesType" xdb:SQLType="FOLDERPROPERTIES_T">
<xs:sequence>
<xs:element name="FolderID" type="FolderIDType" minOccurs="1" xdb:SQLName="FOLDER_ID"/>
<xs:element name="Properties" type="PropertiesType" xdb:SQLName="PROPERTIES"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PropertiesType" xdb:SQLType="PROPERTIES_T">
<xs:sequence>
<xs:element name="Property" type="PropertyType" maxOccurs="unbounded"
xdb:SQLName="PROPERTY" xdb:SQLCollType="PROPERTY_V"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PropertyType" xdb:SQLType="PROPERTY_T">
<xs:sequence>
<xs:element name="DateValue" type="DateType" xdb:SQLName="DATE_VALUE"/>
<xs:element name="NumValue" type="NumType" xdb:SQLName="NUM_VALUE"/>
<xs:element name="StringValue" type="StringType" xdb:SQLName="STRING_VALUE"/>
</xs:sequence>
<xs:attribute name="Name" xdb:SQLName="NAME" xdb:SQLType="VARCHAR2">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="FolderIDType">
<xs:restriction base="xs:integer"/>
</xs:simpleType>
<xs:simpleType name="DateType">
<xs:restriction base="xs:dateTime"/>
</xs:simpleType>
<xs:simpleType name="NumType">
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
<xs:simpleType name="StringType">
<xs:restriction base="xs:string" />
</xs:simpleType>
</xs:schema>',
LOCAL => TRUE,
GENTYPES => TRUE,
GENTABLES => FALSE);
END;
when I try to do the following insert:
insert into schemaB.TABLE_WITH_XMLTYPE ( FOLDER_ID, SEARCH_PROPERTIES)
select FOLDER_ID, SEARCH_PROPERTIES from schemaB.TABLE_WITH_XMLTYPE;
I’ll get an ora-19007.
Can some one point me in the right direction how to solve this error.
Thanks Roelof.Who did you create the second table, in other words, how did you COPY the table as you said...
If you created the second table via a CTAS (create table as select) then you will have created a table that is not the same as the original one. AFAIK I have once created an enhancement request for this after discovering that JDeveloper, for example, creates a "copy" via a CTAS which creates the wrong structure. Double check via package DBMS_METADATA.
SQL> set long 1000000
SQL> select DBMS_METADATA('TABLE','TABLE_WITH_XMLTYPE','SchemaA') from dual;
SQL> select DBMS_METADATA('TABLE','TABLE_WITH_XMLTYPE','SchemaB') from dual;If you have got two different tables, than Mark's solution should help.
M.
Edited by: Marco Gralike on Feb 15, 2009 11:16 AM -
Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER
hi all
I am installing ERP 6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
DD03L.log
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Apr 3 2009 09:03:56
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(RTF) ########## WARNING ###########
Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
(TPL) ERROR: unknown template variable "tablespace"
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
import_monitor.log
ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
Loading of 'DD03L' import package is interrupted with R3load error.
Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
For mode details see 'DD03L.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
WARNING: 2009-08-12 10:22:25
Cannot start import of packages with views because not all import packages with tables are loaded successfully.
WARNING: 2009-08-12 10:22:25
1 error(s) during processing of packages.
INFO: 2009-08-12 10:22:25
Import Monitor is stopped.
sapinst_dev.log
ERROR 2009-08-12 10:22:25.718
CJSlibModule::writeError_impl()
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
TRACE 2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
ERROR 2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
FCO-00011 The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
TRACE 2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
TRACE 2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
sapinst.log
WARNING 2009-08-12 10:22:25.718
Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
java version "1.4.2_21"
Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
Loading of 'DD03L' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
ERROR 2009-08-12 10:22:25.718
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
ERROR 2009-08-12 10:22:25.734
FCO-00011 The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
any idea
Regards
ABHhi
All logs are above (include import_monitor.log and java)
thanks -
URGENT : ORA 302000 when using TEXT_IO.fopen
Hi,
I get this error ORA 302000 when using TEXT_IO package, the code I use is
new_file:=text_io.fopen('c:\text.txt','r')
i don't have the description of this ORA 302000 , pls does anyone have it?Hi,
I know it's been 2 years but it's still up to date for me.
I tried the suggested piece of code to trace the error but it did not bring anything more
EXCEPTION
When Others then
srw.Message( 2, 'EXCEPTION ' || SQLCODE || ' in common package. Can not open the file ');
IF SQLCODE = -302000 then
LOOP
EXIT WHEN TOOL_ERR.NERRORS = 0;
SRW.MESSAGE( 667, TO_CHAR(TOOL_ERR.CODE) || ': ' || TOOL_ERR.MESSAGE);
TOOL_ERR.POP;
END LOOP;
END IF;
srw.Message( 3, 'EXCEPTION ' || SQLCODE || ' in com package. Can not open the file ' || I_Desname || ' : ' || SQLERRM );
Only Message 2 and 3 are displayed in the trace file
Any other suggestion?
Manu -
ORA-3297 when attempting to resize a datafile to a small size
Hello,
I have a tablespace tbspace_A which has 3 datafiles. There are numerous segments in tbspace_A. This tablespace grew to 80 gigs while lots of inserts were performed on tables. Now those tables are either dropped or have records deleted dramatically. Now I want to reduce the tablespace from 80 gigs to 50 gigs so I can return the unused space to the o/s. I am getting error ORA-3297 when trying to reduce a datafile /oradata/tbspace_A03.dbf belong to tbspace_A.
My task now is to:
1) Find the segments that occupy /oradata/tbspace_A03.dbf datafile
2) alter table table_name99 move tablespace scratch_tbspace;
3) alter table table_name99 move tbspace_A;
4) Attemp again to resize(smaller) the /oradata/tbspace_A03.dbf
so to return disk space to the o/s.
Is this the correct method?
Is there a better method?
What are the gotchas?
Thank you.This is the procedure to follow, the gotchas I see are:
1. Watch out for relational constraints
2. Rebuild indexes afterwards
3. You may use the move command, unless the table has LONG/LONG RAW columns.
You could use Enterprise Manager and/or oracle expdp/impdp to perform the remapping tasks (10g).
~ Madrid -
ORA-03113 when using connect by in a report query ?
Hi,
Oracle 10g r2, ApEx 4.0.2.
I have a classic report on page zero, I need the following query to display my data :
select
distinct '<input class="radio_report_search_photos" name="radio_selected_photo" type="radio" />' as "Sel",
phot_id,
phot_description,
'<img alt="" id="thumb_'||phot_id||'" class="clickable_thumb" src="#OWNER#.show_photo?v_id_photo='||phot_id||'" />' as "Thumb",
substr(SYS_CONNECT_BY_PATH(kw_text, ', '),3) keyword_list
from
select
phot_id,
phot_description,
kw_id,
kw_text,
pkw_kw_id,
pkw_phot_id,
count(*) OVER(partition by phot_id ) cnt,
ROW_NUMBER() OVER(partition by phot_id order by kw_text) seq
from
photos,
photos_keywords,
keywords
where
phot_id = pkw_phot_id
and pkw_kw_id = kw_id
and contains(kw_text,nvl(:P0_SEARCH_PHOTO_KW,'%')) > 0
where
seq = cnt
start with
seq = 1
connect by prior
seq+1 = seq
and prior
phot_id = phot_idIt works great when executing from any software. I get the expected results.
But yhen I try to put it in the report region source, I get an ORA-03113 when I apply changes...
It works if I remove CONNECT BY PRIOR and SYS_CONNECT_BY_PATH from the query.
Why ?
Thanks.
Details :
url : https://my_host.ch/pls/htmldb_dev/wwv_flow.accept
Error :
Fri, 22 Jul 2011 09:25:38 GMT
ORA-03113: end-of-file on communication channelOK I now use xmlagg & xmlelement instead of connect by.
Sorry for not providing any solution.
Yann. -
Error ORA-06502 When using function REPLACE in PL/SQL
Hi,
I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length)
variable var_a is of type CLOB
and the assignment statement where it gives the error is
var_a := REPLACE(var_a, '^', ''',''');
Can anyone please help!
ThanksEven then that shouldn't do so:
SQL> select overload, position, argument_name, data_type, in_out
2 from all_arguments
3 where package_name = 'STANDARD'
4 and object_name = 'LPAD'
5 order by 1,2
6 /
OVERLOAD POSITION ARGUMENT_NAME DATA_TYPE IN_OUT
1 0 VARCHAR2 OUT
1 1 STR1 VARCHAR2 IN
1 2 LEN BINARY_INTEGER IN
1 3 PAD VARCHAR2 IN
2 0 VARCHAR2 OUT
2 1 STR1 VARCHAR2 IN
2 2 LEN BINARY_INTEGER IN
3 0 CLOB OUT
3 1 STR1 CLOB IN
3 2 LEN NUMBER IN
3 3 PAD CLOB IN
4 0 CLOB OUT
4 1 STR1 CLOB IN
4 2 LEN NUMBER INI wonder what happened?
Maybe you are looking for
-
I have a Iphone 4 and after the last software update iOS.0.4, my phone is no longer connecting to the wifi at my house. My MacBook Air is connected and my roommates phones are also connected, but my iphone that always was connected to the same networ
-
Disk Utility verification says my HD is corrupt, MBP shutdowns unexpectedly
Hello, I just purchased my MBP in February and am ****** to be running into a problem only five months in owning the machine. I'm a little frantic right now as I am in South Africa for study abroad and do not have my installation disks with me (left
-
ADE 4 Crashes on Mac When Opening a Borrowed Library Book
I borrowed "Game of Thrones" from my public library, in eBook format of course, and it crashes ADE 4.x on my Mac 10.10.2. I downgraded ADE to 2.01 and the book open fine. How do I send a bug report to Adobe on this? I can repeat the bug every time
-
System.setProperty not being recognised by JVM
Hi, I am trying to change my heap size for an Applet without having to get my users to set -Xmx in their plugIns. To do this I am trying to set the System Parameter javaplugin.maxHeapSize programmatically using:- System.out.println("MaxHeapSIze = " +
-
How to exchange big files between mac users through the internet?
How can we send and receive big files between Mac users (apart from Dropbox) ?