Oracle 11g : ORA-00384 insufficient memory to grow cache
Hi ,
I am trying to manually set the db_cache_size and I am getting the following error :
SQL> alter system set sga_max_size=100M scope=spfile;
System altered.
SQL>alter system set db_cache_size=50M scope=spfile
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-00384: Insufficient memory to grow cache
Please give me any suggestions.
-Nanjappan
The error is bacially that you have set the sga size to smaller as compared to the size of the maximum sga.See here,
SQL> show sga
Total System Global Area 188313600 bytes
Fixed Size 1332048 bytes
Variable Size 138415280 bytes
Database Buffers 41943040 bytes
Redo Buffers 6623232 bytes
SQL> alter system set db_cache_size=50m scope=spfile;
alter system set db_cache_size=50m scope=spfile
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-00384: Insufficient memory to grow cache
SQL> alter system set db_cache_size=42m scope=spfile;
alter system set db_cache_size=42m scope=spfile
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-00384: Insufficient memory to grow cache
SQL> select * from V$versionl;
select * from V$versionl
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select * from V$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
SQL>
SQL> show parameter max
NAME TYPE VALUE
java_max_sessionspace_size integer 0
license_max_sessions integer 0
license_max_users integer 0
log_archive_max_processes integer 4
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
max_shared_servers integer
memory_max_target big integer 0
object_cache_max_size_percent integer 10
NAME TYPE VALUE
parallel_max_servers integer 40
result_cache_max_result integer 5
result_cache_max_size big integer 928K
sec_max_failed_login_attempts integer 10
session_max_open_files integer 10
sga_max_size big integer 180M
SQL>My buffer cache size if increased from the current size , its going to go beyond the sga_max_size ad hence the error is reported. As mentioned already, either bounce the db to chanhe the maximum SGA or make some another parameter small in size and than retry.
HTH
Aman....
Similar Messages
-
ORA-04033: Insufficient memory
I wondering if anyone else has run into this issue before as I am finding this strange. When I try to increase the shared_pool or sga I get a ORA-04033: Insufficient memory error. Basically I am using a SPFILE and I am changing the values dynamically and my scope=both. Now, when I use a CREATE PFILE from SPFILE and change the same values in the PFILE and then start the DB backup, it takes the changes perfectly and now the changes I wanted in the first are all there, but the only difference is I am using a PFILE instead of the SPFILE.
What happened here. Why would the PFILE allow me to make the changes I needed when Oracle is telling me ORA-04033: Insufficient memory with the SPFILE. Also, on the server, we have 4gb's of RAM and the server itself only has one Oracle DB running on it, so I was surprised as to why I could not allocate more memory for the DB. The settings were:
shared_pool = 152MB
SGA=350MB
I wanted to go to
shared_pool = 512MB
SGA=1024MB
SPFILE failed, and with the PFILE it worked.
Any thoughts?What's your Oracle version?
What's the command you used to change shared pool and SGA ?
shared_pool_size can be changed while database is running in 9i and 10g however you need to make sure there's free memory available to do the increase. The 'Free Memory' here is not your available memory on OS but the difference between sga_max_size and allocated SGA size. -
ORA-12853: insufficient memory for PX buffers
SQL> STARTUP NOMOUNT
ORA-12853: insufficient memory for PX buffers: current 0K, max needed 2640K
ORA-04031: unable to allocate 21544 bytes of shared memory ("large pool","unknown object","large pool","PX msg pool")
Database would not go to any state.
Please assist.
Thankyou.> SQL> STARTUP NOMOUNT
> ORA-12853: insufficient memory for PX buffers: current 0K, max needed 2640K
> ORA-04031: unable to allocate 21544 bytes of shared memory ("large pool","unknown object","large pool","PX msg pool")
Check your OS configuration (ulimit/limit)
Markus -
Oracle 11g: ORA-12547 by DBCA
Hi all,
I am trying to create an Oracle 11g R2 Standalone Database with ASM
on Enterprise Linux 5.5 (64-bit).
I successfully installed the Grid Infrastructure and the DB software.
When I reached to creating db phase and the dbca started creating the db,
it retuned the following errors:
The note calimed the problem is in the privilege of
Here is the privilege of the folder in my system:
PRCR-1079: Failed to start resource ora.oradb.db
ORA-12547: TNS lost contact
CRS-2674: start ora.oradb.db on 'srv07' failed
How can I resolve the issue?
Thanks in advance.Hi Mano,
Following is the output of what I have done (based on your suggestion):
ls -ltr $ORACLE_HOME/bin/oracle
-r-xr-sr-x 1 oracle asmadmin 210824714 Oct 7 22:27 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
[root@srv07 ~]# chmod 6751 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
[root@srv07 ~]# ls -l /u01/app/oracle/product/11.2.0/db_1/bin/oracle
-rwsr-s--x 1 oracle asmadmin 210824714 Oct 7 22:27 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
[oracle@srv07 bin]$ /u01/app/oracle/product/11.2.0/db_1/bin/srvctl start database -d oradb
PRCR-1079 : Failed to start resource ora.oradb.db
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2674: Start of 'ora.oradb.db' on 'srv07' failedInfrastructure was installed as "grid"
Oracle DB was installed as "oracle"
[oracle@srv07 ~]$ id oracle
uid=502(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),506(asmdba)
[oracle@srv07 ~]$ id grid
uid=501(grid) gid=501(oinstall) groups=501(oinstall),504(asmadmin),506(asmdba),507(asmoper) -
Hi,
I'm trying to create a connection pool for an Oracle database (SID orcl) located on the same host as the application server.
I provide the following database URL: jdbc:oracle:thin:MYUSER/myuser@localhost:1521:orcl
(username/password MYUSER/myuser do exist, and connection is granted:
grant connect to MYUSER;
When I try to ping the connection pool, I get the following error: ORA-01017: invalid username/password; logon denied
What's wrong?
Thanks,
Dmitriy...No :-)
Sun's app server (based on GlassFish) definitely tries to receive a Connection object from a javax.sql.DataSource object, not DriverManager (see sources, http://fisheye5.cenqua.com/browse/glassfish/appserv-tests/devtests/connector/embeddedweb/ra/src/com/sun/jdbcra/spi/DSManagedConnectionFactory.java?r=1.1.1.1 - createManagedConnection function:
82 if ( isEqual( pc, getUser(), getPassword() ) ) {
83 dsConn = dataSourceObj.getConnection();
84 } else {
85 dsConn = dataSourceObj.getConnection(pc.getUserName(),
86 new String(pc.getPassword()));
87 }
The problem is probably caused by some kind of wrong parameter passing.
Message was edited by:
DmitM -
ORA-02097,ORA-00384 error
I want to use db_recycle_cache_size,I find the size of db_recycle_cache_size is 0,like follows:
SQL> show parameter db_recycle_cache_size
NAME TYPE VALUE
db_recycle_cache_size big integer 0
Then I use alter system command to resize db_recycle_cache_size,like follows:
SQL>alter system set db_recycle_cache_size=1M
ORA-02097:, parameter cannot be modified because specified value is invalid.
ORA-00384: Insufficient memory to grow cache To get around this problem
But I got above error. DB_BLOCK_SIZE is 8M and db_cache_size is 24M,there is enough memory space left,why I can't resize the value of db_recycle_cache_size? I have try many value of db_recycle_cache_size,all fail except 0 is success,why?
SQL>alter system set db_recycle_cache_size=1
ORA-02097:, parameter cannot be modified because specified value is invalid.
ORA-00384: Insufficient memory to grow cache To get around this problem
SQL>alter system set db_recycle_cache_size=0
success
SQL> show parameter DB_BLOCK_SIZE
NAME TYPE VALUE
db_block_size integer 8192
SQL> show parameter db_cache_size
NAME TYPE VALUE
db_cache_size big integer 25165824Hi,
DB_BLOCK_SIZE is 8M aErrrr, nah, it's 8KiB :-)
ORA-02097:, parameter cannot be modified because specified value is invalid.Error message is self explanatory.. your value is wrong, but it's wrong because of:
ORA-00384: Insufficient memory to grow cache To get around this problemSo, as you're using db_recycle_cache_size, you're using 9i or 10g.
My first advice would be: you must read the concepts manual about:
. SGA_MAX_SIZE
. Dynamic memory pools
. Granule
Now, a little sample:TEST>SELECT * FROM V$VERSION WHERE ROWNUM=1;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
TEST>SELECT DISTINCT GRANULE_SIZE/1024/1024 "The memory unit allocation" FROM V$SGA_DYNAMIC_COMPONENTS;
The memory unit allocation
16
TEST>SELECT COMPONENT, CURRENT_SIZE FROM V$SGA_DYNAMIC_COMPONENTS;
COMPONENT CURRENT_SIZE
shared pool 117440512
large pool 0
buffer cache 5251268608
TEST>SELECT LPAD(CURRENT_SIZE/1024/1024,5) || ' MiB' "Free space in memory" FROM V$SGA_DYNAMIC_FREE_MEMORY;
Free space in memory
0 MiB
TEST>-- So I got nothing available in memory!
TEST>-- In order to create the recycle cache, I will have to reduce the buffer cache size of 16M, in order to give the 16M to the recycle
TEST>
TEST>-- Or I'd get the same error as you
TEST>
TEST>ALTER SYSTEM SET DB_RECYCLE_CACHE_SIZE=16M;
ALTER SYSTEM SET DB_RECYCLE_CACHE_SIZE=16M
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00384: Insufficient memory to grow cache
TEST>SELECT 5251268608 / 1024 / 1024 FROM DUAL;
5251268608/1024/1024
5008
TEST>SELECT 5008 - 16 FROM DUAL;
5008-16
4992
TEST>ALTER SYSTEM SET DB_CACHE_SIZE=4992M;
System altered.
TEST>-- Now, I got 16M of free memory
TEST>SELECT LPAD(CURRENT_SIZE/1024/1024,5) || ' MiB' "Free space in memory" FROM V$SGA_DYNAMIC_FREE_MEMORY;
Free space in memory
16 MiB
TEST>ALTER SYSTEM SET DB_RECYCLE_CACHE_SIZE=16M;
System altered.
TEST>-- Bingo!
TEST>spool offRegards,
Yoann. -
Oracle 11g result cache and TimesTen
Oracle 11g has introduced the concept of result cache whereby the result set of frequently executed queries are stored in cache and used later when other users request the same query. This is different from caching the data blocks and exceuting the query over and over again.
Tom Kyte calls this just-in-time materialized view whereby the results are dynamically evaluated without DBA intervention
http://www.oracle.com/technology/oramag/oracle/07-sep/o57asktom.html
My point is that in view of utilities like result_cache and possible use of Solid State Disks in Oracle to speed up physical I/O etc is there any need for a product like TimesTen? It sounds to me that it may just asdd another layer of complexity?Oracle result cache ia a useful tool but it is distinctly different from TimesTen. My understanding of Oracle's result cache is caching results set for seldom changing data like look up tables (currencies ID/code), reference data that does not change often (list of counter parties) etc. It would be pointless for caching result set where the underlying data changes frequently.
There is also another argument for SQL result cache in that if you are hitting high on your use of CPUs and you have enough of memory then you can cache some of the results set thus saving on your CPU cycles.
Considering the arguments about hard wired RDBMS and Solid State Disks (SSD), we can talk about it all day but having SSD does not eliminate the optimiser consideration for physical I/O. A table scan is a table scan whether data resides on SCSI or SSD disk. SSD will be faster but we are still performing physical IOs.
With regard to TimesTen, the product positioning is different. TimesTen is closer to middletier than Oracle. It is designed to work closely to application layer whereas Oracle has much wider purpose. For real time response and moderate volumes there is no way one can substitue TimesTen with any hard wired RDBMS. The request for result cache has been around for sometime. In areas like program trading and market data where the underlying data changes rapidly, TimesTen will come very handy as the data is real time/transient and the calculations have to be done almost realtime, with least complications from the execution engine. I fail to see how one can deploy result cache in this scenario. Because of the underlying change of data, Oracle will be forced to calculate the queries almost everytime and the result cache will be just wasted.
Hope this helps,
Mich -
Oracle 11g, SRID & 3D-geometry
Hi
I migrated a spatial table from an Oracle 10 to an Oracle 11 database
The table contains Multilines with M-values.
I validate the Geometries with "SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT"
In Oracle 10: No Errors.
In Oracle 11g: ORA-54668: 2D SRID cannot be used with a 3D geometry
Cause: A 2D SRID was used with a 3D geometry.
Action: Replace the 2D SRID with an appropriate 3D SRID
SRID is 82027 (In the spatial-Metadata-Table and in each SDO-Geometry-Object)
82027 means "GK Zone 3 (DHDN)". It is an projected cartesian system.
What to do?
-> I dont't find any appropriate 3D-System
-> I don't want Oracle to use the M-values for any puproses at all.
To me it would be fine, if oracle-saptial ignores the M-Value for it's internal calculations (index, length,...)
M-Values are only interpreted by the appliaction.
Any advise?
Bye, BenediktHi Benedikt,
What is the SDO_GTYPE on your geometries? I am betting that perhaps the second byte on the GTYPE is zero (e.g. 3006) rather than the proper 3 (3306)? I am thinking also that this data may have originated from ArcSDE? ArcSDE has an ancient bug that loads all LRS data with just the zero rather than specifying which dimension has the LRS value. So Oracle Spatial sees 3006 and thinks you have X,Y and Z rather than X,Y and M and thus 11g polices things more thoroughly to make sure your SRID supports 3D actions.
Note that ArcSDE is due to fix this bug (NIM045781) - hmm. Wait a second I THOUGHT they were due to fix this bug in 9.3.1 SP2 but now I see no mention of it! :_|
http://downloads2.esri.com/support/documentation/ao_/9.3.1_SP2_Announcement.pdf
Oh well. So you need to update your SDO_GTYPE by hand using something like:
(table is foo and geometry column is shape)
UPDATE foo a
set a.shape.SDO_GTYPE = TO_NUMBER('33' || SUBSTR(a.shape.SDO_GTYPE,3,2));Hope that helps.
Hope that's the issue.
Cheers,
Paul -
ORA-01031: insufficient privileges and shared memory realm does not exist
Hi all,
I came to a dead end to start oracle 10.2 database. I have searched on google and this forum, none of these solutions work for me. PS, I have installed 11g on my machine too.
I have set up ORACLE_SID,ORACLE_HOME to 10.2 database based on the tnsnames.ora.
follow is error message:
sqlplus sys as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:09:54 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:10:55 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn / as sysdba
ERROR:
ORA-01031: insufficient privileges
SQL> conn scott/tiger
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
First I thought the instance has been start yet, but since I can't login with sysdba. I don't know what other options.
For 10.2, the tnsnames.ora
ORA102 =
+(DESCRIPTION =+
+(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
+(CONNECT_DATA =+
+(SERVER = DEDICATED)+
+(SERVICE_NAME = ora102)+
+)+
+)+
LISTENER_ORA102 =
+(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
EXTPROC_CONNECTION_DATA =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))+
+)+
+(CONNECT_DATA =+
+(SID = PLSExtProc)+
+(PRESENTATION = RO)+
+)+
+)+
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /data/oracle/ora102)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(ADDRESS = (PROTOCOL = TCP)(HOST =XXXXX)(PORT = 1523))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)try do this steps on server side:
1) sqlplus sys as sysdba
2) select open_mode from v$database;
show result 2 step -
Not able to Start the oracle db error "ORA-01031: insufficient privileges"
Hi experts,
I have oracle 11g setup on so solaris. i changed the db_cache_size
& processes values and stopped the DB services after that i am not able to start the oracle DB. Listener is running.
when i start the db server its giving the below error(startup.log)
./dbstart: Starting up database "orcl"
Mon Sep 27 04:31:08 MDT 2010
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 27 04:31:08 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> ERROR:
ORA-01031: insufficient privileges
SQL> ORA-01031: insufficient privileges
SQL>
./dbstart: Database instance "orcl" warm started.
Please help me to ressolve this issue.
Thanks
Krishnayes, password file is there in /etc/passwd
here are the contents:
root:x:0:0:Super-User:/:/sbin/sh
lroot:x:0:0:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:/bin/false
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:/bin/false
lp:x:71:8:Line Printer Admin:/usr/spool/lp:/bin/false
uucp:x:5:5:uucp Admin:/usr/lib/uucp:/bin/false
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:/bin/false
nobody:x:60001:60001:Nobody:/:/bin/false
noaccess:x:60002:60002:No Access User:/:/bin/false
nobody4:x:65534:65534:SunOS 4.x Nobody:/:/bin/false
itunix:x:50000:14:IT Unix Account:/export/home/itunix:/bin/csh
hharika:x:765:38:Harpal Harika:/export/home/hharika:/bin/csh
prsingh:x:795:38:Pradeep Singh:/export/home/prsingh:/bin/csh
mmir:x:1229:21:Mir Monis Ali:/export/home/mmir:/bin/csh
bogunnai:x:1207:21:Bose Ogunnaike:/export/home/bogunnai:/bin/ksh
mpokala:x:2117:21:Mahesh Pokala:/export/home/mpokala:/bin/ksh
apopov:x:2385:38:Anton Popov:/export/home/apopov:/bin/csh
kkeith:x:2629:227:Kevin Keith:/home/kkeith:/usr/bin/ksh
sshd:x:22:22:SSH Privsep:/var/empty:/bin/false
patrol:x:2784:10:Patrol User:/opt/bmc:/usr/bin/ksh
smmsp:x:25:25:Sendmail Submission user:/none:/bin/false
ldap:x:50001:1002::/export/home/ldap:/bin/sh
perfuser:x:884:268::/export/home/perfuser:/bin/csh
webservd:x:80:80::/home/webservd:/bin/pfsh
oracle:x:156:40:Oracle Software Owner:/export/home/oracle:/bin/bash
perfuser_idc:x:64383:1::/home/perfuser_idc:/bin/sh
idc_perf:x:64384:292::/home/idc_perf:/bin/sh -
Oracle 11g init.ora file
1) I am a bit confused with init.ora file format in oracle 11g. In addition=
to the usual entries that are prefixed with *.<parameter>, it also has ent=
ries prefixed with <sid>.__<parameter>. I am not able to find an explanatio=
n of these <sid>__ entries from oracle 11g documentation. I am told by a co=
lleague that they are for instance, to cater for multiple-instances databa=
ses. Is that correct?
2) The presence of the <sid>.__ entries confuse me since some parameters ap=
pear in both <sid>__ and *. sections. What if the values for the same param=
eter are different, which one is used by oracle? I guess it's the <sid>.__ =
one?=20
3) In my case the database has only 1 instance, so I guess I can remove all=
<sid>.__ entries and only work with *. entries?
Thanks
LongHi,
the entries with double underscore in the spfile that you mention are not new in 11g but also show up in 10g.
They are caused by the background process MMAN (Memory Manager), that is active if you set SGA_TARGET>0 (in 10g) rsp. MEMORY_TARGET>0 (in 11g).
This MMAN modifies the Oracle Memory components like the shared pool and the buffer cache, using performance statistics captured by the MMON (Manageability Monitor) and storing the new size of the component in the spfile in order to make that size persistent through instance restarts.
The prefix of the SID is meaningless in case of a non-RAC database.
Kind regards
Uwe
http://uhesse.wordpress.com -
ORA-01031: insufficient privileges getting After upg. oracle from 8i to 9i
Hi,
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\s47adm>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.7.0 - Production on Thu Apr 9 19:20:10 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Enter user-name:
*The above happened after successfully upgraded oracle from 8i to 9i. After upgrade assistant successfully completed then its giving above error. Please help ASAP.Rohit,
Thanks for your reply.
Its solved.....I just changed NTS in place of NONE in the below line of sqlnet.ora file.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
With Regards,
Krishna. -
Oracle Database 10g Express Edition (ORA-01031: insufficient privileges)
Hello,
I am new to 10g Express. I am working on Windows XP and I have Oracle App Server and JDev install on my box. I just installed 10g Express. When I try to connect to the database but I get the following error msg:
SQL> connect sys/admin as sysdba;
ERROR: ORA-01031: insufficient privileges
I am also not able to see the homepage either.
Can some please help.
Thanks
etnotAre you saying you can only have one instance of an
Oracle Database install if you are going to use
Oracle XE?Yes.
Oracle Database XE is free for usage with the following limitations:
Supports up to 4GB of user data (in addition to Oracle system data)
Single instance only of Oracle Database XE on any server
May be installed on a multiple CPU server, but only executes on one processor in any server
May be installed on a server with any amount of memory, but will only use up to 1GB RAM of available memory -
HELP! Problems using large memory on windows 2003(32bit) and Oracle 11g
i have Oracle 11g installed on windows 2003 enterprise server 32bit with 6GB RAM.
And I followed the steps to enable the Very Large Memory support:
1. add /3GB /PAE in c:\boot.ini
2. add AWE_WINDOW_MEMORY entry in the regitry and set it's value to 209715200
3. as for init.ora:
add:
dbblock_lru_latches = 64
db_block_size = 4096
db_block_buffers = 262144
remove the parameters: db_cache_size,sga_max_size
it does work when I use Oracle 10g, but for Oracle 11g, there are some errors:
ORA-00371: not enough shared pool memory, should be atleast **** bytes
OR
ORA-27102: out of memory
Can anybody share the experience in Oracle 11g?
Much thanks!Increase your shared_pool_size parameter
It looks like you have set the memory 1gb after setting up /PAE and /3GB switch
4096*262144=1GB...
Then why did you set /3GB -
I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
Given below are the steps of installation and configuration.
Installation till basic authentication:
The installation has been done in a
single server.
Installed SQL Server 2012 (Developer version).
Selected only the following features:
Database Engine Services
Analysis Services
Reporting Services – SharePoint
Reporting Services Add-in for SharePoint Products
Management Tools – Basic
- Management Tools - Complete
2. Installed SQL Server 2012 SP1.
3. Installed SQL Server 2012 SP2.
4. Installed SharePoint Foundation 2013.
5. Created web application (without Kerberos; we did not even create the SPNs).
The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
account.
6. Created Site Collection.
7. Verified that Reporting Services is not installed.
8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
9. Verified that Reporting Services is installed.
10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
12. Created a Site.
13. Created a Data Connection library with “Report Data Source” content type.
14. Created a Report Model library with “Report Builder Model” content type.
15. Created a Report library with “Report Builder Report” content type.
16. Uploaded an SMDL to the Report Model library.
17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
18. Able to create and save a report using Report Builder.
Hence, basic authentication is working and SSRS is able to connect to Oracle database.
Next we have to configure Kerberos settings between SharePoint and SQL Server.
Implementation of Kerberos authentication
In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config and added the Authentication Types of RSWindowsNegotiate
and RSWindowsKerberos.
2. Set up the following SPNs.
a) SQL Server Database Engine service (sqlDbSrv2):
setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
b) Account: SharePoint Setup Admin account (spAdmin2)
setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
In the Delegation tab of the account, selected "Trust this user for delegation to any service
(Kerberos only)".
c) Account: SQL Server Reporting Service account (sqlRepSrv2)
setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
In the Delegation tab of the account, selected "Trust this user for delegation to any service
(Kerberos only)".
3. Configure the Web Application to use “Negotiate (Kerberos)”.
4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
The Event Viewer logged the login process for the SharePoint Administration account as
Negotiate and not Kerberos.
5. Implemented Kerberos for Oracle database and client.
Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
6. Turn on Windows Firewall.
7. While testing the site's data connection using Kerberos settings, got the error
“Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
Note: The Data Connection for basic authentication still worked.
8. Created a Claims to Windows Token Service account (spC2WTS2).
9. Started the Claims to Windows Token Service.
10. Registered the Claims to Windows Token Service account as a Managed Account.
11. Changed the Claims To Windows Token Service to use the above managed account.
12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
Note: The Reporting Services service account is also a part of the WSS_WPG local group.
13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
Note: The Reporting Service account already had an HTTP SPN.
19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
20. Restarted the SharePoint server.
21. Tested the data connection with the Kerberos settings again.
Got the error
“ORA-12638: Credential retrieval failed”.
Can anyone tell me what is wrong with this setup?http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
Problem4: ORA-12638: Credential retrieval failed
Solution: Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
Do check
http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/
Maybe you are looking for
-
Not able to update the project using 'BAPI_PROJECT_MAINTAIN'.
I want to create a project , with reference to an already existing project. I am using 'BAPI_PROJECT_GETINFO' to get the data of the existing project. The bapi gives the following: 1) e_project_definition. 2) e_wbs_element_table. 3) e_
-
Mapping of Loan to Vendor Account
Dear Experts, As per my issue, I have created Vendor Account, mapped it with employee number as well. I have done all the configuration settings. When an employee has single loan, in that case, this works perfectly fine, going to a specific clearing
-
Hi i got the following error. Error writing String into OutputStream ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error File file = new File(C:\\test.wmv); byte [] b = new byte[(int)file.length()]; Fi
-
Ability to have multiple calendars in v2?
with the ability to utilize active sync, will we also gain the ability to have multiple calendars? in the current setup if i enable activsync it will sync my current personal calendar (out of itunes) with my exchange calendar and vice-versa. i'd like
-
Oracle support s/mime v3.0 or not ?
Hi All, We have a requirement to implement S/MIME V3.0 over HTTPS in our application (java) for encryption/singing/decryption/verification. Can anyone let me know if there any oracle library which support s/mime v3.0 which can work with HTTPS also. I