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
Similar Messages
-
ORA-01511:error in renaming data file & ORA-01516: nonexistent data file
Hi all,
DB version is 10.2.0.2 and Applications 12.0.6 on RHEL 4
While creating data file mistakenly we created with '?' as follows:
"/d01/CRP/db/apps_st/data/tx_?data53.dbf"
After that we tried to rename those data file using below steps but we are geting error message as follows:
1.SQL>ALTER TABLESPACE APPS_TS_TX_DATA OFFLINE NORMAL; at DB in OPEN stage
2.$mv /d01/CRP/db/apps_st/data/tx_?data53.dbf /d01/CRP/db/apps_st/data/tx_data53.dbf
3.ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf';
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile
"/d01/CRP/db/apps_st/data/tx_?data53.dbf"
After that we tried to revert back by moving to original name usinf os commnds i.e tx_?data53.dbf and tried to open the database as follows but getting error message as follows:
SQL> startup mount
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 440402692 bytes
Database Buffers 620756992 bytes
Redo Buffers 11317248 bytes
Database mounted.
SQL> recover database;
Media recovery complete.
SQL> alter database open ;
alter database open
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Please help us t oresolve the Issue
Edited by: 912734 on Feb 15, 2012 2:43 AMErrors in alert log file:
ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
Wed Feb 15 15:38:58 2012
ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
Wed Feb 15 15:40:10 2012
ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'
Wed Feb 15 15:40:10 2012
ORA-1525 signalled during: ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_ data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf'...
ALTER TABLESPACE APPS_TS_TX_DATA ONLINE
Wed Feb 15 15:41:09 2012
Errors in file /d01/CRP/db/tech_st/10.2.0/admin/CRP2_oraapps/bdump/crp2_dbw0_1605.trc:
ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
ORA-01110: data file 11: '/d01/CRP/db/apps_st/data/tx_
data53.dbf'
ORA-27037: unable to obtain file status -
ORA-25150 Altering of extent parameters not allowed
I had created an index as below
SQL> create index sys.emp_name_idx
2> on sys.emp(emp_name)
3> pctfree 30
4> storage( initial 200k next 200k pctincrease 0 maxextents 50)
5> tablespace indx;
Index Created.
Now i am trying to alter storage parameters of the index as below:-
SQL> Alter index emp_name_idx
2> storage( next 400k maxextents 100);
ERROR AT LINE 1
ora 25150 - aLTERING OF EXTENT PARAMETERS NOT PERMITTED
PLZ HELP!!!
Edited by: UNMESH on Jun 20, 2011 1:45 AMError: ORA-25150
Text: ALTERING of extent parameters not permitted
Cause: An attempt was made to alter the extent parameters for a segment in a
tablespace with autoallocate or uniform extent allocation policy.
Action: Remove the appropriate extent parameters from the command. -
I have created a folder and album where I've renamed the images, yet when I export them, the default to their original numbering. How can I block that so I can keep the newly renamed images as I've renamed them?
As TD pointed out:
OT -
Did anyone have seen this behavior?
DB version : 11.1.0.7
OS : HP-UX Itanum
EBS -11.5.10.2
We are doing daily refresh/clone of a database instance from production. Recently we are seeing the growth of $ORACLE_HOME/dbs directory during this
refresh. During investigation we find out that
1) When we rename the database files after database restoration. Each below command genrating the 24MB of log file under $ORACLE_HOME/dbs.
Command :
alter database rename file '/db02/prod/XDB.dbf' to '/db02/test/XDB.dbf';
alter database rename file '/db02/prod/a_archive01.dbf' to '/db02/test/a_archive01.dbf';
Logfiles under $ORACLE_HOME/dbs on target :
-rw-r----- xxxxx 24379392 Sep 20 05:30 ./dbs/c-1437102747-20130920-02
-rw-r----- xxxxx 24379392 Sep 20 05:30 ./dbs/c-1437102747-20130920-03
2) After few minutes, these logs got removed from the directory.
3) Did not find anything unusual in the alert log.These are controlfile autobackups. Every time you make a physical change to the database structure, an autobackup is created. In 11.2, the frequency is reduced -- for example if you make 5 changes in quick succession, one autobackup is created.
CONTROLFILE AUTOBACKUP ON would be visible when you do a SHOW ALL in rman.
Hemant K Chitale -
How do I create buttons that once clicked and un clicked, alter an image?
So for example if I imported a psd file into Muse with 5 layers, could i create 5 buttons which, when clicked, each individually took off and added 1 layer?
Basically this should make what i'm trying to say clear (when it's loaded click the arrow and you'll see): http://lust.nl/lustArchive/noordzee/noordzee.html
Appreciate any helpHi Joe,
Please use this option to hide the target on click - http://prntscr.com/3plqn0
- Abhishek Maurya -
How to upload and download a files into AL11 directory in ABAP
Hi,
How to upload and download a files into AL11 directory in ABAP
thanks
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Mar 21, 2011 9:18 AMYou should try one of these forums for an answer to your question:
http://swforum.sun.com/jive/forum.jspa?forumID=116
http://community.java.net/netbeans
http://linux.java.net -
how can I get authentication and authorization through OS X open directory with the Sun ZFS STOR ZS3-2
I have configure NFS, I need help configuring the share that I created in the Sun ZFS STOR ZS3-2 to connect with the OS X Open DirectoryHi,
You may try checking the help page for ldap configuration :
https://<Appliance_IP>:215/wiki/index.php/Configuration:Services:LDAP
ZFS Storage supports LDAP, NIS, AD as directory service.
Hope Open Directory is also based on LDAP and may work in similar fashion.
Thanks
Nitin -
What is the significance of the blue, green and grey highlighted names in the directory used to text or iMessage? This is not about the messaging themselves, but the names to select to text or iMessage.
The entries in blue are people you've recently exchanged iMessages with, the ones in green are people with whom you've recently exchanged SMS messages and the ones in grey are people with whom you have not recently exchanged any messages.
-
Revision: 1607
Author: [email protected]
Date: 2008-05-07 17:02:39 -0700 (Wed, 07 May 2008)
Log Message:
Set svn:mime-type and svn:eol-style on LICENSE and NOTICE files in the lib directory.
Modified Paths:
flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txt
Property Changed:
flex/sdk/branches/3.0.x/lib/batik-LICENSE.txt
flex/sdk/branches/3.0.x/lib/batik-NOTICE.txt
flex/sdk/branches/3.0.x/lib/commons-collections-LICENSE.txt
flex/sdk/branches/3.0.x/lib/commons-discovery-LICENSE.txt
flex/sdk/branches/3.0.x/lib/commons-logging-LICENSE.txt
flex/sdk/branches/3.0.x/lib/commons-logging-NOTICE.txt
flex/sdk/branches/3.0.x/lib/mm-velocity-LICENSE.txt
flex/sdk/branches/3.0.x/lib/mm-velocity-NOTICE.txt
flex/sdk/branches/3.0.x/lib/xalan-LICENSE.txt
flex/sdk/branches/3.0.x/lib/xalan-NOTICE.txt
flex/sdk/branches/3.0.x/lib/xerces-LICENSE.txtThanks for your attention.
In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
[ 391.631] (II) intel(0): Printing probed modes for output LVDS1
[ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
[ 391.897] (II) intel(0): Printing probed modes for output HDMI1
[ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
itanguy ~ $ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1600x900 60.0*+ 40.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
1680x1050 59.9*+
1280x1024 75.0 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask... -
Hi APEX development team,
I get mad about an APEX import error which occurs maybe one time every second month.
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.
ORA-02047: cannot join the distributed transaction in progress <pre>
begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||''''; end; </pre>I described the error really detailed inside my APEX blog. The following links will help you understanding what I tried to find a solution for it:
[APEX error ORA-20001 and ORA-02047 during application import (1)|http://apex-at-work.blogspot.com/2008/11/apex-error-ora-20001-and-ora-02047.html]
[Again import error ORA-02047: cannot join the distributed... (2)|http://apex-at-work.blogspot.com/2008/11/again-import-error-ora-02047-cannot.html]
[Solution for APEX import error ORA-20001, ORA-02047 (3)|http://apex-at-work.blogspot.com/2008/11/solution-for-apex-import-error-ora.html]
Write now I have two options to solve the error:
1. Restart Oracle Application Server
2. Wait a couple of days with the import (restart of my client computer) and it works for a while again
Apex Version: 3.1.2
DB Version: Oracle XE database under Windows
Hope there is a chance to get some help about this annoying error.
King regards,
TobiasHi Joel, Scott and the rest of the community.
I went on determine the import problem. It occurred two more times since the last post.
First time:
This time was a bit different. I wanted to create a new workspace and got the error "ORA-02047: cannot join the distributed transaction in progress" when I clicked on the button to create a new workspace after I entered all information to it.
I restarted the OAS and worked again
Second time:
During an application import the error occurred again and I tried the following things:
As data owner (only one db link exist)
ALTER SESSION CLOSE DATABASE LINK DBMS_CLRDBLINK;Result no open database links to close
As sys (all database links)
-- The following script queries the DBA_DB_LINKS view to access link information:
SELECT * FROM DBA_DB_LINKS;
-- close of all database links
ALTER SESSION CLOSE DATABASE LINK username.db_link_name;
...Result no database links open. Try of import ended with same error.
Check of apex_public_user no (open) db_links. No objects locked.
I had to restart the OAS again.
Any ideas?
Regards,
Tobias -
Do I need to reapply grants and synonyms. Altering Rename for other schema
Hi,
We are following the process to replace some tables in UAT/PROD with new structure of tables.
So for example for Table A in Schema A:
Step1- Create TableA_NEW with the required structure and partitions.
Step2- Insert into TableA_NEW Select * from TableA.
Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
Now do I need to reapply all the grants and synonyms originally applied to TableA.
When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
Also when I rollback these changes and Rename the tables back to Original table.
Then do I need to Reapply all the grants and synonyms originally applied to TableA.
Please suggest..user8941550 wrote:
Hi,
We are following the process to replace some tables in UAT/PROD with new structure of tables.
So for example for Table A in Schema A:
Step1- Create TableA_NEW with the required structure and partitions.
Step2- Insert into TableA_NEW Select * from TableA.
Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA
Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table
Now do I need to reapply all the grants and synonyms originally applied to TableA.
When I test in Dev, all the grants and synonyms still hold. But I can't take any chances for UAT/PROD.
Also when I rollback these changes and Rename the tables back to Original table.
Then do I need to Reapply all the grants and synonyms originally applied to TableA.
Please suggest..
Step1- Create TableA_NEW with the required structure and partitions. New table - does not have grants
Step2- Insert into TableA_NEW Select * from TableA.
Step3- Alter Table TableA Rename to TableA_OLD --Take Backup of TableA Renamed table keeps grants. Synonym not valid at this point
Step4- Alter Table TableA_NEW Rename to TableA --Change the New table ti Original Table New table still does not have grants, synonym now valid
So, grants disappear but synonym will be valid at end of process. -
ORA-25150: ALTERING of extent parameters not permitted
hello all,
I am getting this error with my rman catalog db.
ORA-01653: unable to extend table RMAN.ROUT by 128 in tablespace USERS
USERS is locally managed , now how can i extend to unlimited as I can't with command
alter table rman.rout storage(maxextents unlimited)
I did increase size of tblsp but extents?
thxHi,
I request to search in forums, since you can find the solutions by your self with out any help.
Check the space from "dba_free_space" with respect to tablespace.
Add a New data file or Resize the data file
- Pavan Kumar N -
ORA-14136: ALTER TABLE EXCHANGE (FGAC/VPN)
I am getting this error when I am trying to do a partition exchange however the user id that is doing the exchange has been granted "expemt access policy" and the policy itself has been disabled. I can stop the error by dropping the policy but that is not a useful solution. Why am I getting this error and how do I fix it?
Any help would be appreciated.
Thanks,
TomI guess you have an active RLS-security on your table:
SELECT * FROM dba_policies WHERE object_owner='&your_schema' AND object_name='&your_table_name';
If so,
- drop the policy (DBMS_RLS.DROP_POLICY),
- do the exchange partition and
- re-create the policy again (DBMS_RLS.ADD_POLICY)
Another option with GRANT EXEMPT POLICY to your schema is probably too much. But maybe a possibility if you are the only schema in the database and have the DBA privileges.
Ciao,
Slavo -
ORA-25150 ALTERING of extent parameter not permitted
Dear all,
what is the problem i got above error message when i modify table storage parameter.
tks a lot
borisIt is because your tablespace has "uniform" or "autoallocate" extent allocation policy.
So remove the extent parameters from the alter command.
Maybe you are looking for
-
Error while updating budget plan for a user in peoplesoft
Hi All, We are using peopletools 845 and app 8.8 some users are getting this wl error while updating some transactions in PS find the error below, Message from the ISAPI plugin: Cannot open TEMP file 'C:\WINDOWS\TEMP\_wl_proxy\_post_8500_4' for POST
-
I recently setup a lion server and i imported calendar data, user data via backup and restore, and wikis via the wikiadmin script. I am a linux admin mainly butcomfortable enough with macs. Anyways i noticed that free-busy is not working with the
-
Server hangs and session variable value not maintained.
dear all, this is exteremetly urgent. i upgraded my tomcat to 4.1.24.but i have problems running the same code which was working earlier, i get null in the value of session variable. and also get the following error ////////////////error got ////////
-
Cannot see asset report year 2008
cannot see asset report year 2008 the system show that i must change fiscal year. but i want to see report year 2008 before calculate depreciation month 12.2008. what should i do ? please help.
-
Set Service order and Notification to 'Technical Complete.
Need to set service order and notificatin to teco. Use below logic and it works fine for Service Orders but it doesn't set the Notification to NOCO. Can anybody please help? Thank you very much Juergen lit_methods-refnumber ='000001'. lit_m