Auto start of db when it goes down

Is there any way using script to start database when it goes down due to some unexpected reason on windows platform?
Oracle 10g
Windows 2003 Server

Hi,
Create your own batch script that does the below things
1) Make a connection to Oracle to see if database is up.
2) If not then start the database.
I would be better checking why Oracle database is going down too frequent rather doing auto start.
Regards
Anurag Tibrewal.

Similar Messages

  • Auto start Front row when insert DVD

    Bonjour,
    May the subjet has been already discussed, but is anyone
    know an applescipt that can auto start front row when a DVD is
    loaded?
    Thank you

    I couldn't get this suggestion to work on two different Macs. I don't think the Front Row.app is handled the same way as other applications. For example, you can't launch Front Row by double clicking on it inside the CoreServices folder.
    -Doug

  • I am unable to start up my iMac running on 10.4.11 - the startup disk is installed and will not start up eben when I hold down the "C" Key. I do get the apple, but then it disappears.

    I am unable to start up my iMac running on 10.4.11 - the startup disk is installed and will not start up eben when I hold down the "C" Key. I do get the apple, but then it disappears.

    Query by serial number
    Apple's warrenty database will identify the type of Mac you have.  Your serial number is securely sent, but you get only the name of your machine.
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    This site provides more information, but lacks security.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    or
    This site provides more information, but lacks security too.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html
       ( hint by K Shaffer  )

  • L2TP script to initiate a router reload when tunnel goes down - working

    Hi,
         Just thought I would post a working EEM script on doing a router reload when the L2TP tunnel goes down....
    I am using a 3825 router to initiate a site-to-site tunnel with a 3rd party vpn service - StrongVPN.  On the odd occasion when the tunnel goes down, the l2tp tunnel state goes to "no session left" and the virtual-ppp1 interface - which is tied to the l2tp vpn - goes down.  Unfortunately, because I have no control on the far end router, the only way to bring it back up is thru a router reload....
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Jason

    Hi Arie,
         So, here is the script I am using....
    When the L2TP tunnel goes to "no sessions left", the virtual-ppp1 interface goes down.  That's the typical message I get when it goes down.  So, when I reboot the router, the script shows the message that the virtual-ppp1 interface is up when the L2TP tunnel comes up.  I checked the debugs and that is the behaviour when the tunnel goes up / down...
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Thanks.

  • What happens to client session when host goes down?

    I have a windows 2012 R2 RDP environment. 1 Broker and 3 Session Host Servers.
    My question is as follows:
    User connects via broker to one of the Host servers. Host server goes down, while user is still connected. Session is written in Broker database. User wants to connect again, but broker sends him on to the server which is down and so he cannot connect.
    Other situation is similar, User connects to host, administrator drains host, stopping new connections. User disconnects session, session is still in Broker, when user tries to reconnect is sent to drained server but cannot login, as he is considered new
    connection.
    What am I missing?
    Aaron

    Hi Aaron,
    Thank you for posting in Windows Server Forum.
    We need to configure RDSH in a load balance farm where it can be managed by RD Connection Broker. For that we need to use DNS RR where need to make entry for all RDSH server which will be handled by RDCB Server or we can use any load balancing method to load
    balance the different RDSH server and thus that connection will allow the disconnected session for reconnection and can identify the connection.
    The RD Connection Broker for RDS serves the following main purposes:
    • Determining the best RD Session Host server to connect to - this is based on the amount of current sessions per RD Session Host Server as a form of load balancing. 
    • Reconnecting a user to an existing session, in case there is one - this is called reconnecting to disconnected sessions. 
    • Being a resource for RD Web Access to deliver information about what Remote Apps are available on RD Session Host Servers that are a member of the broker.
    More information.
    Remote Desktop Server farms explained (Part 1
    & Part 2) (Link is for Server 2008 R2 but it’s only for reference).
    Step by Step Windows 2012 R2 Remote Desktop Services – Part 3 (For Server 2012 R2)
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • JMS Exception when server goes down (Urgent) ?

    Hi All,
    I have three topics in the JMS Server which is on the top of Web logic server 8.1.
    On the client side I have Swing thick cleint.For each topic I have a listener.
    When the web logic server goes down ( I shut down manually ) Only one listener is recieving the Exception and the Swing client reacts accordingly.
    After this ,
    Client continousoly checks whether the server is up or not. Once the server is up again the Exception is thrown that server is down ( I guess now the second listener is recieving the message).
    After some time again the third listener recives the message.....
    and the client reacts on that exception 3 times.
    How can I get rid of this ?
    thanks in advance.
    san

    Hi,
    this is probably a very good question to ask support. 'Logical' deployment sequence
    was added to the WebLogic only recently (6.1sp?) ('logical' means that first datasources
    are deployed, then EJB's and then web-apps, deployment-order parameter was added etc).
    So, for applications where shutdown sequence is important there must be a document which
    describes how server shutdown works.
    On the other hand, this may not be as important as deployment sequence, because running
    instance can crash at any time and it should not affect anything.
    Jen <[email protected]> wrote:
    Repost
    Hi,
    Most of my ejbs use connection from the connection pool. At the weblogic server shut
    down time (heavy load), I can see the jsps call the ejb, sometime jsp can't find
    the bean because it's removed from jndi. sometime jsp found the bean but when the
    bean try to talk to database, ejb can't use the connection because the datasource
    is removed from jndi. Also my shutdown class waits for the threads finish up, and
    the threads calls the ejb and do the db operation, and the conn is cut when the db
    operation is half way. So, the order of events when server shut down is important
    to me. I am wondering how other people deal with it. Thanks --
    Dimitri

  • WLAN goes down when WAN goes down

    Hi
    I have 4 AP with EAP enabled. The authentication servers are located globally and the authentication request goes to the server situated in another country. My problem is that when my WAN goes down my WLAN also goes down immediately. Does the AP communicte with the server even after authentication, Atleast after authentication it should keep my authenticated machines in the network
    any help is appreciated
    ashish gupta

    if you use a Cisco ACS server, click on "Interface Configuration" and "Radius (Cisco Aironet)" Make sure that "Aironet-session-time" is checked.
    Then, you can change the session timeout in user or group level.
    Other ways to resolve the problem:
    1. install redundant links to the site
    2. configure a second radius server on all access point. The second radius server can be one of the APs locally. If you configure "radius-server deadtime ?", the AP will not communicate to the radius server for a period of time if the radius server does not respond for 3 times. Of course, you have to populate the centralize user database to a number of APs.

  • ODIWaitForData - what to do when db goes down?

    Feeling a bit dense about this one, but...
    I've got a package that uses ODIWaitForData, then goes through a number of steps until it returns to the ODIWaitForData step. This works fine until the database that's being polled for data goes down for backup, which causes an error in the step.
    What's the best practice for handling this?
    Create a KO path the gently ends the scenario?
    -John

    You can also add OdiSendMail to the KO step following by OdiSleep and then OK step to OdiWaitforData ,using OdiSleep let it go for sleep for few min and Join Ok step back to OdiWaitfordata , so in case the database comes up again it can read and process else let the process sleep and also by email you will also get notified that something is wrong in Source database .
    OdiWaitforData KO- OdiSendMail ---OK --- and ---KO--- (have both steps,even if mail server is down your job wont step ) --> Odisleep( sleep for 15 -30 min ) -- OK ( join back to ) OdiWaitforData
    What do you think ?

  • When Workspace goes down 6 Jan 2015, what happens to Buzzword?

    The Buzzword & Presentations Internet collaboration tools are very good.
    When Workspaces shuts down in January 2015 will those tools surface as independent Adobe products, or will they be accessible through a different Adobe Internet portal?
    Macromedia Contribute was a big problem-solver for me - especially when coordinating website creation within one template, but originating from different countries, and multiple designers.  In some respects Buzzword and Presentations share that interactive connectivity - with sharing and templates.
    I hope Adobe has a positive answer for this one.
    Thank you
    MIchael Cerulli Billingsley
    SharedSufficiency.org
    and Redactyl.com

    Unfortunately, Buzzword and Presentations will be permanently retired along with Workspaces.
    For details, see FAQ: Adobe Workspaces retired.

  • Notification when ICM going down

    Could someone please tell how I can set up email notification each time concurrent managers are terminated successfully or otherwise?
    What I am looking to do is that each time the ICM is going down, I receive an email.
    Thanks

    Write a shell script (set up a cron job) that checks the status of the CM (either from the OS by checking FNDLIBR executable files or by reading from the database by checking the actual/target columns of each CM in FND_CONCURRENT_QUEUES table).
    This is what I am after ........to know where it is configured. I may have to look for and ask the DBA that set it up.https://forums.oracle.com/forums/search.jspa?threadID=&q=Concurrent+AND+Down+AND+Notification&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • MBP shuts off when battery goes down to ~20%

    Recently, my MBP started shutting off when the battery level got to 20%. No low battery warning, just shuts off like it got to 0%. I plug it in, turn it on, it boots and battery level is right around 20%.
    Battery Information:
    Model Information:
    Serial Number: SMP-ASMB012-3571-70d
    Manufacturer: SMP
    Device name: ASMB012
    Pack Lot Code: 0001
    PCB Lot Code: 0000
    Firmware Version: 0102
    Hardware Revision: 0300
    Cell Revision: 0200
    Charge Information:
    Charge remaining (mAh): 4420
    Fully charged: Yes
    Charging: No
    Full charge capacity (mAh): 4440
    Health Information:
    Cycle count: 191
    Battery health: Good
    Battery Installed: Yes
    Amperage (mA): 0
    Voltage (mV): 12544
    I took it to the Apple store and the "genious" told me that cycle count is too high and they can't replace the battery under warranty. He said I use it with a battery too much. Last time I checked, I bought a portable computer, it has a battery for a purpose. When I work at a client's office I don't always have it plugged in. What does actually constitute a "cycle"? I've had the laptop for 1 year and 2 months.

    Ok, so I'll tell you guys my experience with the genius bar at the Apple Store.
    It was about 2:20 pm today, I walked up to the genius bar and waited for someone to come to me -- which took all of 30 seconds. So he asked what my reason for visiting was, and I told him the story about how my battery would just cut off at 30%. He then asked for my computer, so I reached into my laptop bag, pulled it out, and placed it in front of him. It was in sleep mode so we just opened it up to get started; he went to the "About this Mac" from the Apple button in the menu bar and took a look at my serial number. After about 2 minutes he said "I'll be right back." I waited for no longer than two minutes, and he came out from the back with a box in hand. He then flipped my computer over and took my battery off, opened the box, pulled out a new battery and placed it in my computer. Then, all that I had left to do was sign for it, and I was on my way in no more than 10 minutes.
    What I find interesting is that he didn't even look at how many "cycles" my battery had; although, it probably wouldn't have made much difference as it was only at 17. At any rate, I asked him if there was a set of defective batteries out there -- including mine -- and basically he told me that yes, there was. So I guess since he looked at my computers serial number, his computer told me that mine was one of the affected ones.
    Anyways, bottom line was it was very easy to do to get it replaced, with zero hassle. For the most part, I'm pretty happy with how the Apple Store and genius bar both opperate, much better than dealing with stores like Best Buy and the like -- in my opinion anyways.
    Good luck everyone.

  • When apple is going to have an update for mountain lion to fix the spinning wheel at start up and when a shut down my macbook pro 2011?

    I bought a 2011 macbook pro after clean it up and reinstal Mountain lion, i did an update since then, whe i start up and shut down the computer gets a spinnin wheel which takes forever. I have read about this problem but i'm new at mac, and seem to be kind of complicated repair it. I'm wonder if anyone knows if apple is doing something to fix this? macbooks arent chip and i shouldnt go thru all the the time consuming to get it works how sopose to.
    if some one knows anything or if there is anybody who can guide me step by step on how to fix this, i really will apreciate that.
    thank you.

    As cbs20 says...
    Boot up holding command-r keys into your Recovery Volume.
    The screen should give you these choices...
    Restore from TM backup
    Reinstall Mac OS X
    Get help online
    Disk Utility
    First run Disk Utility Repair Disk, if you get errors run until no errors reported or reports "the disk cannot be fixed". Then, choose Reinstall OS X. This will be an install "in place" and shouldn't effect any of your own data or settings.

  • Automatic shutdown of Radio when WAN goes down

    I have an autonomous CISCO 877 wireless router IOS 12.4(9)T6
    I want the radio to shutdown if there is no egress port -( usually ADSL but concievably Ethernet) but I can't find the commands.
    I had a problem some time ago with another non-CISCO AP that was associating with local clients because they saw it as a strong signal but then couldn't route the packets because the Ethernet was down. Other nearby APs could have taken them over if its radio had been switched off.
    I can't believe there isn't a way to do this but I'm looking for the commands in vain. This works a bit like a backup but instead of bringing a port up when another fails it should shut down the radio when the monitored port fails.
    Sorry if this is a dumb question but I've trawled through docs and postings: maybe I'm getting the wrong keywords

    Thanks Roman - exactly what I needed.
    I have added the config below for anyone else who might be interested - although I only used the Ethernet Interface as a test
    and have yet to try it with the ATM or dialer interfaces.
    event manager applet RADOFF
    event syslog pattern "Interface FastEthernet3, changed state to down"
    action 1.0 cli command "en"
    action 1.1 cli command "conf t"
    action 1.2 cli command "int do0"
    action 1.3 cli command "shut"
    event manager applet RADON
    event syslog pattern "Interface FastEthernet3, changed state to up"
    action 1.0 cli command "en"
    action 1.1 cli command "conf t"
    action 1.2 cli command "int do0"
    action 1.3 cli command "no shut"

  • Howto notify admins when server goes down

    hi all
    I want to learn that how do you monitor the BPEL engines? Can you send snmp traps or do you use any other mechanisms? and how?
    Maybe i will only send alert when engine crashes or in similar cases.
    Replies will be very useful to solve this issue .
    Thanks

    additional comment: We don't use WSM(webservices manager).
    Thks

  • Easy way to reset WiFi when it goes down? Aside from unplug?

    Daily or every couple days ATV2 loses the Wifi. The only way I know is the hassle of unplugging and replugging. The only other is re-logging onto WiFi which requires the password every time. Not family friendly.
    On a laptop I can just switch WiFi on and off and that fixes it. Never get asked for the password again. Isn't there a way to do that with ATV2?

    phrarod wrote:
    Just ran it. Shows 43% with 17% noise. +/-5%
    have a look @ [this|http://discussions.apple.com/thread.jspa?messageID=10329543&start=1] thread.
    Shows I'm on channel 11.
    are there any other networks broadcasting on that channel ? or near it ?
    How can I change channels to see if that fixes it?
    you'd do that on your router. if you have an Apple router (airport extreme or express, time capsule), launch airport utility and enter +manual setup+ for your device. go to the wireless tab of AU and find the +radio channel selection+. by default it is set to automatic. change it to manual and select a channel that is as far away as possible from other networks (if another network broadcasts on channel 9, say, you'll want channel 3 or 4 for yours).

Maybe you are looking for

  • How do I set up bookmarks sync to iCloud for Safari in Windows?

    The page http://support.apple.com/kb/DL1455 shows iCloud Control Panel for Windows permitting bookmarks sync for Safari but when I run it it shows bookmarks sync for Internet Explorer. How do I set this up for Safari on Windows?

  • Change default page to Dashboards

    Hi, When i log in Presentation the first page that appears is Answers. How i change this to Dashboard? Thanks

  • Display Chinese Character in SQLPLUS

    Anyone have any idea how to display a chinese character from the database? Is it possible to display from sqlplus. null

  • How to debug Adaptive RFC

    hi folks, How to debug an adaptive RFC connection and plz leave some idea about the Bapi_Input and Bapi_output structures thanks in advance nikhil

  • Elements 7 Runtime Error

    "Runtime Error! Program: ...Adobe\Photoshop Elements 7.0\PhotoshopElementsEditor.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." It has worked grea