commandline of database startup without listening active

Hello

in the past, I started my database under UNIX with this: sqlplus sys/pwd@DATABASE @startup.sql startup.sql contains only "start";

It worked well with databases that have been hard-coded in the listner.ora. But we changed our behavior to listener... now the listener waiting for the connection to the listener, so the command above does no more than databases. I tried:
export ORACLE_SID = DATBASE | sqlplus sys / as sysdba @startup.sql
but it fails with the syntax of sqlplus prompt. Can someone give me a tip or annother opportunity so that it starts the database with a sinlge code line? Maybe something like this is common sense... but I can't make it work:
export ORACLE_SID = DATABASE | sqlplus < < EOF connect / as sysdba \n startup\n quit \n EOF

Thank you

user10650608 wrote:
I thought that dbstart.sh begins all databases? It also tells the head of the file:

This script will start all of the databases listed in the oratab file

I want to just start and stop a single database. A startup on the dbhost Script would be OK, but I don't know how :-(

perform the backup of this script change the script as you want.

Osama...

Tags: Database

Similar Questions

  • Database startup without repeating group of newspapers online HELP

    Hello

    I need help

    I lost a full group online Redo Log (1A and 1B), I have only two of the three who had (2 a, 2 b - 3A, 3B), how do I do the database without this group.

    Thank you for your cooperation

    Missed or corrupted file?

    Corrupted: Add the parameter(ALLOW_RESETLOGS_CORRUPTION = TRUE) in PFile, start the DB using Pfile.

  • Automatically fix problems of Windows Search, such as failures of corruption, crashes and database startup

    My system is not working too, before a return Wea? I try to fix it, through, Fixit online, got the massage (automatically repair Windows Search problems, such as corruption failures, crashes and database startup)

    I don't know what to do, please help me Salove problem, thank U, Best looks

    :):):)

    first run checkdisk

    If you have not installed recovery console, and then run from the start menu

    go to start, run, type cmd

    in cmd type chkdsk c:/r, and press enter

    type y for Yes and press enter

    Type exit, and press enter

    restart the pc, let checkdisk finish and run again.

    restart the pc and the error persists there?

    Please give an EXACT error message.

    also, make sure that your pc is clean

    !. What is your current antivirus?

    2 follow these steps:

     

    Download, install, update and scan with these full free malware detection programs:

    Malwarebytes (MMFA): http://www.malwarebytes.org/products/malwarebytes_free

    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    Remove all found, restart, and run again until analyses race clean, these can be removed later if you wish. Perform analyses to one at a time, please.

  • How to test activation without actually activating a copy of windows OS?

    I have a set of codes to activate windows 7 (home premium and standalone upgrades Home premium).  I don't know if I have them enabled for a past customer and will not resell previously activated copies of windows.  How can I check to see if a specific product activation key has been activated before without actually activating it?

    I think that some of these posters are poorly understand your question.  You are trying to activate a code which is used elsewhere is a bad idea.   It can activate online if there is a period of time since the last activation and later cause a problem. Or he might want to activate the phone.  In both cases, which do not confirm whether to use elsewhere but a later transaction of WGA could cause a problem.

    I don't know anyway to check these keys with Microsoft.   FWIW - if you could get access to the computers that you set up for the 'customer spent', you can use a key finder like this program to weed out the most used.  If this isn't the case, I don't know a solution for you.
    (I save an inventory of all the computers, I service using SIW Pro., which includes the information of the system.)  Maybe something like that would be useful for your company too.)

    The Magical Jelly Bean
    http://www.magicaljellybean.com/KeyFinder/

  • Before you install the new version without CS2 activation, during uninstall old Photoshop, should I ke

    Before installing the new version without CS2 activation, during uninstall of the old Photoshop, should I keep or delete preferences and should I use standard uninstall or advanced?

    You are welcome to keep your preferences.  They will be used when you reinstall Photoshop CS2.

  • Add a new database to the listener

    Hi all
    on 10 g
    How to use netca, can add a new database to my interlocutor?

    Thank you.

    Do you really need to add the database to the listener?

    Why not just use dynamic record by setting the parameter 'local_listener' in the database?

  • taskflow bounded without view activity

    Y at - it no problem to have a bounded task flows without a view activity?

    The use case is that we have a button on a page that does several things, based on the verbiage on the button. We want to have individual workflows task merely to do the work for each scenario the button when you click on this workflow would consist of a flow of method calls that caches data in the VO then committed to the database. We believe that isolated tasks with new transaction flows, and we could have a return, return to activity of restoration and the exception validation.

    Does this sound feasible?

    Thank you.

    The only thing that seems odd is that the workflow must be isolated (and had no access to the data changed outside itself), do something and then commits the work without interaction of the use. If this is the case, you can move the entire actions in a module of the application method and call this method instead of using a workflow.

    Timo

  • editing of database startup standby automatically

    Hi gurus,

    I work with a RAC (oracle 11.2.0.3 database) under Red Hat 5.3

    yesterday, the server where the database is, mysteriously restarted. But the database does not start automatically, I had to do a manual "startup mount standby database.
    There is a setting so that it starts automatically with the mode "startup mount standby database?

    I was looking in google but only found scripts that modify the /etc/init.d/dbora or etc/init.d/.dbora.swap, but I guess that this oracle will have a parameter or something to do by itself, I'm wrong?

    Thanks for your time.

    Hello

    When clusterware start the resource (the oraagent.) is not a su (switch user) to the user corresponding environment (since this could introduce other errors).
    Therefore, no profile (eg..) bash_profile) haven't is run and therefore not active.

    To pass environment variables required for the database, set the environment in the cluster registry (srvctl setenv).

    However, it is one of the reasons why I am personally not a big fan of TNS_ADMIN.

    Concerning
    Sebastian

  • scan_listener running on the node without instance active

    I have a 5 cluster nodes, we are runinng case ONLY nodes on 1,2,3 other INSTANCES (4 node and node 5) 2 are shutdown. (For the future, use the APPROPRIATE CASE). My scan_listeners are as follows:
    LISTENER_SCAN1 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan1 is running on the node btpu15
    LISTENER_SCAN2 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan2 is running on the node btpu13
    LISTENER_SCAN3 listener to SCAN is enabled
    SCAN of the earpiece that listener_scan3 is running on the node btpu12

    However, the instances work only on btpu11, btpu12 and btpu13.

    Also, when connecting to the database using SCAN, I do NOT connect to instance 1 which is located in btpu11. Connection, disconnection, reconnection, etc will bounce me instance 2 and 3, but never get to instantiate 1.

    Any help?

    Hello
    first of all it doesn't matter, where Auditors SCAN run in a CCR environment.
    They only send connections for local listeners, where database instances are running. It is permitted to have a listener to SCAN on a host without a database.
    Read this white paper for a clarification of the SCAN:
    http://www.Oracle.com/technetwork/database/clustering/overview/scan-129069.PDF

    Now that your first instance does not get connections, could have several questions:
    (a.) the database on node 1 is not reachable.
    => Please check with SCAN listeners, that the service registered for the database really also points to node 1 (service of lsnrctl LISTENER_SCAN1 on the SCAN respecitive listener node runs).
    => Please check with the local listening on node 1, that the listener is rising and services service (the GI Home lsnrctl service)
    (b) try to connect to the service directly on the local node (using the VIP (not SCAN)): sqlplus user/pwd @: 1521.
    -Online so you can connect and that you are on the instance on node 1, then maybe loadbalancing a kicking, and the cluster think there are too many sessions/load on server 1 to lead more connections to it.
    Try temporarily stopping the service on the node 2 and 3 and see if you get now a connections to server 1.
    If it works, then you can be sure loadbalancing took the decision to not connect to node 1...
    => If you are unable to connect, you have a configuration problem.

    On one of my groups I also had to make 20 to connect for a connection to a specific node, so do not count on it...

    Sebastian
    Sebastian

  • iPhone time once randomly without incoming activity rings?

    I've recently upgraded to a 6 s iPhone that is running the latest version of iOS - V9.3.4

    I'm on Verizon's network if it is useful.

    Recently, my phone started to ring - just a ring in the middle of the night.

    He uses the ring type is the 'old phone' ringtone - I do NOT have this ringtone ALL functionality of the phone at least seen under the sounds-> models of sounds and vibrations.

    Inspection of the phone (last night at 04:00 when he woke me...) showed a now incoming activity - no calls, no txt and mail is not running in the background, and I have the value only manually retrieve new mail messages.

    I hard - reset the phone but that did not help...

    Any suggestion is appreciated!

    Hello

    Possible sources include:

    • Mailing address:
      • I understand that you don't believe, it's the source, but it is always worth checking your e-mail for each account settings (settings > Mail, Contacts, calendar > fetch new data).
      • And check your notification settings alert email:
        • For example, go to: settings > Notifications > mail > VIP > sounds > check if this ring has been selected.
        • Check also under settings > Notifications > mail > iCloud.
    • An application:
      • Can you install an app that emits notifications, with settings that allow Notifications of audibles, but without other options also being activated (for example Show Notification Center, Badge, icon on the lock screen).
      • Check if the settings for each application installed in settings > Notifications.
  • Can you lock my iphone without finding active my iphone?

    Please I need your help. My iphone was stolen yesterday. I logined as my icloud but I does not enable find my iphone. I have tried everything I can to find my iphone, but everything is hopeless. My iphone is very important to me. Have you even help me to find my iphone or block my iphone. ? I really really need your help. My name is Nguyen Ngoc Thai and I'm Vietnamese

    # You can not remotely lock or locate the phone without finding buy iPhone activated.  That's why Apple invites you to do when the phone is activated.  Other users in the user forum can do either (and neither does Apple).

  • Computer problem: black screen on startup WITHOUT cursor

    Someone help me please!  Very well done on startup after loading thing I get a black screen, without a windows cursor. When I try to get into safe mode, the thing stops at: Multi (0)... Drivers/MUP.sys what should I do?

    Hello

    1. What is the number of brand and model of the computer?
    2 have you made changes on the computer before this problem?
    3. what application or anti-virus security suite is installed on your computer?

    Method 1
    I suggest to disconnect all external devices except the mouse and keyboard and check if you are able to boot to the desktop.

    Method 2
    I suggest you boot the computer last known good configuration and check if you are able to boot to the desktop.

    Start the computer by using the last known good configuration.

    Follow the article:

    http://support.Microsoft.com/kb/307852


    Method 3
    I suggest you to perform repair install or Windows and check if the problem persists.

    How to perform a repair of Windows XP installation, if a later version of Internet Explorer is installed
    http://support.Microsoft.com/kb/917964

    Note: When you perform the installation of repair make sure that you back up all your data.

  • error at startup: 2 Partions Active

    I get an error on startup upward on a windows XP computer '2 active Partitions' and all it allows me to do is try again or enter setup.  I tried to boot from the CD, but once get going you and trying to recover, he said: none found hard drive.  There is only one hard disk of the computer.  Can I do to solve this problem?

    Hello

    1. you have Windows Vista or Windows 7 installed with Windows XP?

    2 have you made any changes to the computer before the show?

    In case you have Windows Vista or Windows 7 with Windows XP installed, try the steps of troubleshooting provided in the link below.

    Windows no longer starts after you install an earlier version of the Windows operating system in a dual-boot configuration

    http://support.Microsoft.com/kb/919529

  • II you need VERY basic instructions on how to stop a program from running at startup, without the help of Windows Defender.

    I have a Vista operating system, I use Firefox as my browser and I have MS Security Essentials, I turn off my Windows Defender.  I want to disable some programs from starting automatically, but I can't figure out how do it when I can not use this feature in Windows Defender.  I'm not at all read and write or experienced in computers or software, so PLEASE keep this in mind.  I really need advice for flush on a kindergarten, with each specific step the easiest way, so I can understand & follow him.

    Thank you for your help in this matter, as well as for your understanding of my limitations.

    CA DJ

    Hello

    Without knowing the programs you want to disable, I'll start by saying that I can't be responsible for adverse effect to the normal operation of your system.

    That said...

    • Click Start
    • Type msconfig and press enter
    • Click on the Startup tab

    You will see checkboxes for programs that run at startup.

    Or you can use a more comprehensive tool called autoruns...

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    Maybe is a better way to explore the settings for the programs themselves, there is often a check box for "do not run at startup.

    Tricky

  • Database LDAP without certificate

    Hello

    Is there any type of Protocol eap ACS 4.1 works without certificates and compatible with the LDAP database.

    Thank you

    Yes go begging for the manufacturer of the card, they usually have the option for EAP - GTC.

    If your issue is resolved, please mark this topic as resolved, so that others can benefit from.

    Thank you

    Prem

Maybe you are looking for