How can I set my database instance to start in OPEN mode after my computer

Hi all,
Sometime, I have to reboot my computer. After it rebooted, my instance is automaticaly executed. But, my database is not set to the OPEN mode (automaticaly). On some development computers, my status is set to OPEN after a reboot. On some computers, the local database is set to the IDLE instance.
How can I set my database instance to start in OPEN mode after my computer has rebooted?
Thank your for any help.

but i could not run command emctl start dbconsolor lsnrctl..
What error you are getting? If you are not able to run both of them then the ORACLE_HOME is not set properly.
i set oracle_home and oracle_sid in thereWhere? Is it set in your user variable part of system variable. It is good to set it in the system variable, so that it will be common for all the users who use the system.
To check whether the variable is set or not go to the command prompt and type
setIf you see your ORACLE_HOME variable then it is set or else not.

Similar Messages

  • How can I set the guests to auto start after the primary reboots?

    For version 1.2 of LDOM software, how do I set the guests to automatically start after I reboot the primary? Right now if I do this:
    ldm stop -f guest1
    reboot primary
    guest1 will be bound and manually started with ldm start
    ldmd is set to start at boot.
    Thanks, Kevin

    Try running ldm set-var auto-boot\?=true guest1This will set the LDOM guest openboot parameter "auto-boot" to true and it should boot automatically when the Primary restarts.
    Steve

  • How can I set my Database in mode ARCHIVELOG?

    Hello,
    I was reading that I need to set my Database on mode ARCHIVELOG to make backups.
    How can I do it?

    You need to be in archivelog mode to do hot (online) backups. You can take cold (offline) backups if the database is in archivelog mode or not.
    Below are steps to enable archivelog mode
    Start Archive log mode
    1. connect / as sysdba
    2. startup mount exclusive
    3. alter system set log_archive_dest=<archive destination> scope=both;
    4. alter database archivelog;
    5. alter database open;
    6. shutdown immediate
    7. backup database
    If you are using a database prior to 10g, you need to set log_archive_start = true in order to enable automatic archiving.

  • How can I set the gain on a SCXI-1102 module without having my computer lock-up for 3 seconds?

    Forgive my insolence, but did it never occur to anyone that spinning in a hard loop while polling a status register to set a gain for 3 seconds isn�t a great idea?
    I have a number of SCXI-1102 modules to set the gains on, and it takes several seconds for each. Reading the documentation on the subject indicates that the SCXI_Set_Gain call polls a status register waiting for the gain to settle before returning � and it doesn�t even yield while doing so.
    Are there any other ways I can set the gain? Is there a way that doesn't poll the register that returns in a reasonable amount of time?
    AFAICT, there's no good reason to only allow one module to be s
    etting its gain at a time. An asynchronous call it really needed - one that makes it the API programmer's responsibility to check the status of the register, or one that spawns a thread and sleeps between polls, and signals an event or invokes a callback or some-such-thing. Or you could even just sleep for three seconds after setting all the gains, this way the delay would be 3 seconds total � not 3 seconds for each gain set.

    This NI-DAQ function call directly accesses the nidaq32.dll. While the nidaq32.dll is multithread safe, it is not a multithreaded DLL. This is also described in the KnowledgeBase entry 1V9DSHDM: "Can NI-DAQ Handle Different Operations at the Same Time? Is It a Multi-threaded DLL?"
    You are correct that the SCXI_Set_Gain function is not asynchronous. Thus, you do have to wait till that function returns before calling the next one. LabVIEW has found a way around this. So, you can actually use the LabVIEW functions to set the gain on these modules without having to wait as you do with SCXI_Set_Gain.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How can I set macbook pro to reconnect to secure home wifi after lifting the lid (from sleep mode)

    I have owned my MacBook Pro for 1 year now and not sure for how much longer! It is my first Mac so I have been patient as most issues are 'operator eror) but since I upgraded to Mountain Lion OS X 10.8.2, every time I close the lid then reopen from sleep, the WiFi does not auto reconnect.
    I have trawled these forums for 6 month now and not found a solution. I have lost count of how many people have added to threrads saying they have the same issue bt I have not found a thread that resolves this issue for everyone. (or me)
    Can someone point me in the direction of a final tried and tested 100% fix? Surely if the issue is so bad Apple have some 'patch'? Or is it a router security issue when reconnecting?
    I would not reccommend buying Apple to anyone purely on this one issue. I would like to have my faith restored.

    JohnTh,
    Well, so far, success! I would never have got to that point on my own! I simply followed your procedure and it worked first time.
    For info, the router I am using is a Netgear DGND33000v2.
    I might go back and do it again, renaming my WiFi back to the original name (the one I used was temporary).
    I will have to go round all my other devices and re-establish the WiFi links.
    Apple TV
    DVD player
    iPad
    iPhone etc.
    As Paul4Laffs reiterates, this problem is viral on the www forums and yet, (touchwood) is simple to fix!?
    I hope I don't come back after a few days (I have read some 'fix's have worked but for limited time.)
    Maybe you have jut saved this MB from eBay!
    Once again thank-you.

  • HT1146 microsoft Outlook for MAC, how can I set "receive notification email sent has been opened and read" in Outlook?  Thanks

    Microsoft Office for MAC, how does the sender select a notification that an email has been opened and read in Outlook?  Thanks

    Since this question is about a Microsoft product, you might have more luck getting suggestions if you ask in Microsoft's own forums.
    Regards.

  • How can I set a default web site to be open when I add a new tab?

    I want to set a default site that when anytime I open a new tab it will automatically be open.

    Install the following Add-ons:
    *'''''New TabURL''''': https://addons.mozilla.org/en-US/firefox/addon/newtaburl/
    *after install, set the options. ''Add-ons > Extensions > New TabURL > Options''
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • FF31: How can I set a color for the empty page opened by new tab ?

    Currently my new tabs open an empty, white colored page.
    Is it possible to give this page a color of my choosing, say sky blue ?
    If so, how ?

    Try:
    *Customize about:newtab: https://addons.mozilla.org/firefox/addon/customize-aboutnewtab/

  • I always want google classic, but sometimes i get google beta or google security (or whatever, can't remember its name) when i don't want it. why does this happen and how can i set google classic as the default?

    google is my default on the home page. But when i ask for google or simply open firefox, i sometimes get google beta or google security (or whatever its name is) instead of google classic. I just want google classic. How can i set it as my default. (I have a desk top computer, use firefox, and this never happens.)

    Why Apple can't undo its mistake?
    Whose mistake? The source of the problem:
    I was required to enter my recovery key. Now, there begins that huge flaw. I've forgotten it (I know it was my responsibility to remember it).
    If you had just taken the simple steps of storing your recovery key as Apple tells you to when you set it up, none of this would've happened.
    As it clearly states in the FAQ on 2-step verification: http://support.apple.com/kb/HT5570
    After you turn it on, there will be no way for anyone to access and manage your account at My Apple ID other than by using your password, verification codes sent your trusted devices, or your Recovery Key. You must be responsible for:
    Remembering your password.
    Keeping your trusted devices physically secure.
    Keeping your Recovery Key in a safe place.
    If you lose access to two of these three items at the same time, you could be locked out of your Apple ID account permanently.
    In addition, with two-step verification turned on, only you can reset your password, manage your trusted devices, or create a new recovery key.
    Apple Support can help you with other aspects of your service, but they will not be able to update or recover these three things on your behalf.
    If you aren't responsible enough to do that, you should not have turned the optional security feature on.
    This is your fault, not Apple's.

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • How can I set PCTUSED and PCTFREE in Warehouse databases?

    Hi,
    There are many Schemas in our database and some are used for OLTP and some others are used for Warehouse. Also our tablespaces are Local Managed.
    Could you help me please how can I set PCTUSED and PCTFREE for Warehouses and OLTP.
    What are your suggestions? What should be optimum?
    DB version is 9.2.0.8.
    thanks & regards

    If you are using locally managed tablespaces with ASSM then the pctused parameter would no longer apply. In all cases dictionary vs locally managed with or without ASSM you should set pctfree based on how much of the data row column values are present at initial row insertion and how likely any column is upated to a larger size after initial row insertion.
    In a warehouse I would expect most of the tables to have 100% of the row data present at initial insert and for the data to never be updated. For tables meeting this requirement a pctfree of 3 - 5% would likely be a good choice. I never like to use 0% since the day may come when you add another column to the table.
    With OLTP tables the ideal pctfree value varies more from table to table. Most table so seem to work well enought with the default 10% but I have seen tables that need 50% pctfree to prevent row migration since only the key column values existed at initial insert and most all the other column data was added later.
    Where ASSM is not in use I like to set pctused to 95 - pctfree. Over the last 15 years I am not sure I ever found a need to change the pctused from this once set. I have set a lot of tables up over the years from the old default of 40% to use 60% and 80% before resetting everything during a server platform migration as I mentioned above.
    HTH -- Mark D Powell --

  • How can I use two database in Dataset in SSRS?

    Hi,
    I am using one query to generate my SSRS report. In that query I am using subquery. Now I am pulling data from multiple tales.
    DB used in sub query is different than the rest of the tables DB.(So total I am using 2 DB(Database))
    So I see that in SSRS, I can connect query(In DataSet Properties) to one DATA_SOURCE only, how can I use other database which is I used in sub-query?
    I have to move this SSRS into PROD and I can't hard code that sub-query's DB name in my query.
    Please give me suggestion. Thanks!!
    Vicky

    In SSRS 2008 R2 you can use the Lookup function (http://technet.microsoft.com/en-us/library/ee210531.aspx ) and LookupSet function (http://technet.microsoft.com/en-us/library/ee240819.aspx
    Depending on your security set up, you can reference a table in a second database on the same server using a three part name:  database.schema.table.  This is more likely to work for you if you wrap your SQL command in a stored procedure.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • How Can I set up a JTable columns?

    Dear All,
    How can I set up my JTable columns to have the amount the user specifies?
    for example when the user types in 50 in JTextField 1 I want the JTables columns to then set to 50.
    How can this be done?
    Thanks
    lol
    import javax.swing.*;
    import javax.swing.table.TableModel;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class si1 extends javax.swing.JFrame implements ActionListener {
        JTextField name = new JTextField(15);
        JTextField name1 = new JTextField(15);
        public si1() {
            super("DataBase Loader");
            setSize(1025,740);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel pane = new JPanel();
            JPanel pane1 = new JPanel();
            JPanel pane2 = new JPanel();
            JPanel pane3 = new JPanel();
            JPanel pane4 = new JPanel();
            pane.setLayout(new GridLayout(20,1));
            pane1.setLayout(new BorderLayout());
            int j=10;
            String[][] data = new String[j][2];
            for (int k=0; k<j; k++){
               String[] row = {"",""};
               data[k] = row;
            String[] columnNames = {"First Name", "Last Name"};
            JTable perstab = new JTable(data, columnNames);
            perstab.setGridColor(Color.yellow);
            perstab.setPreferredScrollableViewportSize(new Dimension(500,500));
            JScrollPane scrollPane = new JScrollPane(perstab);
            pane1.add(new JPanel(), BorderLayout.EAST);
            JButton btn = new JButton("What are the names?");
            btn.addActionListener(this);
            btn.putClientProperty("DATABASE", perstab);
            pane1.add(new JPanel().add(btn), BorderLayout.SOUTH);
            pane2.add(name);
            pane3.add(name1);
            pane.add(pane2);
            pane.add(pane3);
            pane1.add(pane, BorderLayout.WEST);
            pane4.add(scrollPane);
            pane1.add(pane4, BorderLayout.CENTER);
            setContentPane(pane1);
            show();
        public static void main(String[] args) {
            si1 frame = new si1();
            frame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            JTable table = (JTable)((JButton)e.getSource()).getClientProperty("DATABASE");
            TableModel model = table.getModel();
            int count = model.getRowCount();
            String[] firstnames = new String[count];
            String[] lastnames = new String[count];
            for (int i=0; i < count; i++) {
               firstnames[i] = (String)model.getValueAt(i, 0);
                System.out.println("first name at row " + i + ": " + firstnames);
    lastnames[i] = (String)model.getValueAt(i, 1);
    System.out.println("lastname name at row " + i + ": " + lastnames[i]);

    As you can see I have tried this, but no success.
    If I am doing something wrong please accept my apology, and address me in the right direction.
    Thanks
    Lol
    import javax.swing.*;
    import javax.swing.table.TableModel;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class si1 extends javax.swing.JFrame implements ActionListener {
        JTextField name = new JTextField(15);
        JTextField name1 = new JTextField(15);
        public si1() {
            super("DataBase Loader");
            setSize(1025,740);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel pane = new JPanel();
            JPanel pane1 = new JPanel();
            JPanel pane2 = new JPanel();
            JPanel pane3 = new JPanel();
            JPanel pane4 = new JPanel();
            pane.setLayout(new GridLayout(20,1));
            pane1.setLayout(new BorderLayout());
            int j=10;
            String[][] data = new String[j][2];
            for (int k=0; k<j; k++){
               String[] row = {"",""};
               data[k] = row;
            String[] columnNames = {"First Name", "Last Name"};
            JTable perstab = new JTable(data, columnNames);
         ((DefaultTableModel)perstab.getModel()).setColumnCount(Integer.parseInt(name.getText()));
            perstab.setGridColor(Color.yellow);
            perstab.setPreferredScrollableViewportSize(new Dimension(500,500));
            JScrollPane scrollPane = new JScrollPane(perstab);
            pane1.add(new JPanel(), BorderLayout.EAST);
            JButton btn = new JButton("What are the names?");
            btn.addActionListener(this);
            btn.putClientProperty("DATABASE", perstab);
            pane1.add(new JPanel().add(btn), BorderLayout.SOUTH);
            pane2.add(name);
            pane3.add(name1);
            pane.add(pane2);
            pane.add(pane3);
            pane1.add(pane, BorderLayout.WEST);
            pane4.add(scrollPane);
            pane1.add(pane4, BorderLayout.CENTER);
            setContentPane(pane1);
            show();
        public static void main(String[] args) {
            si1 frame = new si1();
            frame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            JTable table = (JTable)((JButton)e.getSource()).getClientProperty("DATABASE");
            TableModel model = table.getModel();
            int count = model.getRowCount();
            String[] firstnames = new String[count];
            String[] lastnames = new String[count];
            for (int i=0; i < count; i++) {
               firstnames[i] = (String)model.getValueAt(i, 0);
                System.out.println("first name at row " + i + ": " + firstnames);
    lastnames[i] = (String)model.getValueAt(i, 1);
    System.out.println("lastname name at row " + i + ": " + lastnames[i]);

  • How can I set up multiple spaces (desktops) on my new MacBook Pro 10.9.5?  I have six set up on my other computer MacBook Pro 10.8.5 but can't find how to do it on this new one.  Would appreciate help on this.  Cheers.

    How can I set up multiple spaces (desktops) on my new MacBook Pro 10.9.5?  I have six set up on my other computer MacBook Pro 10.8.5 but can't find how to do it on this new one.  Would appreciate help on this.  Cheers.

    It's not completely obvious. What you have to do in Spaces is to position your cursor to the upper right of the screen, after which faint + (plus) sign appears in that area. Click that, upon which another Desktop will appear.
    The + may be difficult or impossible to see with some desktop backgrounds (black, for instance):

  • 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

Maybe you are looking for

  • How to check whether the user has a certificate or not?

    Hi everyone. We're currently finishing a web project and the last step is to check whether users accessing the application have a valid certificate or not. Users with a valid certificate can access all the data. Users without any certificate installe

  • Edit XML node using actionscript?

    How would I go about editing an XML node from within actionscript? I load the XML from a file, and before I pass it to an HTTPService I would like to set the field DateTime. The XML file that I am using can be seen here: XML Document When I try doing

  • MSS+ Compensation Information+ Salary Data

    Hello Consultants, I have a serious query and I would be really thankful to you if you can provide me some assistance in resolving the following error. In MSS under team there is a node of compensation Information. on clicking that we get to see the

  • Authorization Restriction for Object Changeability :

    Hi , How to restrict users from using Object changeability in Production System if they are given access to RSA1, even though the system is completely closed , with Object changeability, the users can still create a new Info package and upload data ?

  • Starts and shut down again.... Pleace help

    Trouble while starting up. When i start the book, it shows the startup apple for å few seconds and then turns of, totaly...