Connecting to new instance. to create DB manually
can any body send me the commands to create and connect to idle instance to create DB Manually, setp by step plz......
<sigh>
Oracle missed out on that one. Should have included that in the doc right? I dont know why I could see all this in the doc that you couldnt.
Step 1: Decide on Your Instance Identifier (SID)
Step 2: Establish the Database Administrator Authentication Method
Step 3: Create the Initialization Parameter File
Step 4: Connect to the Instance
Step 5: Create a Server Parameter File (Recommended)
Step 6: Start the Instance
Step 7: Issue the CREATE DATABASE Statement
Step 8: Create Additional Tablespaces
Step 9: Run Scripts to Build Data Dictionary Views
Step 10: Run Scripts to Install Additional Options (Optional)
Step 11: Back Up the Database.
No offense, but when it comes to reliability, confidence & faith regarding Oracle Databases, I would prefer Oracle Documentation on others anytime. Having said that, you are free to follow the guidelines of any XYZ as long as they are reliable and you have faith in them.
Your issue is resolved and that was important.
Best of Luck!
Rgds
Adnan
Similar Messages
-
Loading External Clips: Why is a new "instance" clip created?
When I load an external movie clip using loadMovie, or the
MovieClipLoader class, there is always a subclip named "instance"
followed by an instance number attached to whatever clip I am
loading the external swf into. For instance, I have a clip on the
stage called "container". I load an external clip like this:
container.loadMovie("clip.swf");
"clip.swf" ends up in container.instance01, rather than
container. Is there a way to load a clip into container, the same
way using attachMovie with a local library clip would?quote:
Originally posted by:
Rothrock
So obviously in your clip.swf there is a clip at the top
level containing all your content and you haven't given it a name.
I've seen this before, but can't quite recall the crazy thing you
are doing that none of us here would ever think of.
Something like, you aren't exporting or publishing from the
file menu – instead you are doing some export directly from
the library?
That was the problem! I was exporting the swfs directly from
the library. For some reason when you export a movie directly from
the library and then load it into another clip a generic instance
name is created on top of the clip you are loading it into. When
you publish a clip normally and load it into another clip, it
retains the instance name. Problem solved, thanks! -
I have database server 9i R2 on Windows 2000 (and an application server 9i R2, too). I tried to create another database instance through the Database Configuration assistant, but it doesn't start!! (the hourglass appears for half a second and then goes away).
What could be wrong?
Is there a SQL script I can manually run to create my instance?
Thanxyou should find buildall.sql and build_db.sql under
%ORACLE_HOME%/RDBMS/ADMIN. I think these might be what the gui tool uses to generate its own scripts. Either way, you can edit a copy of those to build an instance. Make sure you create the directories specified before you run them. Also, have an init<ORACLE_SID>.ora in the dbs directory that matches up to your new instance and create the service first using ORADIM (or similar, I'm doing this from memory)
Your going to have fun, I can tell. -
Able to create new instances in Platform Edition 9.0?
According to the Platform Edition 9.0 docs http://docs.sun.com/app/docs/doc/819-3662/6n5s9hmtq?a=view , it is possible to create new instances using create-instance command.
However, I encountered an invalid command error in asadmin when trying to invoke create-instance:
bash$ ./asadmin
Use "exit" to exit and "help" for online help.
asadmin> create-instance
CLI147 Invalid command, create-instance
asadmin>I am using Application Server Platform Edition 9.0_01 (build b14)
SO, are we really able to create new instances in PE 9.0? Thanks in advance for any advice.Hi there !
I don't belive of can perform these tasks on PE.
The concepts of nodeagents , clusters and other are no present on the Platform edition.
I also see no way of managing these new instances on the administration console, so ... my guess is it can be done
Rp -
Whlie creating a new instance, listener doesn't work
Hi
I got some problem while install a new instance.
Maybe listener configured incorrectly
please help me out.
I created a new instance(SID:BUS) by myself.
I didn't use DBCA or anyother tools
There's legacy instance on my NT server.
That's why I have to add a new instance.
Here's list of command I've issued
1. set initBUS.ora
2. register as a service
3. startup with nomount
4. issue create database command
5. run those script
@C:\oracle\ora92\rdbms\admin\catalog.sql
@C:\oracle\ora92\rdbms\admin\catproc.sql
@C:\oracle\ora92\sqlplus\admin\pupbld.sql
6. restart
The problem is I can't connect to new SID(BUS) even though I add new sid to listener.ora(legacy sid works fine)
I am sure that my new instance's listener works fine with this command
c:\>lsnrctl status
but it has unknown status ( I don't understand what stands for)
when I try connecto sid(BUS), system back this msg
SQL> conn sys/oracle as sysdba
ERROR:
ORA-12560: TNS:protocol adaptor error
what is the problem?
or which file or configure do I have to check?
Thanks in advance
here's listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 601a4)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ora9)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = ora9)
(SID_DESC =
(GLOBAL_DBNAME = OEMREP)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = OEMREP)
(SID_DESC =
(GLOBAL_DBNAME = BUS)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = BUS)
here's tnsping results
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))) (C
ONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = BUS)))
**(20ms)
here's listener log file
19-NOV-2007 21:09:02 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUS)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplus.exe)(HOST=704C1)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=211.183.9.223)(PORT=2565)) * establish * BUS * 12500
TNS-12500: TNS:listener failed to start a dedicated server
TNS-12560: TNS:protocol adapter error TNS-00530: Protocol adapter
> error 32-bit Windows Error: 2: No such file or directorySorry. It didn't work.
Here's error MSG
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\Administrator>set ORACLE_SID=BUS
C:\Documents and Settings\Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:55:38 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/oracle as sysdba
ERROR:
ORA-12560: TNS:protocol adaptor error
SQL> quit
C:\Documents and Settings\Administrator>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 월 Nov 19 21:56:08 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/oracle@bus as sysdba
ERROR:
ORA-12500: TNS:listener failed to start a dedicated server process
SQL> -
SharePoint 2010 creates a new instance for SharePoint server.
I have installed SP 2010.My env is Windows server 2008 R2 and SQL 2008 r2 (10.50.1600). When I install the SP 2010,
configuration wizard (Start the SharePoint Products Configuration Wizard) directly goes to configuration wizard and installed SP 2010 server successfully.
It skips the below Manual configuration.
1. Specify Configuration DB settings
2. Specify Farm Security settings.
3. Configure CA Web Application settings. etc...
So I get the new SQL instance with the name <MachineName>\sharepoint.
This new Instance is looking SQL 2008 version(10.0.2531).
Now I face the below issues,
1. When I restore DB backup, i get the compatability issue
2. Unable to restore the SP2010 site which is backuped from SQL 2008 r2 (10.50.1600) has 9GB size.
3. Unable to extend the DB size from 4096 MB.
How to avoid create new SQL instance with the name <MachineName>\sharepoint and install in SQL server default <MachineName> instance?
Loganathan SHi Paul
stork,
thanks for the help. Now I have another Two questions. I'm search service application in SP 2010. It works fine when I search data from home sites it works fine.
1. When I search from within sub-sites i don't get any search results. What mistake I have done here?
Second question from Restore spsite...
2. When I restore the site in 80 port, the search service does not crawl and pick the new properties from the restore site. But when I restore the same site in another port<8080/8099/etc> the search service does crawl and pick the new
properties from the restore site. Why the service not working in 80 port.?
Note: I have checked with 3 test env my bak file. but all the 3 env gives same result.... 80 port does not crawl and pick the new properties.
Loganathan S -
Unable to create a new instance in Hyperion Conf Utility
Hi,
I have installed Planning 9.3.1 on XP Prof. Everything is configured correctly except for the instance. I try to create a new instance and system gives out the following -
"System failure : Error while retrieving xml from database"
I have re-installed and configured Planning thrice to check that error isn't on the installation side.
Guru's, please provide your insights on this. If the instance is created, I can start working on the applications..
Thanks for your time,
Varma.John and YM,
Thanks for your response.
I have two laptops - XP Prof and Windows 2003 Server. I am encountering the same problem on both. I have configured everything correctly with Shared Services. Only options that show pending are - Product Instance Registration and Deregister from Shared Services.
I have even started the services in the Same Order mentioned but to no use.
When I start planning, I see a message come up -
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
Can not get JDBC connection.
java.lang.NullPointerException
at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
wn Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
Can not get JDBC connection for SYS external changed actions.
and finally the "Unable to retrieve xml file from database" message. ( in Hyp Conf Util )
Any insight into this problem..???
Thanks,
Varma. -
Schedule Webi (and Crystal) report without creating a new instance
Hi all,
I'm looking for the way to not create a new instance of the report when we schedule a report? Is it any actions on the InfoObject object? Or is it just impossible to do?
Thanks in advance !
Edited by: jerome.vervier on Nov 21, 2011 11:40 AMHi,
With regards to your query, whenever a report is scheduled an instance of it will be created.
Therefore, it is not possible to schedule a report without creating an instance.
Regards,
Shreyans -
How can i create a new instance on unix
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.udayjampani wrote:
Hi,
How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.1) Define Instance in your way!!?
If you simply create a pfile and startup nomount with it, then -in theory- you have an instance running ( this method is used e.g. for restoring a rman backup )
2) You can't. Database files are bound to a certain instance. What you can do is recreate an instance with e.g. a different name, using the scripts generated by a 'alter database backup controlfile to trace;' command
Cheers
FJFranken -
Create a new instance in HPUNIX 8.1.7.database without Xwindows
Can Somebody help me?
I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
If so can sombody give my this script.
thanksCan Somebody help me?
I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
If so can sombody give my this script.
thanks I have not tried this but expect you could use dbca (database creation assistant) with a script on the HP host.
RP. -
ORA - 01034 : ORACLE NOT AVAILABLE Error while creating new instance.
I was trying to create new instance in unix environment. I have configured all my shell scripts to run and install but while performing the install I get the
following error message and fails.
ORA-01034: ORACLE not available
I have previously installed an instance using same scripts but fails this time when I copy the scripts and modify them in new folder. Pointed out the path in the scripts correctly.
I am a junior DBA and I would appriciate your help.Paste here scripts, your .profile (or environment variables according to Oracle) and your init.ora
-
Planning Instance when creating a new application
Hi,
I am in the process of migrating our 9.2 environment to 9.3.1.
During this process I am creating dummy applications before migrating the Schema's. During the application creation, I have to create DataSources and the process of creating a data source is to link the data source to a planning instance.
I want to understand if I could run into issues if I have a few data sources linked to one Planning instance. I do understand that one instance can be connected to multiple data sources, however, is there an optimum number of datasources that can be linked to one planning instance.
We currently have around 15 Planning applications and I can link all 15 applications to one planning instance, but I am assuming that performance could reduce as they are all connected to one instance.
Thanks and Regards
KunalI dont think there will be Serious perfromance issues linking multiple applications with single instance. These instances will help in grouping applications together and once you active a particular instance, those apps that belongs to that Particular instance will be shown in Workspace app list. But I think 15 applications will make a long list and going for mulitple instances might help as an index.
-Nra -
Problems when creating a new instance of an Input parameter for a REM
I am working in a small demo which calls a Remote Enable Function Module in order to read data from the back end system. Since the function module I need to call ("BP_BUPA_SEARCH_BY_USER") is not Remote Enable I created a copy of it and made it Remote Enable ("Z_BUPA_SEARCH_BY_USER"). I have created the model within webdynpro without any problems but when my application reaches the line where I create a new instance of the object Z_Bupa_Search_By_User_Input (see below the source code), just before to call the remote function, the application stops there. I have exactly the same code in another bapi calls and it works fine. I am wondering if my problem has anything to do with the fact the function module i am calling is the function module I created. Any advice is very welcome.
Regards,
Diego.
Source Code:
msg.reportSuccess("------>>>"); "THIS LINE IS PRINTED
Z_Bupa_Search_By_User_Input searchByUser =
new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
wdContext.nodeZ_Bupa_Search_By_User_Input().bind(searchByUser);
msg.reportSuccess("<----
msg.reportSuccess("if (Internet_User != null)");
if (Internet_User != null) {
Usselmodbe ir_user = new Usselmodbe();
ir_user.setSign("I");
ir_user.setOption("EQ");
ir_user.setLow(Internet_User);
searchByUser.addIr_User(ir_user);Hi,
Try to get some more error info, e.g. like this:
try {
Z_Bupa_Search_By_User_Input searchByUser =
new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
} catch (Exception e) {
msg.raiseException(e.getMessage(), true);
msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
good luck,
Roelof -
PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status
Hi,
I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell backup/restore/dismount
and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
I created a new Web App in the port 90 as show below.
Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
If I try to create the instance using PowerShell I got the following error:
PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
llection http://acme02/epm -Lcid 1046
Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
http://acme02/epm.
At line:1 char:1
+ Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
http://acme02/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...ountPwaInstance:
PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
ception
+ FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
ountPwaInstance
All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
Thank you.
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft PartnerHi Eric,
Thank your for your interest in this case.
I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
Create a new web app in port 90, creating a new SharePoint_Content_2 on a
http://server:90 site.
Created the top level site called Portal using the Team Site template.
Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
Tried to create a new instance of Project Server
http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner -
New coverage line created when update item instance
Hi,
Does anyone know why when I'm performing update item instance (CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE) somehow it will create a new coverage/contract record?
This item initially is like to a coverage/contract but after perform update item instance it somehow create a new coverage/contract which is identical in most of the column info.
Could someone let me know why and how CSI_ITEM_INSTANCE_PUB.UPDATE_ITEM_INSTANCE would relate to creating coverage/contract ?
ThanksTodd
The issue seems to because this:
x_instance_rec.inventory_item_id := ib_rec3.inventory_item_id;
You are selecting the item id from your staging table. But the serial number in the csi_item_instances is associated with the instance is a different item id than ib_rec3.inventory_item_id. Hence this error. You cannot change the item in the IB once the instance is created.
You have two choices: comment this out or change the inventory_item_id in staging table to match with the csi_item_instances.
Also a lot depends on what is your serial number uniqueness. If you are using the same serial number for two different items (uniqueness with item_Id) you need to be careful which one you are picking (based on serial number).
Thanks
Nagamohan
Maybe you are looking for
-
How do I display result of EXTRACT in PL/SQL
I'm new to Oracle. I've begun experimenting with the XML functions. I was able to test existsNode and extractValue and see my results OK using DBMS_OUTPUT.PUT_LINE(<some variable of type X>) but I'm failing with EXTRACT. I currently think that extrac
-
Can I generate a CR (Carriage Return) in a dynpro entry field ?
My problem is the following I have a card reader and the information of this card will go into a SAP dynpro entry field. Now I need an addition CR (Carriage Return) Is that possible ? Thanks
-
What to do with .m2v file?
I want to burn this .m2v file that compressor output but when I go to put it into DVD Studio pro it says that "one of the volumes is still in use." This whole process is really really frustrating I just want to make a DVD. Please work!
-
My iPhone 5 screen display expands randomly
My iPhone 5 screen display expands randomly & I have to turn it off to fix it. Sometimes this is tricky to do as I can barely see the red bar to slide it to turn off. Has anyone else had this problem? It's really frustrating.
-
TF255317 When trying to set up Lab Management
My attempts are connecting TFS with SCVMM for Lab Management have been futile. What is frustrating is that the error message I receive is completely undocumented. TFS Version: 2013 Update 2 SCVMM Version: 2012 R2 Windows Server Version (on both VMs):