SID Already Exist During Creating Database
Hi,
I've just installed oracle software on AIX 5.3
- I've installed the software only.
- Then, I tried to create database, but I've got an error message that "SID is already exist". Its the first oracle SID I create but I've got this error message, but maybe the error message due to failed installation of oracle for couple of times or I did "export ORACLE_SID=..." before creating database.
I want to create database with the same SID... Whatch should I do...
Regards,
Ala'
Ala' H. wrote:
Hi,
I've just installed oracle software on AIX 5.3
- I've installed the software only.
- Then, I tried to create database, but I've got an error message that "SID is already exist". Its the first oracle SID I create but I've got this error message, but maybe the error message due to failed installation of oracle for couple of times or I did "export ORACLE_SID=..." before creating database.
I want to create database with the same SID... Whatch should I do...
Regards,
Ala'You can't create two databases with the same SID in one host
If you don't need the first database, you can drop it
If you don't have the database (you dropped it or etc.) but Oracle still claims that you have, then clear the line from /etc/oratab file which indicates information about that database
Similar Messages
-
I was installing oracle 10G on Windows XP SP2 machine and the machine hanged during installation. After that i unstalled all the oracle products from OUI and deleted all the registry entries which i could. After doing all the above steps now when i again tries to install oracle, it shows an error "The SID already exists" i.e. for orcl.
So, how can i re-install (not fully prior install) oracle 10G.
ThanksIf the SID already exists it's because deleting from the registry was not successful. You could delete an instance registration directly from the registry, however a better and safer approach would be by means of the oradim command.
There is no need to fully install your software, as this is an specific database instance issue. II suggest you to perform a software only install. Next delete, if you find an instance, using oradim. Next command the database creation using dbca.
~ Madrid -
Installatiion error message :Oracle SID already exists. Specify another SID
Hi all,
I had Oracle 9idatabase installed on my system.I had to reinstall the Windows 2000 operating system on my computer. I used the Oracle 9i cd to deinstall evrything ,but when i try reinstalling it, i specify 'Oracle 9i' as SID and i get the message 'Oracle SID already exists. Specify another SID'.
What do i do? Can anyone guide me?
Thanks in advance,Yes, probably You're trying to reinstall the same database / sample database.
This should be the message that You receive when Oradim utility try to create a NEW sid as a service.
To remove the old one, look at the services list. You should find a service called OracleService<NAME>. The <NAME> part of the service is Your SID.
Then, from command prompt, positioned in $ORACLE_HOME/bin directory, if not in the path, issue the follwing command:
oradim - DELETE -SID <NAME>
This should remove the service. If I'm right, in some versions of W2K server, I've found that it was impossible to recreate the SID with the same name without a reboot of the server.
May be this is Your problem
Hope this helps
Max -
Oracle SID already exists. Specify another SID
Hi,
I had Oracle 9idatabase installed on my system.I had to reinstall the Windows 2000 operating system on my computer. I used the Oracle 9i cd to deinstall evrything ,but when i try reinstalling it, i specify 'Oracle 9i' as SID and i get the message 'Oracle SID already exists. Specify another SID'.
What do i do? Can anyone guide me?
Thanks in advance1/ Could you tell me more about Windows 2000 OS was installed clearly or repaired? If the Windows 2000 OS was repaired, then I think that, you should reinstall only Oracle Database (by Database Configure Assitant or Oracle Universal Installer) but not completely install full of Oracle Server.
2/ I guessed your DB was Development Database, not Production Database. So, when you reinstall your Database, you might save it as template (structure). Good luck!
Message was edited by:
trantuananh24hg
Message was edited by:
trantuananh24hg
Message was edited by:
trantuananh24hg -
How to verify if user already exists in MySQL database using JSP?
Hi, I am trying to create a website that allows users to register and then login. All regsitration details are stored in a MySQL table and I am attempting to have a java bean check that a new user does not already exist by looking up the username. However, I cannot get this to work, the bean is allowing anyone through. I believe there may be a problem with my while loop as the bean checks through the stored usernames in the database. Any suggestions appreciated thanks. See my code below:[
code]package foo;
import java.sql.*;
import java.util.*;
public class FormBean {
private String firstName;
private String lastName;
private String email;
private String userName;
private String password1;
private String password2;
private Hashtable errors;
public boolean validate() {
boolean allOk=true;
if (firstName.equals("")) {
errors.put("firstName","Please enter your first name");
firstName="";
allOk=false;
if (lastName.equals("")) {
errors.put("lastName","Please enter your last name");
lastName="";
allOk=false;
if (email.equals("") || (email.indexOf('@') == -1)) {
errors.put("email","Please enter a valid email address");
email="";
allOk=false;
if (userName.equals("")) {
errors.put("userName","Please enter a username");
userName="";
allOk=false;
try {
String database = "******hidden******";
Class.forName("com.mysql.jdbc.Driver");
Connection conn = DriverManager.getConnection(database,"********hidden*******");
Statement stat = conn.createStatement();
String query="SELECT u_name FROM users;";
String DbUserName="";
ResultSet rst=stat.executeQuery(query);
while(rst.next()) {
DbUserName=rst.getString("u_name");
if (userName.equals(DbUserName)) {
allOk=false;
errors.put("userName","User name already exists, please choose another");
userName="";
conn.close();
break;
} catch (Exception ex) {
ex.printStackTrace();
if (password1.equals("") ) {
errors.put("password1","Please enter a valid password");
password1="";
allOk=false;
if (!password1.equals("") && (password2.equals("") || !password1.equals(password2))) {
errors.put("password2","Please confirm your password");
password2="";
allOk=false;
return allOk;
public String getErrorMsg(String s) {
String errorMsg =(String)errors.get(s.trim());
return (errorMsg == null) ? "":errorMsg;
public FormBean() {
firstName="";
lastName="";
email="";
userName="";
password1="";
password2="";
errors = new Hashtable();
public String getFirstName() {
return firstName;
public String getLastName() {
return lastName;
public String getEmail() {
return email;
public String getUserName() {
return userName;
public String getPassword1() {
return password1;
public String getPassword2() {
return password2;
public void setFirstName(String fname) {
firstName =fname;
public void setLastName(String lname) {
lastName =lname;
public void setEmail(String eml) {
email=eml;
public void setUserName(String u) {
userName=u;
public void setPassword1(String p1) {
password1=p1;
public void setPassword2(String p2) {
password2=p2;
public void setErrors(String key, String msg) {
errors.put(key,msg);Hmm, tried that and now have more build errors in the finally section.
init:
deps-jar:
Compiling 1 source file to C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\build\classes
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
symbol : variable rst
location: class foo.FormBean
if (rst != null) rst.close();
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:57: cannot resolve symbol
symbol : variable rst
location: class foo.FormBean
if (rst != null) rst.close();
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
symbol : variable stat
location: class foo.FormBean
if (stat != null) stat.close();
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:58: cannot resolve symbol
symbol : variable stat
location: class foo.FormBean
if (stat != null) stat.close();
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
symbol : variable conn
location: class foo.FormBean
if (conn != null) conn.close();
C:\resin-2.1.11\doc\examples\basic\WEB-INF\classes\JavaLibrary1\test\FormBean.java:59: cannot resolve symbol
symbol : variable conn
location: class foo.FormBean
if (con != null) conn.close();
6 errors
BUILD FAILED (total time: 1 second)Just for a quick test, I deleted the sql exception and finally code and replaced it with a regular exception just to see what happened and got no build errors, however when I run the form I am getting an sql exception from the prepared statement, parameter out of range (1 > 0). I tried reading into prepared statements, and although I now understand their basics, I still have no idea why I'm getting this error? -
Install Error: SID already exists
Hello,
I uninstalled 9i whose SID is, say, BLNG. Now I am installing 10gR2 and I'd like to use the same SID name. But install says:
The SID you have specified already exists on this machine. Please specify a different SID.
I need to use the same SID. How do I get install to accept a previously used SID? Which files / registry entries do I need to change or delete.
Thanks,
gkIt is much safer/better to drop a database before you uninstall Oracle software.
Now that you have uninstalled without dropping you need to clean every single trace manually since the uninstall was not legal or complete.
Before following these steps backup your PC and registry
1- start your PC in safe mode, delete the parent Oracle folder from your drive.
2- Restart in Normal mode.
3- Open the registry using regedit.exe from start/run/
4- delete from the registry the following entries/keys
HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
HKEY_LOCAL_MACHINE/SYSTEM
Controlset001/services/%oracle_services%
Controlset002/services/%oracle_services%
Now you need clean the legacy entries from your registry.
If your OS is not Win XP you need to use regedt32.exe. If Win XP then use the regedit.exe.
To remove the legacy entries you have to be the Administrator and change the security on the legacy keys so you can delete it.
HKEY_LOCAL_MACHINE/SOFTWARE/SYSTEM/Controlset001/ENUM/Root/Legacy%Oracle_services%
and the same for Controllset002.
I suggest youd be VERY CAREFUL with the registry, one single mistake and bye-bye Windows.
and also drop the database with dbca before you uninstall the software, and use oradim to remove the services.
Hope this helps
Tony Garabedian
If you have other Oracle products installed on you machine, make sure you delete only the uninstalled database entries/keys from the registry.
Message was edited by:
Tony Garabedian -
Error during create database connection (JDeveloper)
Hello!
Have you any suggestions of this: When I try to create new database connection to 9i DBMS, I've got errors:
ORA-00604: error with recursive SQL
ORA-12705: Invalid or unknown NLS parameter value specified.
At the same time I try to do the same with another one DBMS,
10g, and everything is Ok.
Thanks.
Andrew.Stephen, sure, I did all actions you described, during "Create new Database Connection":
(filling in driver (thin), host name (i.e. localhost), jdbc port (i.e. 1521), and sid (i.e. orcl) )
Th result I think should be looks like
jdbc:oracle:thin:@wizard.shots.ru:1522:VIVD
(tns for that DBMS is
VIVD.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = wizard.shots.ru)(PORT = 1522))
(CONNECT_DATA = (SID = VIVD))
As I wrote, the same actions give OK result, if dbms = 10g.
But, I want to test OEBS adapter, and OEBS stands on 9i DBMS only,
so I need to work with 9i
Thanks.
Andrew. -
SID already exists. Specify another SID.
Hello,
I am trying to install Oracle BISE1 on a virtual machine having a Win Server 2003 (32 bit) OS. In the last step...I got stuck with the installation of Configuration Assistant and the error which I got was:
The Oracle system identifier(SID) "bise1db" already exists.
Specify another SID
Please help me resolve this error.
Thanks.Hi,
try to delete service first
c:\>oradim -delete -sid SOME_SID
then try again
Ugur MIHCI
www.ifslibrary.com -
SQL Server error during create database through jdbc
Hi ,
Can anybody figure why I get the following exception
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near '9876'.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
I am trying to create a new database through jdbc, I use only numeric characters in the database name.
I can create the same database through SQL Enterprise Manager.
-vikramThe name of the database is 9876?
Plan A: save yourself trouble and start database/table/column names with a letter.
Plan B: if you really must, try quoting the database name: create database "9867". -
Ways to check if AD user already exist before creating a new AD user
Hi all,
I need to import users into a new active directory domain. I will make an extract from the old active directory domain.
The thought process on paper is something like
import csv with data from source AD
For each entry check to see if there already is a user account in the target AD
If there is do nothing and move on to the next entry
If no user is found in the target AD, then create a new user using new-aduser cmdlet
output to console or log file (not decided yet)
I would especially like to get an idea on how to do step 3 and 4. I am thinking something like if else statement.
RegardsThat is what I had originally but because he doesn't want to do anything if they do exist, so I figured rather then doing an if/else, just do an if, but you are correct, it does not work that way.....I tend to mix C# programming and powershell
scripting
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet
PowerShell is finicky with -not and ! it is also hard for some people tosee and we don't normally think in negative logic. A positive assertion is best even when testing for the negative. It is clearer and avoids fall-through.
¯\_(ツ)_/¯ -
ORA-29532 during create database
Hi all,
When I want to create a new instance on 10.2.0.4.0 in Windows XP, I have ORA-29532 error. What can I do?
RegardsI'm sorry everyone,
I tried to connect instace, and I connected. But dbca is running and having that error message box. So I have pfile like following. In the meantime, I can Ignore this error on message box. Do I ignore?
Dump file c:\oracle\product\10.2.0\admin\minan\udump\minan_ora_3476.trc
Thu Jun 24 15:49:09 2010
ORACLE V10.2.0.4.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows XP Version V5.1 Service Pack 3
CPU : 3 - type 586, 3 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:716M/1791M, Ph+PgF:2759M/3685M, VA:1307M/2047M
Instance name: minan
Redo thread mounted by this instance: 1
Oracle process number: 18
Windows thread id: 3476, image: ORACLE.EXE (SHAD)
*** ACTION NAME:() 2010-06-24 15:49:09.687
*** MODULE NAME:(sqlplus.exe) 2010-06-24 15:49:09.687
*** SERVICE NAME:(SYS$USERS) 2010-06-24 15:49:09.687
*** SESSION ID:(151.13272) 2010-06-24 15:49:09.687
*** 2010-06-24 15:49:09.687
-- The following are current System-scope REDO Log Archival related
-- parameters and can be included in the database initialization file.
-- LOG_ARCHIVE_DEST=''
-- LOG_ARCHIVE_DUPLEX_DEST=''
-- LOG_ARCHIVE_FORMAT=ARC%S_%R.%T
-- DB_UNIQUE_NAME="MINAN"
-- LOG_ARCHIVE_CONFIG='SEND, RECEIVE, NODG_CONFIG'
-- LOG_ARCHIVE_MAX_PROCESSES=2
-- STANDBY_FILE_MANAGEMENT=MANUAL
-- STANDBY_ARCHIVE_DEST=%ORACLE_HOME%\RDBMS
-- FAL_CLIENT=''
-- FAL_SERVER=''
-- LOG_ARCHIVE_DEST_10='LOCATION=USE_DB_RECOVERY_FILE_DEST'
-- LOG_ARCHIVE_DEST_10='OPTIONAL REOPEN=300 NODELAY'
-- LOG_ARCHIVE_DEST_10='ARCH NOAFFIRM NOEXPEDITE NOVERIFY SYNC'
-- LOG_ARCHIVE_DEST_10='REGISTER NOALTERNATE NODEPENDENCY'
-- LOG_ARCHIVE_DEST_10='NOMAX_FAILURE NOQUOTA_SIZE NOQUOTA_USED NODB_UNIQUE_NAME'
-- LOG_ARCHIVE_DEST_10='VALID_FOR=(PRIMARY_ROLE,ONLINE_LOGFILES)'
-- LOG_ARCHIVE_DEST_STATE_10=ENABLE
-- Below are two sets of SQL statements, each of which creates a new
-- control file and uses it to open the database. The first set opens
-- the database with the NORESETLOGS option and should be used only if
-- the current versions of all online logs are available. The second
-- set opens the database with the RESETLOGS option and should be used
-- if online logs are unavailable.
-- The appropriate set of statements can be copied from the trace into
-- a script file, edited as necessary, and executed when there is a
-- need to re-create the control file.
-- Set #1. NORESETLOGS case
-- The following commands will create a new control file and use it
-- to open the database.
-- Data used by Recovery Manager will be lost.
-- Additional logs may be required for media recovery of offline
-- Use this only if the current versions of all online logs are
-- available.
-- After mounting the created controlfile, the following SQL
-- statement will place the database in the appropriate
-- protection mode:
-- ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "MINAN" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO01.LOG' SIZE 50M,
GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO02.LOG' SIZE 50M,
GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO03.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\SYSTEM01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\UNDOTBS01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\SYSAUX01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\USERS01.DBF'
CHARACTER SET WE8ISO8859P9
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- ALTER DATABASE REGISTER LOGFILE 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\MINAN\ARCHIVELOG\2010_06_24\O1_MF_1_1_%U_.ARC';
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE
-- Database can now be opened normally.
ALTER DATABASE OPEN;
-- Commands to add tempfiles to temporary tablespaces.
-- Online tempfiles have complete space information.
-- Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\TEMP01.DBF'
SIZE 20971520 REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
-- End of tempfile additions.
-- Set #2. RESETLOGS case
-- The following commands will create a new control file and use it
-- to open the database.
-- Data used by Recovery Manager will be lost.
-- The contents of online logs will be lost and all backups will
-- be invalidated. Use this only if online logs are damaged.
-- After mounting the created controlfile, the following SQL
-- statement will place the database in the appropriate
-- protection mode:
-- ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "MINAN" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO01.LOG' SIZE 50M,
GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO02.LOG' SIZE 50M,
GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\REDO03.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\SYSTEM01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\UNDOTBS01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\SYSAUX01.DBF',
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\USERS01.DBF'
CHARACTER SET WE8ISO8859P9
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- ALTER DATABASE REGISTER LOGFILE 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\MINAN\ARCHIVELOG\2010_06_24\O1_MF_1_1_%U_.ARC';
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE USING BACKUP CONTROLFILE
-- Database can now be opened zeroing the online logs.
ALTER DATABASE OPEN RESETLOGS;
-- Commands to add tempfiles to temporary tablespaces.
-- Online tempfiles have complete space information.
-- Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\MINAN\TEMP01.DBF'
SIZE 20971520 REUSE AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
-- End of tempfile additions.
-- -
ECC5 installation error during phase "Create Database"
We are installing ECC5 on IA64 using Oracle 9207.
At phase 'Create database' the sapinst aborts reporting errors executing the oradim -NEW SID command.
The oradim.log contains one row only : "DIM-00019: error creating service".
The OracleServiceSID is created, but it does not start.
If we try to run manually the command "Oracle.exe SID", so the same command that is started by the OracleServiceSID service a popup appear saying:
"The entry point kdr9ir2_pop could not be located in the dynamic link library oracle oracommon9.dll"
Any idea ? Are there problems with the oracle 920 sw installation or what ?
regardsHi,
Sounds like oracle problem.
- Please post the last few error statement from sapinst_dev.log.
- Check if the the following key is in the registry:
HKEY_LOCAL_MACHINE\system\currentcontrolset\services\OracleService
- check oracle alert<SID>.log, see if there is any significant errors.
- see note #602843
- if "DIM-00019: error creating service", does it mean that an Oracle service with the same SID already exist? if so, use command "sc delete [service name]" to delete the service and then restart the installation.
Hope this helps.
cheers,
Vincent -
ERROR during creating new Database
OS: Solaris 10 x86 (10/08)
Oracle: Release 10.2.0.2.0 - Production (Standard Edition)
I have just installed Oracle without basic/sample database. I was going to find out how to make it handy.
What I did:
# created initeric1.ora file
control_files = (/oradata/u01/controlfile/control1.ctl,/oradata/u01/controlfile/control2.ctl,/oracle/controlfile/control3.ctl)
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
db_block_size = 8192
sga_max_size = 1073741824
sga_target = 1073741824
then "startup nomount" end here I stucked.
I have executed below (all paths exists)
SQL> create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M;
...and this is an ERROR:
create database eric1
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Now, I am not sure where I am and what to do next.
The above "CREATE" created redologs ONLY. Shouold I remove them ( by rm command ?? )and start it again OR somehow to fix it ?
Little help plz.
BTW. i was doing steps from this article and stopped in point 5:
http://www.dba-oracle.com/oracle_create_database.htm
Edited by: user639256 on 2009-10-24 09:47
Edited by: user639256 on 2009-10-24 09:48Hi,
here is /oracle/product/10.2.0/db_1/rdbms/log/alert_eric1.log:
Sat Oct 24 17:52:02 2009
Starting ORACLE instance (normal)
Sat Oct 24 17:52:05 2009
WARNING: Not enough physical memory for SHM_SHARE_MMU segment of size 0x0000000040003000 [flag=0x4000]
Cannot determine all dependent dynamic libraries for /proc/self/object/a.out
Unable to find dynamic library libskgxn2.so in search paths
RPATH = /build/204/lib/:/opt/ORCLcluster/lib/
LD_LIBRARY_PATH is not set!
The default library directory is /usr/lib
Unable to find dynamic library libocr10.so in search paths
Unable to find dynamic library libocrb10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Shared memory segment for instance monitoring created
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.2.0.
System parameters with non-default values:
sga_max_size = 1073741824
sga_target = 1073741824
control_files = /oradata/u01/controlfile/control1.ctl, /oradata/u01/controlfile/control2.ctl, /oracle/controlfile/control3.ctl
db_block_size = 8192
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
PMON started with pid=2, OS id=3218
PSP0 started with pid=3, OS id=3220
MMAN started with pid=4, OS id=3222
DBW0 started with pid=5, OS id=3224
LGWR started with pid=6, OS id=3226
CKPT started with pid=7, OS id=3228
SMON started with pid=8, OS id=3230
RECO started with pid=9, OS id=3232
MMON started with pid=10, OS id=3234
MMNL started with pid=11, OS id=3236
Sat Oct 24 17:52:22 2009
Oracle Data Guard is not available in this edition of Oracle.
Sat Oct 24 17:59:20 2009
create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M
Sat Oct 24 17:59:22 2009
Database mounted in Exclusive Mode
Sat Oct 24 17:59:46 2009
Successful mount of redo thread 1, with mount id 3306637624
Assigning activation ID 3306637624 (0xc5174938)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /oradata/u02/redo/redo1.log
Successful open of redo thread 1
Sat Oct 24 17:59:48 2009
SMON: enabling cache recovery
Sat Oct 24 17:59:49 2009
create tablespace SYSTEM datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL online
Sat Oct 24 17:59:58 2009
ORA-19502 signalled during: create tablespace SYSTEM datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL online
Sat Oct 24 17:59:58 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3237.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15360 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Intel SVR4 UNIX Error: 28: No space left on device
Additional information: -1
Additional information: 1048576
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15616 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Additional information: 466944
Additional information: 1048576
Sat Oct 24 17:59:58 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3237.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 861
ORA-00604: error occurred at recursive SQL level 1
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15360 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Intel SVR4 UNIX Error: 28: No space left on device
Additional information: -1
Additional information: 1048576
ORA-19502: write error on file "/oradata/u02/system/system.dbf", blockno 15616 (blocksize=8192)
ORA-27063: number of bytes read/written is incorrect
Additional information: 466944
Additional information: 1048576
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 3237
ORA-1092 signalled during: create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M...
Sat Oct 24 18:03:14 2009
Starting ORACLE instance (normal)
Sat Oct 24 18:03:16 2009
WARNING: Not enough physical memory for SHM_SHARE_MMU segment of size 0x0000000040003000 [flag=0x4000]
Cannot determine all dependent dynamic libraries for /proc/self/object/a.out
Unable to find dynamic library libskgxn2.so in search paths
RPATH = /build/204/lib/:/opt/ORCLcluster/lib/
LD_LIBRARY_PATH is not set!
The default library directory is /usr/lib
Unable to find dynamic library libocr10.so in search paths
Unable to find dynamic library libocrb10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
Unable to find dynamic library libocrutl10.so in search paths
Unable to find dynamic library libocrutl10.so in search paths
RPATH = /build/204/opsm/lib/:/build/204/has/lib/:/build/204/rdbms/lib/
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.2.0.
System parameters with non-default values:
sga_max_size = 1073741824
sga_target = 1073741824
control_files = /oradata/u01/controlfile/control1.ctl, /oradata/u01/controlfile/control2.ctl, /oracle/controlfile/control3.ctl
db_block_size = 8192
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = eric1
PMON started with pid=2, OS id=3250
PSP0 started with pid=3, OS id=3252
MMAN started with pid=4, OS id=3254
DBW0 started with pid=5, OS id=3256
LGWR started with pid=6, OS id=3258
CKPT started with pid=7, OS id=3260
SMON started with pid=8, OS id=3262
RECO started with pid=9, OS id=3264
MMON started with pid=10, OS id=3266
MMNL started with pid=11, OS id=3268
Sat Oct 24 18:03:33 2009
Oracle Data Guard is not available in this edition of Oracle.
Sat Oct 24 18:03:56 2009
create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M
Sat Oct 24 18:03:59 2009
Errors in file /oracle/product/10.2.0/db_1/rdbms/log/eric1_ora_3269.trc:
ORA-00200: control file could not be created
ORA-00202: control file: '/oradata/u01/controlfile/control1.ctl'
ORA-27038: created file already exists
Additional information: 1
Sat Oct 24 18:03:59 2009
ORA-1501 signalled during: create database eric1
logfile group 1 ('/oradata/u02/redo/redo1.log') size 100M,
group 2 ('/oradata/u02/redo/redo2.log') size 100M,
group 3 ('/oradata/u02/redo/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/oradata/u02/system/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/oradata/u02/system/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/oradata/u02/system/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/oradata/u02/system/temp01.dbf' size 100M...
Sat Oct 24 18:56:14 2009
Shutting down instance: further logons disabled
Sat Oct 24 18:56:14 2009
Stopping background process MMNL
Sat Oct 24 18:56:15 2009
Stopping background process MMON
Sat Oct 24 18:56:16 2009
Shutting down instance (immediate)
License high water mark = 1
Sat Oct 24 18:56:16 2009
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Edited by: user639256 on 2009-10-24 11:26 -
Hello Experts
I am working on Oracle 10g Enterprise Edition Release 10.2.0.1.0 on Windows 2000
Creating an OMF database with the folllowing procedure:
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=demo
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.2.0/admin/demo/bdump
core_dump_dest=C:\oracle\product\10.2.0/admin/demo/cdump
user_dump_dest=C:\oracle\product\10.2.0/admin/demo/udump
# File Configuration
DB_CREATE_file_dest='C:\oracle\product\10.2.0\oradata\demo'
DB_CREATE_ONLINE_LOG_DEST_1='C:\oracle\product\10.2.0\oradata\demo'
DB_CREATE_ONLINE_LOG_DEST_2='C:\oracle\product\10.2.0\flash_recovery_area'
db_recovery_file_dest=C:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
control_files=("C:\oracle\product\10.2.0\flash_recovery_area\demo\CONTROLFILE\control01.CTL",
"C:\oracle\product\10.2.0\oradata\demo\CONTROLFILE\control02.CTL")
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.2.0.1.0
# Processes and Sessions
processes=150
# SGA Memory
sga_target=289406976
# Security and Auditing
audit_file_dest=C:\oracle\product\10.2.0/admin/demo/adump
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=96468992
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
When I run this command "create database demo"
It throws this error on the screen "ORA 01092: Oracle instance terminated. Disconnection Forced.
The alert log file looks something like this:
Dump file c:\oracle\product\10.2.0/admin/demo/bdump\alert_reebok1.log
Fri Jun 12 19:23:44 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows 2000 Version V5.0 Service Pack 4
CPU : 2 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:307M/1022M, Ph+PgF:1545M/2462M, VA:1934M/2047M
Fri Jun 12 19:23:44 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Shared memory segment for instance monitoring created
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
WARNING: db_recovery_file_dest is same as db_create_online_log_dest_2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
sga_target = 289406976
control_files = C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\demo\CONTROLFILE\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\demo\CONTROLFILE\CONTROL02.CTL
db_block_size = 8192
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_create_file_dest = C:\oracle\product\10.2.0\oradata\demo
db_create_online_log_dest_1= C:\oracle\product\10.2.0\oradata\demo
db_create_online_log_dest_2= C:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest = C:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
job_queue_processes = 10
audit_file_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\demo\ADUMP
background_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\demo\BDUMP
user_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\demo\UDUMP
core_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\demo\CDUMP
db_name =demo
open_cursors = 300
pga_aggregate_target = 96468992
PMON started with pid=2, OS id=568
PSP0 started with pid=3, OS id=2676
MMAN started with pid=4, OS id=2144
DBW0 started with pid=5, OS id=3424
LGWR started with pid=6, OS id=1336
CKPT started with pid=7, OS id=884
SMON started with pid=8, OS id=2216
RECO started with pid=9, OS id=2728
CJQ0 started with pid=10, OS id=2328
MMON started with pid=11, OS id=2888
MMNL started with pid=12, OS id=1120
Fri Jun 12 19:23:44 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Fri Jun 12 19:23:56 2009
create database reebok1
Fri Jun 12 19:23:56 2009
WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
Default Temporary Tablespace will be necessary for a locally managed database in future release
Fri Jun 12 19:23:56 2009
Database mounted in Exclusive Mode
Fri Jun 12 19:24:06 2009
Successful mount of redo thread 1, with mount id 1241163276
Assigning activation ID 1241163276 (0x49faa60c)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\REEBOK1\demo\ONLINELOG\O1_MF_1_534QHNTV_.LOG
Current log# 1 seq# 1 mem# 1: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\demo\ONLINELOG\O1_MF_1_534QHQ8S_.LOG
Successful open of redo thread 1
Fri Jun 12 19:24:06 2009
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Jun 12 19:24:06 2009
SMON: enabling cache recovery
Fri Jun 12 19:24:06 2009
create tablespace SYSTEM datafile /* OMF datafile */
default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
Fri Jun 12 19:24:08 2009
Completed: create tablespace SYSTEM datafile /* OMF datafile */
default storage (initial 10K next 10K) EXTENT MANAGEMENT DICTIONARY online
Fri Jun 12 19:24:08 2009
create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Completed: create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Fri Jun 12 19:24:15 2009
CREATE UNDO TABLESPACE SYS_UNDOTS DATAFILE SIZE 10M AUTOEXTEND ON
ORA-30012 signalled during: CREATE UNDO TABLESPACE SYS_UNDOTS DATAFILE SIZE 10M AUTOEXTEND ON
Fri Jun 12 19:24:16 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\udump\demo_ora_3296.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
Fri Jun 12 19:24:16 2009
Errors in file c:\oracle\product\10.2.0\admin\reebok1\udump\demo_ora_3296.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5792
ORA-00604: error occurred at recursive SQL level 1
ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Fri Jun 12 19:24:16 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_pmon_568.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_reco_2728.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_smon_2216.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_ckpt_884.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_psp0_2676.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_lgwr_1336.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:17 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_dbw0_3424.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:18 2009
Errors in file c:\oracle\product\10.2.0\admin\demo\bdump\demo_mman_2144.trc:
ORA-01519: error while processing file '' near line
Fri Jun 12 19:24:18 2009
Instance terminated by USER, pid = 3296
ORA-1092 signalled during: create database demo...
ThanksHello,
Are you using DBCA (Database configuration assitant) or customized script? I recommend you to use DBCA to create demo and you can choose Database file location (OMF) and make sure your database created successfully.
Regards
OrionNet -
INVALID CLASS:model_cmd_bean as model class already exists.
Hello all,
I am gettin the following error:INVALID CLASS:model_cmd_bean as model class already exists. while creating a java bean Model.
but this is the 1st time i m using these wraper class and cmd class for creating a model.
Sugest what shoul i do?Hi,
Welcome to SDN Community
Check these forum links,
Import JavaBean Error : Invalid Class
invalid class - ..as Model Class already exist
Hope this helps.
Regards
Srinivasan T
Maybe you are looking for
-
Limitation on Address Book entries?
Along with the Desktop Manager locking on reading device calendar, most of my address book from Outlook does not appear on the 8300 Curve Address Book after synchronization. Could this be due to size limitation of the unit?
-
Screen does not turn on after sleep - ProBook 4530s - Windows 8.1 (64bit)
Hi everyone, Not sure if this had to be posted in notebook display and video section, or laptop lockups, freezes and hangs. Anyway, I have a problem, where everything is fine with the computer, it's running smoothly, but whenever I make it go to slee
-
Why is my podcast not updating correctly?
My podcast, the jaguar tapes: https://itunes.apple.com/nl/podcast/the-jaguar-tapes/id557617194?l=en&mt=2 It's not updating anymore! The new artwork isn't showing up. Also the new episode isn't in there on the correct date. Can someone please help me
-
Dear All, My query is as below. When I am converting planned order to purchase requisition(MD15) , Number range is not being triggered correctly.In MD15 transaction, we manuaaly enter the P.R document type. Eg : ZDER: 819---- SERIES ZSER: 818.
-
Create jrxml to jasper in servlet
Pls tell me how to create jrxml to jasper in java compiling I am not using IREPORT... when i am using jrxml to java and compiled the java,but i am unable to create jasper file. Is there is any way to create report with out creating *.jasper file.. Pl