Pfile or Spfile issue [message #428866] |
Fri, 30 October 2009 06:49 |
mamingui
Messages: 83 Registered: July 2006
|
Member |
|
|
Hi all,
I've a lot problem in my RAC DB
See below :
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Oct 30 12:14:04 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn /as sysdba
Connected.
SQL> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount pfile='mvdbcgpfile.ora';
ORACLE instance started.
Total System Global Area 6442450944 bytes
Fixed Size 2064536 bytes
Variable Size 1090522984 bytes
Database Buffers 5335154688 bytes
Redo Buffers 14708736 bytes
SQL> alter database mount;
Database altered.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 780
Next log sequence to archive 781
Current log sequence 781
SQL> alter system switch logfile;
System altered.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 781
Next log sequence to archive 782
Current log sequence 782
SQL> show parameter db_recovery_file_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string M:\
db_recovery_file_dest_size big integer 999147483648
SQL> show parameter log_archive_format;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_format string Arch%t_%s_%r
SQL> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> create spfile from pfile='mvdbcgpfile.ora';
File created.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 6442450944 bytes
Fixed Size 2064536 bytes
Variable Size 1090522984 bytes
Database Buffers 5335154688 bytes
Redo Buffers 14708736 bytes
Database mounted.
Database opened.
SQL> show parameter log_archive_format;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_format string %s_%t_%r
SQL> show parameter db_recovery_file_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string M:\
db_recovery_file_dest_size big integer 999147483648
SQL> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 6442450944 bytes
Fixed Size 2064536 bytes
Variable Size 1090522984 bytes
Database Buffers 5335154688 bytes
Redo Buffers 14708736 bytes
Database mounted.
Database opened.
SQL>
1) the archived log are not sent int M:\ but in M:\MVDBCG\ARCHIVELOG\2009_10_30\
With another format (example : 01_MF_1_776_5GODO2N0_.ARC)
What I can do to make the system using correctly my pfile ?
2) I've a RMAN catalog and I cannot backup archived logs because the system is still looking for the old folder where I was keeping archived logs. It seems to that it doesn't care about the new destination set in the pfile.
Someone can help me ? please find atteched my pfile.
Thanks in advance.
|
|
|
|
Re: Pfile or Spfile issue [message #428870 is a reply to message #428866] |
Fri, 30 October 2009 07:26 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
You never respond to the old postings with what we asked you to do.
Instead keep opening new threads with newer issues.
Should this continue, there is no point in trying to respond your posts.
As said before multiple times, fix your SPILE.
>>create spfile from pfile='mvdbcgpfile.ora';
will create spfile in $ORACLE_HOME/dbs instead of in shared area.
use
create spfile='+myASMarea/../' from pfile='/path';
shutdown.
Now edit the initsid.ora in all nodes, remove the entries and add
This way, both init.ora in both nodes will now point to same spfile in asm.
Now startup individually or using srvctl
[Updated on: Fri, 30 October 2009 07:27] Report message to a moderator
|
|
|
Re: Pfile or Spfile issue [message #428881 is a reply to message #428866] |
Fri, 30 October 2009 08:24 |
mamingui
Messages: 83 Registered: July 2006
|
Member |
|
|
Thank you for your help but It doesn't work.
So, I've one question : I think when I'm using oracle parameter like USE_DB_RECOVERY_FILE_DEST I cannot specify a log_archive_format and Flash Recovery Area Location is use but completing by oracle's folders
|
|
|
Re: Pfile or Spfile issue [message #428890 is a reply to message #428866] |
Fri, 30 October 2009 09:30 |
mamingui
Messages: 83 Registered: July 2006
|
Member |
|
|
Excuse me Mahesh,
I just read your mail now.
I've tried your idea and It's working.
But I'm obliged now to start my instance one by one using this syntax :
startup pfile='mvdbcgpfile.ora';
is it possible to start it a automatically using just a STARTUP command ?
Regards
|
|
|
|
Re: Pfile or Spfile issue [message #428893 is a reply to message #428890] |
Fri, 30 October 2009 09:39 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
Also,
>>I've tried your idea and It's working.
>> but It doesn't work.
is not a clear response ( apart from fact that we have no Idea whom you are responding to or to which post) as there are several issues that are addressed.
Quote and respond.
Explain/post session for what is not working.
And please use CODE tags.
[Updated on: Fri, 30 October 2009 09:40] Report message to a moderator
|
|
|
|
|
|
Re: Pfile or Spfile issue [message #428905 is a reply to message #428866] |
Fri, 30 October 2009 11:14 |
mamingui
Messages: 83 Registered: July 2006
|
Member |
|
|
C:\>export ORACLE_SID=mvdbcg1.ora
'export' is not recognized as an internal or external command,
operable program or batch file.
C:\>set ORACLE_SID=mvdbcg1.ora
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Oct 30 17:04:21 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> conn sys@mvdbcg1 as sysdba
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
SQL> exit
C:\>sqlplus
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Oct 30 17:05:59 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter user-name: sys as sysdba
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name: sys@mvdbcg1 as sysdba
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name:
|
|
|
|
|
|
Re: Pfile or Spfile issue [message #428923 is a reply to message #428866] |
Fri, 30 October 2009 15:35 |
mamingui
Messages: 83 Registered: July 2006
|
Member |
|
|
Thanks Mahesh
For node1, instance name = mvdbcg1
For node2, instance name = mvdbcg2
global instance name = mvdbcg
M:\ are in SAN storage.
You're right, I need to stabilize RAC before.
|
|
|