Manual database creation in solaris
Hi Guru's
I was working with Oracle on Windows platform. Now we are moving into Sun solaris. Please give me the complete steps to create the database manually on Solaris. Please not , for me the Os settings is important like, service creatiion ,password file creation. I am using Oracle 10g.
Thanks in advance
Thanks & Cheers
Antony
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15690/toc.htm
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15697/toc.htm
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15704/toc.htm
Similar Messages
-
Manual Database creation in solaris -- checklist/steps required
Hi,
I am creating test databsae in my development solaris server. is there any checklist or process steps to guiding creation of oracle 10g database... the software is already installed...
i can remember roughly..the steps are:
1. create pfile with all the required info like control file locations and archive file locations and memory info
2. sqlplus "/nolog"
3. startup pfile=<location>
4. create database command.
5. post scripts like catalog and catproc
6. making to archive logging
7. implement rman backups.
am i missing anything here?
-- Raman.Yes. this documentation i was looking for...thanks a lot ......
--Raman. -
Hi all,
I need to create a small database manually.
What are the mandatory fields for DB creation.
What are the steps to be followed?
If anyone have the script please send me.
Thanks in advance.
regards,
premhi prem..
you have to create script for database creation..
no problem if ur on 9i.
let do below step..
step 1. open ur dbca and create script for ur database.
step 2. create folder
bdump, udump, cdump ---- d:\oracle\ora90\admin\3 folder 1.bdump, 2. udump, 3.cdump
folder name some ur db_name -----d:\oracle\oradata\"folder name must be some ur db_name"
step 3. go cmd prompt
start>run>command [enter]
cmd>set oracle_sid=dbname
cmd> create password file..... ( see mentioned link in previous post)
cmd>create and start services ( see mentioned link in prev. post)
cmd>sqlplus/nolog
sql>conn sys as sysdba
connected
sql> run all database creation scripts.
script generate in
d:\oracle\admin\script\>>>>>>.scritps
Note.>> Drive may be C:,D: whatever according ur setting.
hope this helps
Taj.
Message was edited by:
user52 -
Oracle 9i manual database creation on the Red Hat 9 Linux
I installed Oracle 9I on the Red Hat 9 Linux successfully with automatic database creation.
I tried to create second database manually and everything seemed to be fine until I issued create database statement. I got the following error:
ERROR at line 1
ORA-01092: ORACLE instance terminated. Disconnection forced.
Please help me to solve the problem.
Thank you,Ok I am having the same exact problem and I am typing this into the shell before I run the installer.
export DISPLAY=yourdesktop:0.0
I thought that would fix the problem but it still hangs and gives the same message as the other guy gets. How can I solve this problem and get the installer running? I would really appreciate any help. This is the message I get:
[oracle@localhost linux]$ ./runInstaller
Initializing Java Virtual Machine from /tmp/OraInstall2003-08-02_10-09-53PM/jre/bin/java. Please wait...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:188)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:262)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593)
[oracle@localhost linux]$ -
Manual Database Creation on win 2000
Oracle 9i(release 1) database server is installed on win2000 server.
i want complete detail steps to create database manually ON WIN 2000 SERVER.
i tried to create database manually but when i runs the
database creation script it generates an error 'INSTANCE TERMINATED : DISCONNECTION FORCED'
I AM STUDENT OF FUNDAMENTAL 1 COURSE.
rohitIt is good to know the steps to create a database manually. If you run the dbca and choose only to create the scripts you realize the steps. Apart from that if you are studying for Fundamentals I exam and you want to it because you think that content is going to appear. Forget it. In that exam there are not questions related to steps to create a database manually and less in windows.
To learn to create a database in Unix makes sense really!
Joel Pérez -
Faced an error ora-01092 at the time of 9i manual database creation
Hi
i faced an error when i installing 9i on my linux manually
error is ORA-01092:oracle instance terminated disconnected forcibly
Any one please help
with regards
neoHI,
Are you create UNDO TABLESPACE or specify undo tablespace creation in CREATE DATABASE command.
post your CREATE database command with ALERT<SID>.LOG file.
regards
Taj -
Error in manual database creation in 10g for windows.
hi,
i have planned to create database manually in window command prompt by the following steps but i m getting this error,
so guys provide me some idea to create db.
D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
rd -startmode M
D:\oracle\product\10.1.0\Db_1>dir database
Volume in drive D is COLLECTIONS
Volume Serial Number is 5A2D-5C24
Directory of D:\oracle\product\10.1.0\Db_1\database
03/07/2010 05:56 PM <DIR> .
03/07/2010 05:56 PM <DIR> ..
03/06/2010 11:04 PM <DIR> archive
03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
03/07/2010 05:17 PM 2,048 hc_orcl.dat
03/06/2010 11:56 PM 157 initgod.ora
03/07/2010 05:51 PM 955 INITorcl.ORA
03/06/2010 11:01 PM 31,744 oradba.exe
03/06/2010 11:59 PM 2,560 PWDgod;.ORA
03/06/2010 11:13 PM 1,536 PWDorcl.ora
03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
03/07/2010 12:15 AM 8,510 sqlnet.log
9 File(s) 50,176 bytes
3 Dir(s) 26,471,571,456 bytes free
D:\oracle\product\10.1.0\Db_1\database>initgod.ora
D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect sys/mysecretpassword as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
thanksJr.DBA wrote:
hi,
i have planned to create database manually in window command prompt by the following steps but i m getting this error,
so guys provide me some idea to create db.
D:\oracle\product\10.1.0\Db_1>set oracle_sid=god;
D:\oracle\product\10.1.0\Db_1>oradim -new -sid%ORACLE_SID%-intpwd mysecretpasswo
rd -startmode M
D:\oracle\product\10.1.0\Db_1>dir database
Volume in drive D is COLLECTIONS
Volume Serial Number is 5A2D-5C24
Directory of D:\oracle\product\10.1.0\Db_1\database
03/07/2010 05:56 PM <DIR> .
03/07/2010 05:56 PM <DIR> ..
03/06/2010 11:04 PM <DIR> archive
03/07/2010 11:12 PM 106 core_orcl_1220_1284_2010_3_7_17_19_32.log
03/07/2010 05:17 PM 2,048 hc_orcl.dat
03/06/2010 11:56 PM 157 initgod.ora
03/07/2010 05:51 PM 955 INITorcl.ORA
03/06/2010 11:01 PM 31,744 oradba.exe
03/06/2010 11:59 PM 2,560 PWDgod;.ORA
03/06/2010 11:13 PM 1,536 PWDorcl.ora
03/07/2010 05:56 PM 2,560 SPFILEORCL.ORA
03/07/2010 12:15 AM 8,510 sqlnet.log
9 File(s) 50,176 bytes
3 Dir(s) 26,471,571,456 bytes free
D:\oracle\product\10.1.0\Db_1\database>initgod.ora
D:\oracle\product\10.1.0\Db_1\database>sqlplus/nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Mar 8 23:00:01 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect sys/mysecretpassword as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
thanksEven if you want to do it manually as a learning exercise, I'd advise you to use dbca. Select 'custom' database type, and at the end select 'create scripts' without actually creating a database. Then study those scripts. -
Manual database creation on 9i; Windows 2000, SP 2
Hi, I am unable to generate database using generated sripts by Database Configuration Assistant. I also tried to modify them to be similar to those generated in version Oracle 8.0.5. The main problem is I cannot connect through SQLPLUS utility using usename SYS with CHANGE_ON_INSTALL password. I miss user INTERNAL :-). Please, help.
Thanks, Trsik.Hi, thank you for suggestions. The problem was I didn't have a pwd<SID>.ora file and I had to change REMOTE_LOGIN_PASSWORDFILE to SHARED value in init<SID> file. Then there was no problem with DB creation.
Trsik -
Manual Database Creation in Linx
Dear All,
I have installed Oracle 8i on linux.
But due to some problems I couldnt run database assistant and configuration of network.
When I tried to run dbasst & netasst those are also not runing.
Please can anybody tell me how to configure both of these manually.
Regards
Aqeel NawazLet me 2b DBA wrote:
Dear All,
I have installed Oracle 8i on linux.
But due to some problems I couldnt run database assistant and configuration of network.
When I tried to run dbasst & netasst those are also not runing.
Please can anybody tell me how to configure both of these manually.
Regards
Aqeel NawazI'm curious as to why you are trying to install a totally unsupported version of Oracle. -
Small correction in oracle 9i Rel.2 docs, under manually database creation
Friends,
There is a small correction in the oracle 9i Rel.2 documentation under, creating database manually. The mistake is that they define temptablespace file as DATAFILE, where as, it suppose to be, TEMPFILE. If any one uses this script from docs. to create database manually, it will throw an error.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#1003614
Using TEMPFILE inplace of DATAFILE would solve the problem.
JaffarHi Nyanga,
The migration tools can be used to migrate to Oracle 9i.
But we try and keep the conversion compatible with Oracle XE / Oracle 10g and up.
So you may have issues migrating to Oracle 9i like you said, with he sqlserver_utilities package and using 10g syntax.
Creating the repository on Oracle 9i is not supported.
But even if you did succeed , it would not change how the conversion was done. You would still end up with an identical sqlserver_utilities package which was generated using the migration repository on an Oracle 10g database. sqlserver_utilities package definition itself is fixed within a file so regardless of the repository used the same one will be generated.
Oracle XE can be used of course as the repository and its free to download and use.
Regards,
Dermot. -
Manual database creation error
the oracle version is : 10.2.0
first i create a new instance by oradim , and a .ora file was generated. But when starting the new instance in sqlplus (database haven't been set up yet) , i encount a strange problem, the error code is as follow:
ora-24324 Service handle not initalized
ora-01041 internal error, hostdef extension doesnot exist
Did i commit any mistake during the operation ? Can anybody tell me the possible reason ?I cann't find the file sqlnet.ora in the root directory of %oraclehome%\db_1\network\admin ,but found one in the subdirectory %oraclehome%\db_1\network\admin\sample. I don't think it's the just file i am looking for, because all the content are commented out in that file. Below is some related content copy from that file :
#sqlnet.authentication_services
# Syntax: A single value or a list from {beq, none, all, kerberos5,
# radius, nts}
# Default: NONE
# Enables one or more authentication services. If
# Oracle Advanced Security has been installed with Kerberos5
# support, using (beq, kerberos5) would enable authentication via
# Kerberos.
#sqlnet.authentication_services=(beq, kerberos5)
Can you tell me where to find the proper file (sqlnet.ora) ? -
Manual database creation on RHEL5
Dear,
I fired the following command to create a database on RHEL5 but getting the following error,please help me out what is the sollution for that.
SQL> create database mydb logfile
2 group 1 ('/home/oracle/mydb/redo/g1.log')size 2m,
3 group 2 ('/home/oracle/mydb/redo/g2.log')size 2m
4 datafile '/home/oracle/mydb/data/sys.dbf' size 2m autoextend on
5 sysaux datafile '/home/oracle/mydb/data/sysaux.dbf' size 2m autoextend on;
create database mydb logfile
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/home/oracle/mydb/control/control01.ctl'
ORA-27040: file create error, unable to create file
Linux Error: 13: Permission denied
This is the status of space in my system
[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda12 4956284 3511560 1188892 75% /
/dev/sda15 505604 10608 468892 3% /tmp
/dev/sda14 2482048 202160 2151772 9% /var
/dev/sda11 4956284 842468 3857984 18% /home
/dev/sda10 4956284 4003364 697088 86% /usr
/dev/sda9 101086 11105 84762 12% /boot
tmpfs 1033144 0 1033144 0% /dev/shm
Thanks
Rahul
Edited by: user10734684 on Dec 29, 2008 11:10 PMORA-27040: file create error, unable to create file
Linux Error: 13: Permission deniedPlease check permission at /home/oracle/mydb/control/ PATH.
Example:
ls -la /home/oracle/mydb/control/
read:
http://www.linuxforums.org/security/file_permissions.html
http://www.freeos.com/articles/3127/
And then post
Edited by: HunterX (Surachart Opun) on Dec 30, 2008 2:27 PM -
Oracle 11.1.0 + Solaris 10 10/08 + Database Creation failed
Dear all,
we have installed Oracle 11.1.0 on a Solaris 10 10/08 T5220 system and
the DB server installs fine.
When we try now to create the database by dbca the following errors
at the "Completing Database Creation" step were seen:
ORA-12801: error signaled in parallel query server P073.
ORA-00018: maximum number of sessions exceeded
ORA-06512: at "SYS.UTL_RECOMP", line 629
ORA-06512: at "SYS.UTL_RECOMP", line 671
ORA-06512: at line 1
We learnt from the net that an increase of the SESSIONS / PROCESSES
parameters in the init.ora file should help us.
Regardless which number for these parameters we used
(PROCESSES = 1000 or 5000 or 10000) the errors above still occured.
We turned also off parallelism but without success!
Is this a bug and/or is there any other method to create the database
without any errors?
THX,
RainerI got it now by putting the "sessions" parameter into the template file General_purpose.dbc
used by dbca.
By the way:
I tried also to install Oracle 11g on a Sun with only 4gb RAM
under Solaris 10 10/08. I got the error
ORA-27102 Out of Memory
Does this mean that we need more physical RAM now?
Rainer -
My session in xmanager will die after 80% of database creation completes
Hi,
I am instaling oracle 10g on solaris through xmanager(X terminal), first i installed oracle 10g software only and i invoked dbca through xmanager after 80% of database creation completes my session will die i tried 4 times same problem, any body have faced the same problem, advice greately appreciated.
Thanks
PrakashDid you check installation logs ?
oraInventory/logs/installActions<timestamp>.log
<ORACLE_HOME>/cfgtoollogs/oui/installActions<timestamp>.log -
Database creation in oracle 9i
can any one tell me step of database creation in oracle 9i
i try many times from 2 days through script because my DBCA is not open
when i click it. DBCA created orcl during instalation but now
it is not running. will i have to install it ?
1)i add db_name=mukesh below db_name=orcl and run script but errors
2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
in initm.ora but errors
1)when i use init.ora without adding db_name=mukesh
i also change undo_management by AUTO to manual i get
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
after that i add db_name=mukesh below db_name=orcl
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: controlfile could not be created
ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
ORA-27038: skgfrcre: file exists
OSD-04010: <create> option specified, file already existsHi,
If you getting a problem with DBCA go for manually process:-
I had listed steps which I follow
Step 1: Decide on Your Instance's System Identifier (SID)
Step 2: Create the Initialization Parameter File
Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
Edit this file's parameters so that your database and your instance will run effectively on your system.
DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
DB_DOMAIN A text string that specifies the network domain where the database is created.
CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
Step 3: Connect to and Start the Instance
Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
sqlplus '/ as sysdba'
If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
startup nomount;
The instance is now started and ready for the CREATE DATABASE command.
Step 4: Issue the CREATE DATABASE Statement
create database mydb1 controlfile reuse
Logfile
Group 1 ('/mydb1/log1/log01a.log',
'/mydb2/mydb1/log01b.log') size 50M,
Group 2 ('/mydb1/log1/log02a.log',
'/mydb2/log1/log02b.log') size 50M,
Group 3 ('/mydb1/log1/log03a.log',
'/mydb2/mydb1/log03b.log') size 50M
Datafile '/mydb1/mydb1_system.dbf' 250M
AUTOEXTEND ON MAXSIZE 500M
Undo tablespace mydb1_undo1
Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
Default temporary tablespace mydb1temp tempfile
'/mydb/mydb1/mydb1temp1.dbf' size 75M
Extent management local
Character set US7ASCII
MAXLOGFILES 10
MAXLOGMEMBERS 10
MAXLOGHISTORY 1
MAXDATAFILES 500;
Thanks
Pavan Kumar N
Maybe you are looking for
-
How do I use the VIs for the Fluke Hydra Series 2620a multimeter?
This message refers to the VIs found at this link: http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E9468659CE034080020E74861 How do I use the VIs for the Fluke Hydra Series 2620a multimeter? I am conducting a Senior Design
-
How to open a pdf files?
Just a week ago, I was able to open my pdf files that were created in 2013 until my adobe reader was updated to X!. What will I need to do? Please help. Thanks.
-
I restored my computer so I had to redownload iTunes. I dont want the music on my ipod touch to erase. How can I put my music back onto itunes ?
-
Displaying iPhoto slideshows on external display
I'm trying to get my wife's MacBook Pro w/ iPhoto '09 8.1.2 to display the slidehow on an external VGA monitor. She's using the miniDisplay port to VGA adapter. The symptom of the problem is a slideshow on the built-in Display (OK) but a black screen
-
Anyone know of a numbers template for a check register?