9.0.1 create database using dbca fails
Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
Thanks in advance!
I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
Thanks,
BillR
Similar Messages
-
Creating database using DBCA stuck at 85% for about 7minutes~
when i create DB using DBCA , it stuck in 85% for a long time ,and the a waring appears
it says :
EM configuration failed due to the following error
-error starting database control
refer to the log file at emConfig.log for more details
so i checked the log file,and i find this:
Mar 10, 2009 5:02:50 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://myoracle.localhost.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................
................. failed.
starting emctl dbconsole takes about 7 minutes. and it still failed
some guy say it might a bug ,and can fix it using a patch.
in order to use the patch wizard ,i must login to the em. but i cant open it. and also , i dont have metalink account.
also ,there is another error , when i use emctl start dbconsole ,
it says an instance fo oem 10g Database Control is already running
then i use emctl status dbconsole
but it says EM daemon is not running .
my os is RHEL 5.3
and oracle version is Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
so i was totally confused....
so ~ if possible give me a reply~ really appreciate~hello,
You can just create database without EM dbconsole and later you can create EM repository manually. Now if you have already configured it and you don't want to repeat the process then you can do this
To Create
$ emca -config dbcontrol db -repos create
To drop
$ emca -deconfig dbcontrol db -repos drop
To recreate
$ emca -config dbcontrol db -repos recreateRegards
Edited by: OrionNet on Mar 12, 2009 9:48 AM -
Can use ASM only when creating database using dbca
I have a problem. When i create a database using DBCA, i can only use ASM as the file sytem. why ?
i just installed the 10gR2 with cluster and donno why i cannot use ocfs.
Thanks.What were your reasons with going with OCFS rather than ASM?
Thanks. -
Problem in create database use dbca in RAC
i setup a two-nodes RAC, and use dbca to create db
here is the output of dbca
[oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
Copying database files
1% complete
3% complete
9% complete
15% complete
21% complete
27% complete
30% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
44% complete
45% complete
48% complete
50% complete
Creating cluster database views
52% complete
70% complete
Completing Database Creation
73% complete
76% complete
79% complete
80% complete
81% complete
90% complete
99% complete
100% complete
Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/mydb.log" for further details.
and here is the log output:
Failed to retrieve network listener resources required for the Real Application Clusters high
availability extensions configurations on the following nodes: [rac1, rac2].
Do you want listeners on port 1521 with prefix LISTENER to be created on nodes [rac1, rac2]
automatically? If you would like to configure the listener with different properties, run NetCA
before continuing.
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [CRS-0215: Could not start
resource 'ora.rac1.ASM1.asm'.]
PRKS-1009 : Failed to start ASM instance "+ASM2" on node "rac2", [CRS-0215: Could not start
resource 'ora.rac2.ASM2.asm'.]
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Could not mount the diskgroup on node: rac2. The ASM instance on node rac2 is not started.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
Failed to start listeners on nodes "[rac1, rac2]" of cluster database "mydb", "CRS-1028: Dependency
analysis failed because of:
CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.".
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 81%
ORA-01034: ORACLE not available
DBCA_PROGRESS : 90%
Enterprise manager configuration failed due to the following error -
Invalid username/password.
Refer to the log file at /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb/emConfig.log for more
details.
You can retry configuring this database with Enterprise Manager later by manually running
/opt/ora/product/10.2.0/db_1/bin/emca script.
DBCA_PROGRESS : 99%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb1.inst' has placement error.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.mydb.mydb2.inst' has placement error.
DBCA_PROGRESS : 100%
Database creation complete. Check the logfiles at
/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/mydb for details.
Database Information:
Global Database Name:mydb
System Identifier(SID) Prefix:mydb
it should be run netca before running dbca?this time i run netca first,and then run dbca to configure the ASM,after that i run dbca to create database
listener and asm instance is online,but when i create DB ,still have error
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 3%
DBCA_PROGRESS : 9%
DBCA_PROGRESS : 15%
DBCA_PROGRESS : 21%
DBCA_PROGRESS : 27%
DBCA_PROGRESS : 30%
Creating and starting Oracle instance
DBCA_PROGRESS : 32%
DBCA_PROGRESS : 36%
DBCA_PROGRESS : 40%
DBCA_PROGRESS : 44%
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 48%
DBCA_PROGRESS : 50%
Creating cluster database views
DBCA_PROGRESS : 52%
DBCA_PROGRESS : 70%
Completing Database Creation
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 79%
ORA-01078: failure in processing system parameters
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+ORADG/mydb/spfilemydb.ora'
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:DGOpenFile05 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-17503: ksfdopn:2 Failed to open file +ORADG/mydb/spfilemydb.ora
ORA-15173: entry 'spfilemydb.ora' does not exist in directory 'mydb'
ORA-06512: at line 4
ORA-01034: ORACLE not available
DBCA_PROGRESS : 80%
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
DBCA_PROGRESS : 89%
DBCA_PROGRESS : 98%
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
PRKP-1001 : Error starting instance mydb1 on node rac1
CRS-0215: Could not start resource 'ora.mydb.mydb1.inst'.
PRKP-1001 : Error starting instance mydb2 on node rac2
CRS-0215: Could not start resource 'ora.mydb.mydb2.inst'.
DBCA_PROGRESS : 100%
following info from my template file
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>false</customSGA>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>+ORADG/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
</InitParamAttributes>
and dbca create +ORADG in /home/oracle dir (why??)
[oracle@rac1 ~]$ ls +ORADG/admin/mydb/pfile/init.ora.6132011173958
+ORADG/admin/mydb/pfile/init.ora.6132011173958
Edited by: 859340 on 2011-7-12 下午7:25 -
Problem while creating database using dbca
Hi all,
I am getting following error when I try to create a database (fresh installation) using dbca on linux ES4, oracle 10.2.0.1 (Rev2). Any help much appreciated.
ORA-19624: operation failed, retry possible,
ORA-19870: error reading backup piece /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
ORA-19505: failed to identify file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf
ORA-27037: unable to obtain file staus.
Thanks,Hi,
You saw if this file /u01/app/product/10.2.0/db_1/assistants/dbca/templates/Seed_Database_8k.dbf exists ?
See if this link help you:
database 10gR2 configuration assistant error
Cheers -
Listener pre-requisite for create database using dbca
Hello All:
Oracle binaries successfully installed using dbca (Advanced Installation, Custom, Install DB software only)
Now when i use dbca to create a database, i have noticed one of the screen prompts me to "Select the listeners for which you want to register the database".
Question:
Do we have to create the listener before we create the database so we can register the database.
Is this a standard step asking us to register the database with the listener or we can get along with the create database without having to create the listener ahead of the database creation.
Is this step asked because of the type of install i choose earlier for binaries using dbca (Advanced Installation, Custom, Install DB software only)
Thanks
San~sannidhi wrote:
The screen doesn't let me go on to the other screen without making a selection. That is the reason i was wondering if it has been tied up the the install options you choose when you install software only.
Thanks
San~I don't have dbca in front of me at the moment, but does it present you with a list from which to choose? If so, is one of the choices 'listener' or 'default'? If so, choose one of those. -
Error while creating database using DBCA
Hi,
I installed Oracle10gR2 on my windows machine.Now am creating a database with dbca but just after i click the finish button it gives me the error -
Cannot create directory "F:\oracle\cfgtoollogs\dbca\ora10g" where F:\oracle is the directory where i have installed Oracle 10g and ora10g is the database name.
I have full permission on the folders.Can anyone please let me know what is the problem here.
Regards,
SomdHi OrionNet,
At last i could create the database successfully.But these are the issues I faced and am listing down the solution so that it can help others too.
1.I could not find the Administrative Tools-> Local security Policy --> Local Policies --> User Right Assignment in the Windows Vista Home Premium.I went and checked many blogs and forums on where is it located.It seems it is not included in the home premium and people are having a tough time working out the round abouts.
2.The problem was that my UAC (User Account Control) in the Windows Security Center was turned on which was not allowing me to create the database.I turned it off,and it created the db smoothly.
Thanks a lot for your help..I really appreciate it :)
Regards,
Somd -
Creation database using DBCA fail
Hi Expert,
I am install oracle 11g on oracle enterprise linux platform 32 bit. When run dbca and finally click finish . There is nothing happen as check the error per below. I create single instance database without any cluster database. Please one can advise on this. Tks
[AWT-EventQueue-0] [ 2010-12-24 00:42:42.932 MYT ] [HAUtils.isHASConfigured:349] Ignoring exception in isHASConfigured: PRCT-1011 : Failed to run "getcrshome"
PRCT-1011 : Failed to run "getcrshome"
at oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:423)
at oracle.sysman.assistants.util.hasi.HAUtils.getCRSHome(HAUtils.java:544)
at oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:604)
at oracle.sysman.assistants.util.hasi.HAUtils.isHASConfigured(HAUtils.java:345)
at oracle.sysman.assistants.dbca.ui.DatabaseOperationsPage.validate(DatabaseOperationsPage.java:356)
at oracle.sysman.assistants.util.wizard.WizardPageExt.wizardValidatePage(WizardPageExt.java:214)
at oracle.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
at oracle.ewt.wizard.WizardPage.validatePage(Unknown Source)
at oracle.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
at oracle.ewt.wizard.BaseWizard.doNext(Unknown Source)
at oracle.sysman.assistants.util.wizard.WizardExt.doNext(WizardExt.java:265)
at oracle.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)Hi,
As per below result. Tks
[oracle@fomema ~]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[oracle@fomema ~]$ env | sort
_=/bin/env
CLASSPATH=/oracle/product/11.2.0/db_1/JRE:/oracle/product/11.2.0/db_1/jlib:/orac le/product/11.2.0/db_1/rdbms/jlib
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=fomema.com.my
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/oracle/product/11.2.0/db_1/lib:/lib:/usr/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle/product/11.2.0/db_1
ORACLE_TERM=xterm
PATH=/oracle/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin: /bin:/usr/bin:/usr/X11R6/bin
PWD=/home/oracle
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USER=oracle -
ORA-12547 tns lost contact while creating 11gr2 database using dbca
Hi All,
I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
ORA-12547: TNS lost contact.
when i check the database on node 1, Its running fine.
However its giving me an error on the second node.
on Node 1
[oracle@rac1 dbs]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 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 Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select instance_name , host_name from v$instance;
INSTANCE_NAME
HOST_NAME
racdb1
rac1.oracle.com
on node 2:
[oracle@rac2 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
I tried to installed to many a time but no luck.
Please help me on this.
Your assistance in this regards is much appreciated.
Thanks in advance.Do you have a support.oracle.com User Account?
If yes search there for TNS-12547 and you will get a huge list of possible root causes.
Just to name a few (which you can check - also compare with your first node):
Permission oracle executable
Kernel Parameter
Environment variables
etc.etc.
Regards
Sebastian -
New database create script using DBCA
Hi,
I'm trying to generate a database create script using DBCA. I have another database running on the same physical server(HP-UX and oracle 10g R2). When I run the DBCA, it is creating scripts to Clone DB and Clone RMAN restore. Why it is not generating to create a new database instead of cloning the DB.
ThanksRock2 wrote:
Hi,
I'm trying to generate a database create script using DBCA. I have another database running on the same physical server(HP-UX and oracle 10g R2). When I run the DBCA, it is creating scripts to Clone DB and Clone RMAN restore. Why it is not generating to create a new database instead of cloning the DB.
ThanksWhen you launch dbca, you need to select to create a 'custom' database, not one of the pre-canned templates. The templates will all result in a script that does an rman restore from a backup that comes with the product. Selecting 'custom' database will result in scripts built around the CREATE DATABASE sql statement. -
How to change COMPATIBLE parameter while creating the database using DBCA
I have installed 10.2.01.0 on centos 4.7
Now i want to create database with COMAPTIBLE parameter 9.2.0.1
I m trying to create database through DBCA, changed the initialization parameter COMAPTIBLE to 9.2.0.1.
But gives me error
ORA-19583: conversation termintated to error
ORA-19870: error reading backup peice /opt/oracle/assistants/dbca/templates/Seed_Database.dfb
ORA-00600: internal error code,arguments: [krbrckhr_compressed],[opt/oracle/assistants/dbca/templates/Seed_Database.dfb],[29],[30],[11420],[],[],[]
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5149
ORA-06512: at line 16
if i dont change the value of COMPATIBLE parameter then its running perfactly...
But i have to set compatible parameter as 9.2.0.1....
Can anybody tell me how to create database using 10g R2- 10.2.0.1.0 with compatible parameter 9.2.0.1Thank you for your response.
I have tried that opting.
After creating the database with COMAPTIBLE parameter 10.2.0.1.0 changed that parameter in init.ora file to 9.2.0 and start the database.
But at that time getting
ORA-00201: contorl file version 10.2.01.0 incompatible with ORACLE version 9.2.0.0
ORA-00202: control file '/opt/oracle/oradata/ORCL/control01.ctl' -
Getting ORA-27102: out of memory while creating DB using DBCA
Hi All,
I am working on 11.2.0.3 oracle version and linux OS. I am trying to create a new database using dbca and getting error "ORA-27102: out of memory".
Please find the DB version and OS level parameters info below and let me know what i need to do to overcome this issue.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
$uname -a
Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
$free -g
total used free shared buffers cached
Mem: 94 44 49 0 0 31
-/+ buffers/cache: 12 81
Swap: 140 6 133
$ulimit -l
32
$ipcs -lm
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
Please let me know for any other details.
Thanks in advance.Ok, first, let's set aside the issue of hugepages for a moment. (Personally, IMHO, if you're doing manual memory mangement, and you're not using hugepages, you're doing it wrong.)
Anyhow, looking at your SHM parameters:
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
Let's take those in reverse order:
1.) shmmni - This is the max number of shared memory segments you can have on your system, regardless of the size of each segment.
2.) shmmax - Contrary to popular belief, this is NOT the max amount of shared memory you can allocate system wide! This is the max size, in bytes of a single shared memory segment. You currently have it set to 4GB-1. This is probably fine. Even if you wanted an SGA larger than 4GB, having shmmax set to this wouldn't hurt you. Oracle would simply allocate multiple shared memory segments, until it had allocated enough memory for the SGA. There's really no harm there, unless this parameter is set really low, causing a huge number of tiny shared memory segments to be allocated.
3.) shmall - This is the real shared memory segment limit. This number is the total amount of shared memory you're permitted to allocate, system wide, expressed in pages. Pagesize here is the native OS pagesize, which is 4096 bytes, so, this is 2097152 * 4096 = 8589934592, or, 8GB. So, 8GB is the maximum amount of memory that can currnetly be allocated to shared memory, on your machine.
So, having said all that, you haven't mentioned how many, if any, other Oracle databases are running on the server or their sizes. Secondly, we have no idea what memory sizing parameters you have set on the database that you're trying to create, that's getting the error.
So, if you can provide more details, in terms of how many other databases are already on this server, and their SGA sizes, and the parameters you've chosen for the database that's failing to create, perhaps we can help more.
Finally, if you're not using SGA_TARGET or MEMORY_TARGET, you really need to take the time to configure hugepages. Particularly if you've got a server that has as much memory as you do, and you're planning to have non-trivially sized SGA (10s of GB), then you really want to configure hugepages.
Hope that helps,
-Mark -
While creating DB using DBCA getting ORA-27102: out of memory in Linux
Hi All,
I am working on 11.2.0.3 oracle Redhat linux. I am getting error "ORA-27102: out of memory" while creating a new database using dbca
Below are the DB ans OS details. Please check it and let me know what i need to do to overcome this issue.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
$uname -a
Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
$free -g
total used free shared buffers cached
Mem: 94 44 49 0 0 31
-/+ buffers/cache: 12 81
Swap: 140 6 133
$ulimit -l
32
$ipcs -lm
Shared Memory Limits
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
Also created a trace file under trace loction and it suggesting to changes shm parameter value. but i am not sure which parameter (shmmax or shmall) and value i need to modify.
below are trace file info
Trace file /u02/app/oracle/diag/rdbms/beaconpt/beaconpt/trace/beaconpt_ora_9324.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u02/app/oracle/product/11.2.0.3
System name: Linux
Node name: greenlantern1a
Release: 2.6.18-92.1.17.0.1.el5
Version: #1 SMP Tue Nov 4 17:10:53 EST 2008
Machine: x86_64
Instance name: beaconpt
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 9324, image: oracle@greenlantern1a
*** 2012-02-02 11:09:53.539
Switching to regular size pages for segment size 33554432
Switching to regular size pages for segment size 4261412864
skgm warning: ENOSPC creating segment of size 00000000fe000000
fix shm parameters in /etc/system or equivalent
Please let me what are the kernel parameter values i need to chage to work this.
Thanks in advance.Yes it is same question, but i didn't have any solution there and still looking for some help. the solution it was provided in the last post is not working and getting the same error even with less thn 20% of memory. Please let me know how to overcome this issue.
Thanks -
How to create database using shell script
hai
how to create database using shell scriptThe documentation details the steps to create a database manually. Another option is to use DBCA to create the scripts. DBCA will give you a complete set of scripts that will create a database.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref220 -
Creating databases with dbca templates after upgrades and patches
I have a 10.2.0.1 base release Oracle Home. Over time it has been upgraded to 10.2.0.3 and quarterly security patches have been applied. Now I want to create a new database using a dbca (database configuration assistant) template.
During the 10.2.0.3 install did the templates also upgraded to include all the 10.2.0.3 stuff? Or are they still back at 10.2.0.1?
What about the quarterly CPU patches? Do they need to be applied to the new db after it is created?
Thanks,
RobI opened a Service Request. Here is the official answer from Oracle support.
QUESTION
=========
After applying the latest CPU(JAN2008CPU) I have created a new database using DBCA's seed template (General). Do I need to run the catcpu
.sql on the newly created database? Are the seed templates already updated with
the CPU?
ANSWER
=======
No, as these templates are not containing the Oracle binaries that is updated by the CPU.
Please let me know if you need further assistance regarding this issue and I will be glad to assist you further.
Otherwise please close this SR from MetaLink.
Thanks!
Greetings from Oracle,
Oracle Support Services
Maybe you are looking for
-
How do I add an image next to a hyperlink in code behind?
I am trying to dynamically display hyperlinks in a div, and I am also trying to add an image to appear right next to each hyperlink. My code is able to add the hyperlinks to the div's but I can't figure out how to add an image to appear next to each
-
i have a problem something like this... i am setting my welcome-file im my web.xml to index.faces but i got allways this error 404 that this site does not exist.... the stragne thing is that the massege says "/" could not found and not "index.faces"
-
How to delete a playlist? AND Get CD music to my iPod?
I just got a new MacBook and authorized it to my iPod and all my iTunes music transferred... 1) They are manual playlists (blue background with a black music note) but when i select them and click delete they wont. The songs within them are grey (lik
-
Add 10g database in 9i console
Hello, I want to add database(10g R2) in enterprise manager of 9i (java based). How i can do it ... i mean have required any kind of client software for this purpose ? Thanx
-
SRM-MDM Catalog publication in portal
Hi experts, Iu2019m facing some difficulties concerning MDM / portal integration. We are implementing SRM-MDM catalog scenario and Iu2019ve already created a catalog in MDM Data Manager. Iu2019ve also set the parameters for the web service definition