How to create a new instance without XWindows in HP_U 8.1.7

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.
thanks

First get a Telnet session on your platform.
In the following, foo is the name of the database to be created. Obviously you will replace this in your script names and script contents with the name of the database you are about to create.
The values of parameters, filenames, distribution of files across filesystems, numbers and sizes of rollback segments and redo logs contained in these scripts should not be considered to be "recommended" in any way. These are just examples to demonstrate syntax. (Although the values given here will create a perfectly viable database.)
create_db_foo.sql
create database foo
maxlogfiles 16
maxlogmembers 3
maxdatafiles 30
maxinstances 1
maxloghistory 100
logfile
group 1 (
'/local/oracle/redo_logs/foo/log1a.rdo',
'/local/oracle/redo_logs/foo/log1b.rdo'
) size 50M,
group 2 (
'/local/oracle/redo_logs/foo/log2a.rdo',
'/local/oracle/redo_logs/foo/log2b.rdo'
) size 50M,
group 3 (
'/local/oracle/redo_logs/foo/log3a.rdo',
'/local/oracle/redo_logs/foo/log3b.rdo'
) size 50M
datafile
'/local/oracle/data/foo/system.dbf' size 300m;
create_ts_foo.sql
create tablespace DATA
datafile '/local/oracle/data/foo/data1.dbf' size 200m;
create tablespace TEMP
datafile '/local/oracle/data/foo/temp1.dbf' size 100m;
create tablespace INDEXES
datafile '/local/oracle/data/foo/indexes1.dbf' size 100m;
create tablespace ROLLBACK_SEGS
datafile '/local/oracle/data/foo/rbs.dbf' size 50m;
create_rbs_foo.sql
create rollback segment rbs_1
tablespace rollback_segs
storage (initial 1M next 1M
minextents 5 maxextents unlimited
create rollback segment rbs_2
tablespace rollback_segs
storage (initial 1M next 1M
minextents 5 maxextents unlimited
create rollback segment rbs_3
tablespace rollback_segs
storage (initial 1M next 1M
minextents 5 maxextents unlimited
create rollback segment rbs_4
tablespace rollback_segs
storage (initial 1M next 1M
minextents 5 maxextents unlimited

Similar Messages

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new user without any sample objects from any other user?

    Question as the title.
    I had the example dababase installed when I installed the Oracle database.
    Every time, when I create a new user, there will be some example objects coming
    with the new user.
    How can I remove these objects from the new user?
    Or, how can I create a new user without the example objects?
    Thanks in advance.

    I think the easiest way for you would be to use OEM.
    Just locate each object that you want to remove and right click->remove. Don't bother doing this for any indexes as these will be removed when you drop the corresponding tables.
    If you want to try command line through sqlplus then identify the objects you want to remove by selecting from the user_objects view while logged in as this user. This will give you the name and type of object. Then issue the relevant drop command.
    It's probably worth making sure you have a valid backup first, just in case things go wrong!

  • How to create a new instance of a method

    How can I create a new instance of
    public int IsPrime1(int arg) method in my main program and execute it. It has to be a non static method.
    I have this code
    import java.math.*;
    public class IsPrime {
         public int IsPrime1(int arg){
                   for(int e = 2; e < arg; e++){
                        int remainder=arg%e;
                             if(remainder==0){
                                  System.out.println("This number is not a prime number");
                                  break;
                             else {
                                  System.out.println("This number is a prime number");
                                  break;
         public static void main(String[] args){
              System.out.println(args.length);
              if (args.length>1){
                        System.out.println("Sorry you can only enter one number");               
              else{
              String sNum =args[0];
                   int iNum=Integer.parseInt(sNum);
    }

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new instance of the pdf you are using within the pdf

    I am looking for the ability to create a new blank clone of the
    current pdf I am filling out. A department would like to ability to
    fill out as many of one form as needed. Sometimes it would be one
    form, other times it would be 15. They would like to ability to click
    a "new" button and get a new blank clone to fill out. Has anyone
    tried this or does anyone know how to do this?

    I am looking for the ability to create a new blank clone of the
    current pdf I am filling out. A department would like to ability to
    fill out as many of one form as needed. Sometimes it would be one
    form, other times it would be 15. They would like to ability to click
    a "new" button and get a new blank clone to fill out. Has anyone
    tried this or does anyone know how to do this?

  • How to create the new task without time through WCAP

    Hi
    I am trying to create the new task by using WCAP commands. I want to create the task with out time, that is "no time" option that u see in the web access. If I set the duedate without time its putting 12:00 AM as default. Is there any option that I need to set for WCAP command in order to set the "no time" option. Any help is appreciated.
    Thanks
    Hari

    Hi Anusha,
    This code correct for your requirement, only thing is you are not able to modify it as per your requirement.
    What you have to do is:
    1. Copy queried row into into new row, change primary key values(but don't commit your changes here).
    2. Now you have two rows in your VO(OLD as well as New)
    3. Make any changes if you want using User Interface.
    4. At the save button first compare OLD and NEW row, if any value is differing then commit the chnages(it will insert new row in corresponding database table), if no changes are there I mean to say OLD value and NEW rows are same then rollback(it will remove copied row from VO and no row will be inserted in database.)
    While comparing rows please note that Primary keys will not be same so don't compare Primary keys while comparing rows.
    I hope it will help you.
    Regards,
    Reetesh Sharma

  • How to create a new instance of a global activity

    Hi,
    I have one global activity and three interactive tasks. I need a mechanism, which allows me to invoke the global activity from the interactive tasks.
    The global activity should have some information of the task that invoked it and initiate another process.
    Thanks for your help

    Hi Eve,
    Thanks.
    First, it looks like you might be trying to create an instance in a process that is not in your current project. Is it possible that this is the case? Although you can have more than one project open at one time in Studio, you should not do this. Even if you have more than one project open, Studio's runtime components (the Engine, the Workspace, Tomcat and the Derby database) are only working against one project at a time. On Enterprise, this will not be an issue but on Studio you cannot do this.
    Second, if the process that you're trying to create instances on is inside the same project, could you double check the id of the process you are trying to create instances in again? In the Project Navigator tab, right mouse click the process's name -> click "Properties" and look at the read only italisized text beside the "Id" label. It's going to be a String that has no space characters. Is this the String you are using in the method you are using to create instances? Here's an example. If your process's name is "My Process" then its id that you will use to create instances with it might be "MyProcess".
    idOfProcess = "MyProcess"
    ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn, argumentsSetName : "BeginIn")Note I used the work "might". You can decide to change the name of your process at any time, but the id is always going to stay the same. So if you change your process to be "My Fantastic Process", its id is still going to be "MyProcess".
    Third, have you defined an Organizational Unit (OU) for your processes (just asking - I am not at all encouraging you to do this)? If you've deployed this using an organization unit (OU) then you'd need to prefix this to the string also. To see if you've defined an OU for your processes right mouse click the project in the Project Navigator tab -> click "Engine Preferences" -> on the left side click "Deployment" -> in the "Organizational Unit" column do you see any entries? Doubt that you do, but if you have an OUs then I'd encourage you to take them out until you get this working.
    Fourth, put logMessage statements before and after your logic where you are creating the instance in the other process just to make sure this where your error is occuring. One of your logMessage statements might look something like this:
    logMessage "Before creating instance in process " + idOfProcess using severity = DEBUGFifth, if none of these ideas have been helpful - please post your logic on this thread. Put the text "{code}" before and after your logic so it reads a little better.
    Thanks,
    Dan

  • 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.
    thanks

    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.
    thanks I have not tried this but expect you could use dbca (database creation assistant) with a script on the HP host.
    RP.

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

  • Create a new instance of a class without starting new windows.

    I've a class with basic SWING functions that displays an interface. Within this class is a method which updates the status bar on the interface. I want to be able to reference this method from other classes in order to update the status bar. However, in order to do this, I seem to have to create a new instance of the class which contains the SWING code, and therefore it creates a new window.
    Can somebody give me an example, showing how I might update a component on the interface without a new window being created.
    Many thanks in advance for any help offererd.

    I've a class with basic SWING functions that displays
    an interface. Within this class is a method which
    updates the status bar on the interface. I want to be
    able to reference this method from other classes in
    order to update the status bar. However, in order to
    do this, I seem to have to create a new instance of
    the class which contains the SWING code, and
    therefore it creates a new window.
    Can somebody give me an example, showing how I might
    update a component on the interface without a new
    window being created.
    Many thanks in advance for any help offererd.It sounds like you have a class that extends JFrame or such like and your code must be going
               Blah  test = new Blah();
                test.showStatus("text");Whereas all you need is a reference to that Classs.
    So in your class with basic SWING functions that displays an interface.
    You Might have something like this
              // The Label for displaying Status messages on
              JLabel statusLabel = new JLabel();
              this.add( statusLabel , BorderLayout.SOUTH );What you want to do is provide other Classes a 'method' for changing your Status Label, so in that class you might do something like:
          Allow Setting of Text in A JLabel From various Threads.
         And of course other classes......
         The JLabel statusLabel is a member of this class.
         ie defined in this class.
        @param inText    the new Text to display
       public void setStatusText( String inText )
                    final String x = inText;
                    SwingUtilities.invokeLater( new Runnable()
                              public void run()
                                       statusLabel.setText( x );
      }You still need a reference to your first class in your second class though.
    So you might have something like this:
            private firstClass firstClassReference;        // Store Reference
            public secondClass(  firstClass  oneWindow )
                          // create whatever.........
                         this.firstClassReference = oneWindow;
    // blah blah.
          private someMethod()
                            firstClassReference.setStatusText( "Hello from Second Class");
        }Hope that gives you some ideas

  • I have an iPad and and iPhone. They share an iCloud and I want separate iCloud accounts. How do I create a new account without losing any information? I want to keep the original account on one device.

    I have an iPad and an iPhone that share an iCloud account. I didn't realize when I got my iPad last year that when I signed up the iCloud on the device that it would share and use 5g of iCloud between the both of them. How do I unsync them and have two separate iCloud accounts? I don't care about sharing between them. When my kids put games on my iPad, I don't want them going on my phone. How do I create a new iCloud without losing any info on the other device?

    Hi sugaliko,
    You may need to set up your BlueTooth connection to the keyboard again. Use the steps in this article for guidance -
    iOS: Third-party Bluetooth accessories
    http://support.apple.com/kb/HT1664
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • 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 AM

    Hi,
    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 do I create a new profile without opening firefox?

    Firefox is not opening for me even after I uninstalled and re installed it, I have been told that often this problem can be fixed by resetting my fire fox account, and while I have been instructed on how to access my profile without opening fire fox there is nothing that will tell me how to reset my profile or create a new profile without opening fire fox. Please help, I don't want to loose my important information and I really really don't want to use chrome... it sucks...
    Thank you

    See:
    *https://developer.mozilla.org/Command_Line_Options

  • 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

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

Maybe you are looking for

  • How Do I Save PDFs in Safari

    Safari in Mountain Lion displays PDFs but it doesn't provide any Preview tools to zoom or save. The Help File suggests otherwise. I do have Acrobat Pro and Acrobat Reader on the Mac, but Preview is the default app to open PDFs when I double click on

  • How to unlock 800 client in my pc

    hi sap gurus plz help me out. Iam not able to login into client 800. its giving an error 800 locked. I dont even know how to login from 000 so that i can reset my password in usr02. plz help me out.

  • Adapter for dvd use

    I have a fairly new 12" ibook G4 that I am using essentially as a dvd player. I would like an adapter that will transfer both the audio and visual image from the dvd to my television so I am able to watch it on a larger screen. I do have an apple VGA

  • XML Interface in Solution Manager

    Hi All, In Solution Documentation presentation, there are slides that give details on importing documentation from external sources like(Excel) into Solution Manager documentation. Has anyone done this task and what is the interface used to export to

  • Routing and remote access logging to SQL server

    Hi! I am in the process of trying to set up SQL logging from routing and remote access on a windows server 2003 to another windows server 2003 which is running microsoft SQL server 2005. What i did was i created a database named RRAS in the sql serve