Segmentation fault when creating a new database.
Hi I have just installed Oracle 9i on a Red Hat Linux Server running Red Hat enterpise 4. I installed all the prerequisites and set up the shared memory etc as of this installation guide:
http://www.puschitz.com/InstallingOracle9i.shtml
I have just run "dbca" to create a database and after entering all the criteria, setting up all the table spaces I then hit finish and click ok on the summary page. I then get the segmentation error as detailed below:
[$] /oracle9/app/oracle/bin/dbca: line 124: 15524 Segmentation fault $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
I thought it could be the $JRE_DIR is set wrong but doing an echo on this it returns:
[$] echo $JRE_DIR
/home/oracle9/jre/1.1.8
Which is correct.
I dont know what to do now!
Any help would be great. Cheers.
Thanks for the reply. I just found the answer from a one last google search.
I added -native to the dbca script which seems to allow it to run without crashing.
as detailed in this document:
http://ftp.novell.com/partners/oracle/docs/9205_sles9_install.pdf
Similar Messages
-
TNS Protocol error in 11g when creating a new database
Hi,
I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
=====================================================
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
Time: 17-DEC-2009 10:30:52
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
=====================================================
Some excerpts from the trace is:
=====================================================
2009-12-17 11:14:38.776040 : nsopen:opening transport...
2009-12-17 11:14:38.776097 : ntpcon:entry
2009-12-17 11:14:38.776140 : ntpcon:toc = 1
2009-12-17 11:14:38.776196 : sntpcall:entry
2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
2009-12-17 11:14:38.796571 : sntpcall:exit
2009-12-17 11:14:38.796674 : ntpcon:exit
2009-12-17 11:14:38.796755 : nserror:entry
2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
2009-12-17 11:14:38.796861 : nsopen:unable to open transport
2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
=====================================================
In /etc/host i have added server ip with host name.
$ more /etc/host
172.26.171.57 sol11oracle-vm
The .profile of oracle user
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
export ORACLE_SID=TSG11G
export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
Please suggest.$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TSG11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TSG11G)
$ tnsping tsg11g
TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
OK (50 msec) -
ORA-27102 when creating a new database
I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
$> sysctl -a
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.sem = 256 32000 100 128
$> free
total used free shared buffers cached
Mem: 32890432 8599000 24291432 0 58084 6003368
-/+ buffers/cache: 2537548 30352884
Swap: 8385792 0 8385792
So, why am I getting an "out of memory" message... I see 20+GB free...
Edited by: jbednarz on Jan 14, 2009 3:08 PMjbednarz wrote:
, I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation. -
Access key needed when creating a new database table with SE11
Hi,
I'm using SAP Testdrive (evaluation) on linux in order to learn a bit about ABAP programming. I want to create a new database table in the dictionary to be used in my programs. I proceed in the following way:
1) I run the SE11 transaction
2) At the first entry I write the name of the table to be created (in the Database Table field)
3) I click on the create button.
But then the system asks me an Access Key to register, where can I get this?
Thanks in advance,
Kind Regards,
DariyooshOk I found the answer to my question in another thread
Developer Key
Make sure that your program names starts with "Z" or "Y", otherwise the system will ask you to register the object because it thinks you are creating/changing in the SAP namespace.
In fact this was my error, my table name didn't start with neither "Z" nor "Y".
Kind Regards,
Dariyoosh
Edited by: dariyoosh on Nov 13, 2010 12:34 PM -
Error when creating a new database on oracle 9i release 2
hi friend,
i have a question when i create new database manually then i get error.
error like this
create database alauki
error at line 1:
ORA-01092 : ORACLE instance terminated. Disconnection forced
the alert log file is
Dump file e:\ritesh\alauki\bdump\alert_alauki.log
Mon Jan 02 06:42:47 2006
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.1 Service Pack 2, CPU type 586
Mon Jan 02 06:42:47 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.1.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 50331648
large_pool_size = 8388608
java_pool_size = 33554432
control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = ALAUKI
dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = E:\RITESH\ALAUKI\bdump
user_dump_dest = E:\RITESH\ALAUKI\udump
core_dump_dest = E:\RITESH\ALAUKI\cdump
sort_area_size = 524288
db_name = ALAUKI
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Jan 02 06:43:02 2006
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 06:43:07 2006
alter database mount exclusive
Mon Jan 02 06:43:08 2006
ORA-09341: scumnt: unable to mount database
OSD-04400: unable to acquire internal semaphore for process
O/S-Error: (OS 183) Cannot create a file when that file already exists.
Mon Jan 02 06:43:08 2006
ORA-1102 signalled during: alter database mount exclusive...
Shutting down instance: further logons disabled
Shutting down instance (immediate)
License high water mark = 3
Waiting for dispatcher 'D000' to shutdown
Waiting for shared server 'S000' to die
All dispatchers and shared servers shutdown
Mon Jan 02 06:46:03 2006
alter database close normal
ORA-1507 signalled during: alter database close normal...
Dump file e:\ritesh\alauki\bdump\alert_alauki.log
Mon Jan 02 10:50:49 2006
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.1 Service Pack 2, CPU type 586
Mon Jan 02 10:50:49 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Mon Jan 02 10:51:24 2006
Starting up ORACLE RDBMS Version: 9.2.0.1.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 50331648
large_pool_size = 8388608
java_pool_size = 33554432
control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = ALAUKI
dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = E:\RITESH\ALAUKI\bdump
user_dump_dest = E:\RITESH\ALAUKI\udump
core_dump_dest = E:\RITESH\ALAUKI\cdump
sort_area_size = 524288
db_name = ALAUKI
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Jan 02 10:51:34 2006
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 10:51:45 2006
alter database mount exclusive
Mon Jan 02 10:51:45 2006
ORA-00202: controlfile: 'E:\RITESH\DATA\CONTROL01.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Mon Jan 02 10:51:48 2006
ORA-205 signalled during: alter database mount exclusive...
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 604
can u pls give me a solution of error
Thanks in advance
Ritesh Patel
Message was edited by:
RITESHthis is my alert log file
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 14:21:01 2006
CREATE DATABASE ALAUKI
USER SYS IDENTIFIED BY * USER SYSTEM IDENTIFIED BY * LOGFILE GROUP 1 ('E:\RITESH\DATA\REDO01.LOG') SIZE 100M,
GROUP 2 ('E:\RITESH\DATA\REDO02.LOG') SIZE 100M,
GROUP 3 ('E:\RITESH\DATA\REDO03.LOG') SIZE 100M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE TEMPTS1
TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
UNDO TABLESPACE UNDOTBS1
DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Jan 02 14:21:02 2006
Database mounted in Exclusive Mode.
Mon Jan 02 14:21:36 2006
Successful mount of redo thread 1, with mount id 2260372877.
Assigning activation ID 2260372877 (0x86ba8d8d)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: E:\RITESH\DATA\REDO01.LOG
Successful open of redo thread 1.
Mon Jan 02 14:21:36 2006
SMON: enabling cache recovery
Mon Jan 02 14:21:36 2006
create tablespace SYSTEM datafile 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL online
Mon Jan 02 14:22:11 2006
Completed: create tablespace SYSTEM datafile 'E:\RITESH\DATA
Mon Jan 02 14:22:11 2006
create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Completed: create rollback segment SYSTEM tablespace SYSTEM
Mon Jan 02 14:22:16 2006
CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Jan 02 14:22:38 2006
Created Undo Segment _SYSSMU1$
Created Undo Segment _SYSSMU2$
Created Undo Segment _SYSSMU3$
Created Undo Segment _SYSSMU4$
Created Undo Segment _SYSSMU5$
Created Undo Segment _SYSSMU6$
Created Undo Segment _SYSSMU7$
Created Undo Segment _SYSSMU8$
Created Undo Segment _SYSSMU9$
Created Undo Segment _SYSSMU10$
Undo Segment 1 Onlined
Undo Segment 2 Onlined
Undo Segment 3 Onlined
Undo Segment 4 Onlined
Undo Segment 5 Onlined
Undo Segment 6 Onlined
Undo Segment 7 Onlined
Undo Segment 8 Onlined
Undo Segment 9 Onlined
Undo Segment 10 Onlined
Successfully onlined Undo Tablespace 1.
Completed: CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITE
Mon Jan 02 14:22:39 2006
CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
Completed: CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\
Mon Jan 02 14:22:40 2006
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS1
Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS
Mon Jan 02 14:22:41 2006
SMON: enabling tx recovery
Mon Jan 02 14:22:44 2006
Errors in file e:\ritesh\alauki\udump\rits_ora_804.trc:
ORA-01501: CREATE DATABASE failed
ORA-01991: invalid password file 'D:\oracle\ora90\DATABASE\PWDrits.ORA'
Mon Jan 02 14:22:44 2006
Error 1991 happened during db open, shutting down database
USER: terminating instance due to error 1991
Instance terminated by USER, pid = 804
ORA-1092 signalled during: CREATE DATABASE ALAUKI
USER SYS IDENTIFIED BY * U... -
Hi all,
I have set up the preview for the new Azure SQL tiers on both of the subscriptions we have for Azure. The one under my MSDN subscription to and a pay as you go subscription
The pay as you go subscription works fine but when I try to upgrade an existing Azure sql database or create a new one on my MSDN subscription it doesn't give me the option of the new tiers.
Using the new portal it says I need to sign up to the preview, but I already have and when I go to try to add a new subscription to the preview for Azure SQL it says all my active subscriptions are on the preview.
Any idea what the issue could be?
Cheers
AshHi,
Apologies for the inconvenience.
I suggest you open a Billing Support Ticket. They will be able to check this for you.
http://azure.microsoft.com/en-us/support/options/
Regards,
Mekh. -
Hello,
I have been experimenting with snapshot isolation with Berkeley DB, but I find that it frequently triggers a segmentation fault when write transactions are in progress. The following test program reliably demonstrates the problem in Linux using either 5.1.29 or 6.1.19.
https://anl.app.box.com/s/3qq2yiij2676cg3vkgik
Compilation instructions are at the top of the file. The test program creates a temporary directory in /tmp, opens a new environment with the DB_MULTIVERSION flag, and spawns 8 threads. Each thread performs 100 transactional put operations using DB_TXN_SNAPSHOT. The stack trace when the program crashes generally looks like this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7483700 (LWP 11871)]
0x00007ffff795e190 in __memp_fput ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
(gdb) where
#0 0x00007ffff795e190 in __memp_fput ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#1 0x00007ffff7883c30 in __bam_get_root ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#2 0x00007ffff7883dca in __bam_search ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#3 0x00007ffff7870246 in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#4 0x00007ffff787468f in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#5 0x00007ffff79099f4 in __dbc_iput ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#6 0x00007ffff7906c10 in __db_put ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#7 0x00007ffff79191eb in __db_put_pp ()
from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#8 0x0000000000400f14 in thread_fn (foo=0x0)
at ../tests/transactional-osd/bdb-snapshot-write.c:154
#9 0x00007ffff7bc4182 in start_thread (arg=0x7ffff7483700)
at pthread_create.c:312
#10 0x00007ffff757f38d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
I understand that this test program, with 8 concurrent (and deliberately conflicting) writers, is not an ideal use case for snapshot isolation, but this can be triggered in other scenarios as well.
You can disable snapshot isolation by toggling the value of the USE_SNAP #define near the top of the source, and the test program then runs fine without it.
Can someone help me to identify the problem?
many thanks,
-PhilHi Phil,
We have taken a look at this in more detail and there was a bug in the code. We have fixed the bug. We will roll it into our next 6.1 release that we do. If you would like an early patch that will go on top of 6.1.19, please email me at [email protected], reference this forum post and I can get a patch sent out to you. It will be a .diff file that apply on the source code and then rebuild the library. Once again thanks for finding the issue, and providing a great test program which tremendously helped in getting this resolved.
thanks
mike -
Creating a new database in Oracle Database 10g...
I have downloaded a copy of Oracle Database 10g Express Edition from Oracle's website. I am using Windows XP. I am trying to create an Oracle database that I can connect to from Access 2003 via ODBC.
1. How do I create a new database? I can see options to create tables, views, etc. but not a database.
2. I have created a System DSN connection in the ODBC Data Source Administrator for the Oracle ODBC driver. Once I create a database in Oracle, how do I actually establish a connection to it from Access? The ODBC code to connect is there, but when I run it, I get an error.
Any help would be appreciated. Thanks.1. How do I create a new database? I can see options to create tables, views, etc. but not a database.If you can see those options then you are already connected to the database. You probably want to create a user, not a database (are you by chance coming from SQL Server?)
driver={OracleDriver};Dbq=TESTDBQ;Uid=Administrator;Pwd=;You would replace "Administrator" with the name of the user you created in the database. -
Create a new database in foxpro , msaccess dynamically
hello,
i am writing an application in which depending on the users selection a database will be created dynamically .i.e if he selects oracle or foxpro or access it will create a new database using the dsn supplied by the user and then creates the tables in that particular database .
i would like to know how to create a new database from within a class file for foxpro or msacces dynamically.
thanks for the helphi,
thanks for ur response.
i have no problem in creating tables
my application does that, but i wanna know how to create a new database so that the tables that are created for a particular clients data are stored in a database specific for that client only , i.e. when his work is over he can completely discard the database by dropping it and can create new database when he wants to start a new database related to different client.
i would like to know how to create that database file, system or file dsn dynamically. -
Creating a new database containing part of an existing database,same server
Hi All Experts,
I have a problem. I am trying to create a new database on a server which already has a database (named qadb10g) running on it. I want the new database to contain only a few tablspaces of the "qadb10g" database. I tried this approach.
1. Take an RMAN backup of the desired tablespaces from the source database (qadb10g), including system and undo tablespaces as well.
2. Use "SET NEWNAME FOR DATAFILE ..." RMAN commands to restore all the data files in the new disk location on the same server.
3. Run "ALTER DATABASE BACKUP CONTROLFILE TO TRACE" command in the "qadb10g" database to generate a "create controlfile...." script.
4. Edit the resulting file (from step 3) to change file locations and database name, instance name, etc.
5. Create a new init.ora file for the new database.
6. From an sql*plus session, with "ORACLE_SID" already set to new database name, run the "create controlfile ..." script which we generated and changed above.
I performed steps 1-5 successfully, But when I ran the step 6 command, I got an error saying "Datafile Header contains database name 'qadb10g' which is not maching the <newdb name> .....".
This means, the database datafiles which were backed up and restored from the 'qadb10g' database still contain the same db name in their header and this is preventing new control file from being created. So, the new datbase cannot be created. Can anbody help me how to resolve this problem???
Any urgent help would be greatly appreciated. Thanks in advance.At Step 4, did you use the SET <newdbname> in the create controlfile script ?
At Step 5, did you change the db_name in the pfile ?
nid is the new and easier way to change the database name. -
About spfile creating in oracle 10g while creating a new database
hi everyone,
i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
thanxfirst of all, thanx for giuding me as im a student doing a course in this
what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
Step 5: Create a Server Parameter File (Recommended)
Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
-- create the server parameter file
CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
SHUTDOWN
-- the next startup will use the server parameter file
EXIT
the error : db_name does not match with the parameter.
its still taking the default orcl database name -
HELP: Problem creating a new database in Oracle 9i
I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
I reproduce the steps taken by me.
I have decide the database to be called Mydb. I have made the following directories:
-- d:\mydb
-- d:\mydb\data
-- d:\mydb\control
-- d:\mydb\log
-- d:\mydb\bdump
-- d:\mydb\cdump
-- d:\mydb\udump
-- d:\mydb\archive
-- d:\mydb\pfile
-- d:\mydb\scripts
-- d:\mydb\exp
I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
-- db_name = mydb
-- instance_name = mydb
-- control_files = ("d:\mydb\control\control01.ctl")
-- background_dump_dest = d:\mydb\bdump
-- core_dump_dest = d:\mydb\cdump
-- user_dump_dest = d:\mydb\udump
-- remote_login_passwordfile = exclusive
Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
ifile=d:\mydb\pfile\initmydb.ora
At DOS prompt, I run the following command:
set oracle_sid=mydb
I run the ORAPWD utility to create internal password file at the command prompt.
d:
cd \oracle\ora90\database
orapwd file=pwdmydb.ora password=panther entries=25
I create a Windows service for the database as follows:
oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
I get connected:
sqlplusw /nolog
connect sys/change_on_install as sysdba
startup nomount # pfile=d:\mydb\pfile\initmydb.ora
create database mydb
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
datafile 'd:\mydb\data\system.dbf' size 325m REUSE
AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
200m reuse
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
default temporary tablespace temptbs
CHARACTER SET WE8MSWIN1252
NATIONAL CHARACTER SET AL16UTF16
logfile group 1 ('d:\mydb\log\log1.log') size 1m,
group 2 ('d:\mydb\log\log2.log') size 1m,
group 3 ('d:\mydb\log\log3.log') size 1m;
Now I get the following error:
create database mydb
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
Thanks in anticipation.
PSHi DENIS,
I have executed the following commands (which are in a script file),
1. sqlplus /nolog
2. connect sys/change_on_install as sysdba
3. create database ...
4. ...
When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
How to rectify this problem.
Thanks in advance,
Kiran -
Exception while creating a new database
Greetings,
I was using dbca (Database Configuration Assistant) on Linux to create a new database. Everything was going ok until it was 85% done, at which point it waited a long time and then said it had failed and gave the path to a log file. Below is [what I think to be] the relavant part of that log file (emConfig.log). I sure could use some help on this, thanks.
-Sam
Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=:0.0, NEED_EXIT_CODE=1, ORACLE_HOSTNAME=deadbeef, ORACLE_SID=dbxv3x, PATH=/usr/kerberos/bin:/opt/jdk1.5.0_08/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/u01/app/oracle/product/10.2.0/db_1/bin:/home/oracle/bin, TZ=]
Mar 14, 2007 1:56:48 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Pacific
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://deadbeef:5501/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/deadbeef_dbxv3x/sysman/log
Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/dbx_v3x/emConfig.log for more details.
Mar 14, 2007 2:03:12 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
at java.lang.Thread.run(Thread.java:534)This may be a clue. In the file emdctl.trc there are many WARN lines (Connection refused) and two ERROR lines (timezones do not match) right at the time when dbca was 85% done. I am speculating that the timezone errors might be relevant to this problem. Below is just a snippet. Yesterday and this morning we tried to run $ORA_HOME/bin/emctl start dbconsole on this database and we get the timezone errors only. If timezone mismatch is the problem, how do you fix it?
2007-03-14 14:57:58 Thread-3062621888 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:02 Thread-3062679232 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:06 Thread-3062081216 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:10 Thread-3061798592 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:14 Thread-3062118080 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:18 Thread-3062658752 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:22 Thread-3062699712 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:24 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
2007-03-14 14:58:25 Thread-3061970624 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =-420,and testTZoffset for US/Pacific:-480 do not match
2007-03-14 14:58:26 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:30 Thread-3061888704 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:34 Thread-3062695616 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:38 Thread-3061864128 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:42 Thread-3062556352 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:46 Thread-3062650560 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111)
2007-03-14 14:58:50 Thread-3062388416 WARN http: snmehl_connect: connect failed to (deadbeef:1831): Connection refused (error = 111) -
Problem in Creating a new database in Oracle 9i
I have installed Oracle 9i for Windows successfully. Now when I try to create a new database either using the Database Configuration Assistant or using the script generated by the Assistant, I get an error message that DATABASE NOT OPEN. So the database will not be created. Please help in this regard, so that I can create a database and I can start working on Oracle 9i.
Thanks in advance.
KiranHi DENIS,
I have executed the following commands (which are in a script file),
1. sqlplus /nolog
2. connect sys/change_on_install as sysdba
3. create database ...
4. ...
When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
How to rectify this problem.
Thanks in advance,
Kiran -
How to display all authentication providers when creating a new user?
I have configured active Directory with weblogic 10.3.1. Users and groups display correctly under the users and groups tab. When creating a new user only the defaultauthenticator provider is displayed in the drop-down selection. How do I get my active directory authenticator to display here also for selection?
I'm confident that the Active Directory provider is read-only. You could write your own Authentication Provider for AD that supports create/update/delete functionality, but it is not included in the out of the box AD Authentication Provider to my knowledge.
I know both the Default Authenticator and the database authenticator are read/write.
Maybe you are looking for
-
Problem in synchroniz​ing signals on my SBRIO
Hi All, I need some advise on how to proceed with my project. I need to send a 32 bit data to my unit under test with the following parameters. CLK+, FS+ and DO+. The clock runs at 4MHZ. The FS+ sends a 33 bit length of high signal for data processi
-
HT4101 Cannot use device. The connected USB device requires too much power.
I am trying to connect the Nikon cool pix to my IPad 3rd gen through the iPad connection kit via USB. The title of this is the error I get on the iPad screen. Anyone else have this issue or know of a solution?
-
SQL Developer - Data Modeler - Trigger for FK arc constraints
In the preferences there is an option "Data Modeler > DDL > Create Triggers for FK arc constraints". I think Oracle recomments to use constraints instead of triggers where it is possible. Can anyone from the Development team tell me why here is just
-
Restrict certain fields after a digital signature
I am using Acrobat XI Pro. I have added a digital signature field. Then >properties>signed tab>mark as read only>just these fields. When I click to select the fields I want, they don't check. I can "select all" and then they all check, but if I c
-
I have one variable for 0CALWEEK which is an input variable. Now I want to extract week number from this variable value. Ex. 0CALWEEK = 200850 I want to extract 50 from this variable for calculation purpose. How to proceed for the same using replacem