| In my server RMAN can't allocate memory to the virtual instance [message #476258] | 
			Wed, 22 September 2010 06:43   | 
		 
		
			
				
				
				
					
						
						khosravi
						 Messages: 68 Registered: April 2006 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi 
 
I want to restore my database in a new server 
At first I want to restore "spfile" from controlfile autobackup, there is no spfile or pfile of my database in the new server 
 
I do these steps 
 
1 . expoer ORACLE_SID=Sales 
2. rman target / 
3. rman > set dbid 817528985 
4. rman > startup force nomount 
 
after step 4 I get this error : 
 
RMAN-00571: =========================================================== 
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== 
RMAN-00571: =========================================================== 
RMAN-03002: failure of startup command at 09/22/2010 14:03:21 
RMAN-04014: startup failed: ORA-04031: unable to allocate 28704 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kebm test replies") 
 
I get this error while I have about 80GB free memory on the new server 
and my parameters in /etc/sysctl.conf file is : 
 
kernel.sysrq = 0 
kernel.core_uses_pid = 1 
kernel.shmall = 5242880 
kernel.shmmax = 42949672960 
kernel.shmmni = 4096 
kernel.sem = 250 32000 100 128 
fs.file-max = 65536 
net.ipv4.ip_local_port_range = 1024 65000 
net.core.rmem_default = 1048576 
net.core.rmem_max = 1048576 
net.core.wmem_default = 262144 
net.core.wmem_max = 262144 
 
 
I need to say that I can create a new database in that server by dbca that its 
sga_max_size is 9632M and pga_aggregate_target is 3206M 
 
 
Do you know what is wrong ? Do you know why RMAN can't allocate memory to the virtual instance ? 
 
thanks
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: In my server RMAN can't allocate memory to the virtual instance [message #476742 is a reply to message #476300] | 
			Sat, 25 September 2010 01:10    | 
		 
		
			
				
				
				
					
						
						khosravi
						 Messages: 68 Registered: April 2006 
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		Thank you 
 
I used ORA_RMAN_SGA_TARGET parameter and the instance was started 
 
we have another servers too but we don't have this problem in those servers  
 
I need to say that  
The OS of our those servers that don't have the problem is Linux 2.6.9-42.0.0.0.1.ELsmp 
And the OS of the server that has the problem is Linux 2.6.9-78.ELlargesmp 
And our Oracle in both is 10.2.0.2.0 
 
I think that this problem is because of OS  
 
Now please say to me that , am I right ? 
 
Do you know what is the origin of the problem ? 
 
 
Thanks
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 |