Shutting Down Oracle Normally in Unix

Hi All,
We faced a problem since 2 days before that our HP-UX(B11.23, ia64) has been restarted due to a known bug. according to this bug the o/s shutted down itself. When it do so it kills one of the oracle RAC instances that we have. Is there a way like it is in widnows to tell the operating system when it shuts down itself it should issue shutdown immediate command rather than just killing the oracle processes. In widnows there is a registery key called ORA_ORCL_SHUTDOWNTYPE the value of it is "i" which tells windows if oracle service want to be shutted down close it immediate.
A final note we have HP-UX version
HP-UX grpdb1 B.11.23 U ia64 3879138104
with 2 RAC instances.
Regards;

Hi,
to tell the operating system when it shuts down itself it should issue shutdown immediate commandIn the OS, it;a easy, just write a shell script:
http://www.remote-dba.net/t_ault_24_svrmgr_sysdba_pmon.htm
For complete script, I recommend Jon Emmons book "Oracle Shell Scripting":
http://www.rampant-books.com/book_2007_1_shell_scripting.htm
Hope this helps. . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference":
http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

Similar Messages

  • Sudden shut down during normal usage p001tx

    i bought the laptop p001tx one month ago exactly by today, this evening i experienced a sudden misbehaviour of my pc .This is my first negative encounter with the device,  i use my laptop with pretty much care,no heavy softwares are installed and i use nfor normal only, this evening i was using the laptop with power plugged in and suddenly a sound resembling somethimg burst and it followed by sudden shut down.after 5 mins i again restarted the pc and it began to work normally
     what could be the reason?

    THis should help:
    http://support.hp.com/us-en/document/c03413399
    Wish you luck,
    Karthik
    --Say "Thanks" by clicking the Kudos (purple thumbs up icon in the lower right corner of a post)
    --Please mark the post that solves your problem as "Accepted Solution"

  • Help! PowerBook G4 will not shut down using normal methods!

    Recently, my PowerBook G4 Aluminum (1.5/1.67 GHz) will not shut down. It has recently started doing this. When I choose any of the shut down, restart, log out items in the  (apple) menu, it will not bring up a dialog. Same with pushing power button. I have to do sudo reboot in the Terminal to make it shut off, or otherwise I can just hold the power button. Tried resetting PRAM. Recently downloaded a few apps. Can anyone help?
    -The Mac Bot

    It's been a long time since I've revisited this...
    Reinstalled OS due to main account getting corrupted. Could not log in.
    That did not resolve the corrupted account, so I booted up with command-S and issued a few commands to reset and force the Setup Assistant to run. That worked, allowed me to login and start fresh.
    That did not solve the not shutting down problem.
    I am able to "lock" the system (using MacLoc) and shut down from the login window.
    Or if I have Fast User Switching enabled I can choose "Login Window..." from the menu, and shut down from there.
    A long time ago, I edited a few .nib files inside /System/Library/CoreServices/loginwindow/Contents/Resources.
    A reinstall replaced those files with the originals.
    Still cannot shut down by pressing power button and clicking Shut Down, or choosing log out, shut down, or restart from the apple menu.
    Important clue: If I press Shift-Command-Q (the log out hotkey) the window I am working with dims as if another window popped up, but no other window popped up.

  • Windows 2008 not shutting down Oracle

    When I shutdown my Windows 2008 server that has Oracle 10.2.0.4, it does not shutdown the database like it should.
    I have used Oracle Administration Assitant for Windows and I have set the Startup/Shutdown Configuration to "Shutdown instance when service is stopped" and that the Mode is "Shutdown Immediate".
    In the oradim.log, I never see a shutdown command when I restart the server. I only see a shutdown command when I manually stop the service.
    I've gone into the Registry and I have set ORA_<SID>SHUTDOWNTIMEOUT at 240, but I don't think that it even attempts the shutdown immediate much less waits 4 minutes for it to work.
    I'm wondering of this is a bug in Oracle or Windows....

    JEDBA@Marathon wrote:
    When I shutdown my Windows 2008 server that has Oracle 10.2.0.4, it does not shutdown the database like it should.
    I have used Oracle Administration Assitant for Windows and I have set the Startup/Shutdown Configuration to "Shutdown instance when service is stopped" and that the Mode is "Shutdown Immediate".
    In the oradim.log, I never see a shutdown command when I restart the server. I only see a shutdown command when I manually stop the service.
    I've gone into the Registry and I have set ORA_<SID>SHUTDOWNTIMEOUT at 240, but I don't think that it even attempts the shutdown immediate much less waits 4 minutes for it to work.
    I'm wondering of this is a bug in Oracle or Windows....I've never really looked at oradim.log, and since I don't have much on Windows any more ... but it sounds like you may be jumping to conclusions based on looking at the wrong log. What does the alert log say? Does it look like a clean shutdown? Is it having to perform crash recovery on startup?

  • Shutting down oracle personal edition

    hi all,
    I am using oracle 10g personal edition, with configuration Hp pavilion Laptop p4, 60GB, 512MB ram. The file oracle.exe is using over 125MB of memory so i want a way to startup and shutdown oracle (I know that on enterprise ed but not on personal ed.)
    thanks alot in advance.
    shashi.

    why dont you shutdown your database from the command prompt.
    sqlplus /nolog
    connect / as sysdba
    shutdown immediate
    otherwise, try, stoping and starting oracleserice from the windows services.
    SJH
    OCP DBA

  • IMac G5 shut down

    The iMac I'm working on in a regular boot up, when cold, will stay on for one to two minutes, then...shut down. But... if I boot up in Open Firmware it will run forever. I do notice that the fan is runnign full tilt in Open Firmware and not in normal boot up. Is this related to the power supply problem, or something else?

    Depending on your model <a href=http://docs.info.apple.com/article.html?artnum=301724<how to identify your iMac</a>, you may be eligible for Apple's Rev A repair extension program or Rev B Warranty Extension.
    The fact that you fans run full tilt in OF is normal, but the fact that your machine shuts down when normally booted indicates the cpu is not being sufficiently cooled and the power supply unit may be failing. Look in your Console logs and see if your can find crash log that says something like "maximum temperature exceeded for 30 seconds". That will explain the shutdown.
    Please let us know what happens,
    Miriam

  • 2011 Macbook Pro Stuck on White Screen and Won't Shut Down

    Greetings,
    I just received a 15 inch Macbook Pro with a 2.2 i7 processor earlier today. On my previous computer, a 2009 MB P with a Core2Duo, I've had a shutdown issue on it for the past week or so: when I click the power button, and confirm the shutdown, the computer would start shutting down as normal, however once it reached the white screen with the spinning loading symbol at the bottom, it just got stuck on that. As I've transfered my old data to my brand new computer, I'm still having the same issue with it. I was wondering if this was due to a worm, or some software incompliancy? If anyone could shed any light, I'd be greatful.
    Thanks.

    thecloakedone wrote:
    I'm running the old Final Cut Studio (2) (still have to enter my serial), and am also running these apps which could be considered out of the ordinary: *VLC
                                                      *Audacity
                                                      *CleanMyMac
                                                      *Mirage
                                                      *Handbrake
                                                      *MiroVideoConverter
                                                      *RecBoot
                                                      *SuperDocker
                                                      *PlistEditPro
    That's all. Everything else is either from Apple, Adobe, or is downloaded from the app store.
    Were you using any of them when the issue occurred (or just prior to it)?
    Have you looked for updates on all of them?
    If you want to do some digging, open Console and look at the logs at, and just prior to, the time of the issue.

  • Late 2013 retina MacBook Pro have to shut down twice

    Hi
    When I go to shut down or restart my MacBook Pro, the top menu bar disappears but that is all. It then stops on the desktop. You then have to open another app (not Finder) to make the top bar reappear, and then shut down again. The mac then shuts down as normal. T
    This happens 80 percent of the time, and it's pretty annoying. I've searched the internet and found nothing, so my guess is it's something I have installed stopping it shut down maybe?
    If so, how would I go about finding the problem?
    Any help much appreciated.

    Hi
    When I go to shut down or restart my MacBook Pro, the top menu bar disappears but that is all. It then stops on the desktop. You then have to open another app (not Finder) to make the top bar reappear, and then shut down again. The mac then shuts down as normal. T
    This happens 80 percent of the time, and it's pretty annoying. I've searched the internet and found nothing, so my guess is it's something I have installed stopping it shut down maybe?
    If so, how would I go about finding the problem?
    Any help much appreciated.

  • Weird ipad shut down/start up behavior

    Shut down is normal (the speed at which it shuts down is different sometimes). When i start it up, though, it sometimes gives the same twirl that it gives at shutdown, and then it shuts off again. I then have to start it up again for it to turn on.

    I actually have an idea as to why this is happening and I hope Apple will address this in their upcoming software update.
    If you put your iPad to sleep via the sleep/power button and then wake it up to get to the lock screen, if you don't swipe to unlock right away, you'll notice that the screen will go to black in a very short period of time - literally a few seconds.
    I believe what's happening is that, depending on what apps you've been running, when you go to power down the iPad (rather than just put it to sleep), if there is something in memory that the iPad is trying to clear out before shutting down, the screen will go to black (much as it does when it's on the lock screen) before the iPad has the chance to finish shutting down. When you then hit either the home button or sleep/power button, the iPad reawakens and finishes the shut down process.
    This is observable behavior in all iPads and is definitely a software issue. A lot of people don't see it happen because many never power down their iPads. Plus, when it happens, this behavior happens sporadically and is almost impossible to duplicate on demand, hence the uselessness of taking to the Genius Bar. However, since it's a software issue, there really isn't anything they could do about it anyway.
    The only fix is to see it addressed in the upcoming update in November. Keep your fingers crossed.

  • Endless spinning wheel on shut down

    If I boot up and do not initiate any software and then shut down, shut down occurs normally. If I initiate any software, I get a blue screen and the endless spinning wheel. I tried the repair disk and repair permissions from the startup disk, to no avail. This is something that began just recently, possibly with upgrading to 10.6.7 but I'm not sure. Safe boot makes no difference either.  I am running on a 2.8 GHz, i7, quad core.
    Thanks,
    Jacob

    Hi Jacob,
    Just to do a quick rundown on what you have done so far in terms of troubleshooting:
    Repair Permissions.
    Verify the start up disk. Does the disk utility indicates if "Macintosh HD appears to be OK"?
    Boot from installer disk and use the" Repair Disk" option.
    Now a few questions:
    When you mean "initiate any software", do you mean like initiating software update or app such as Safari or iPhoto?
    When was the last time you installed something on your computer?
    I think you have done everything in regards to avoid a total system reinstall. But before we go with the steps of reinstalling the OS, I will suggest one more step, since you mentioned that the problem might have arised after installing 10.6.7.:
    Reinstall OSX 10.6.7. Update via Combo updater:Get it from here: http://support.apple.com/kb/DL1361
    Report back after installing the combo update.
    About combo updates as a trouble shooting steps (from Cnet):
    Combo
    Apple's Combo updater includes all the files necessary to bring a major release of OS X from any previous version to the one represented by the update. For example, if you have the OS X 10.6.7 Combo updater then you can use it to update any Mac from any version of OS X Snow Leopard to OS X 10.6.7.
    While Software Update will also provide you with this option, the Combo updater, like the Delta updater, is more universal and can be applied to any Mac system, regardless of its hardware or software configuration. Additionally, it can be reapplied to a Mac that has already been updated. Because of this, a Combo updater is frequently used when troubleshooting odd problems in OS X since it can be used to essentially replace a number of system files with fresh ones, without requiring a full reinstallation of OS X.
    Good Luck!

  • Powermac G5 shuts down frequently

    I have a dual 2.3GHz G5 that has been been shutting down during normal use. I have come to think it may be related to audio hardware, as it frequently occurs when I try to start iTunes, Audacity(audio editor) and it seems to happen randomly while viewing web pages with embedded audio and video files. I reset the PRAM yesterday and the computer shut down on my first attempt to launch iTunes after the restart. I have the system profiler log that I ran after that. The line in that system.log section of the report that caught my attention was:
    2006 Nov 15 21:17:23 localhost kernel[0]: ApplePMU::PMU forced shutdown, cause = -122
    Any suggestions will be greatly appreciated.
    Thanks,
    Walter
    <string>hardware_overview</string>
    <key>bootromversion</key>
    <string>5.2.4f1</string>
    <key>bus_speed</key>
    <string>1.15 GHz</string>
    <key>cpu_type</key>
    <string>PowerPC G5 (3.0)</string>
    <key>currentprocessorspeed</key>
    <string>2.3 GHz</string>
    <key>l2cachesize</key>
    <string>512 KB</string>
    <key>machine_model</key>
    <string>PowerMac7,3</string>
    <key>machine_name</key>
    <string>PowerMacG5</string>
    <key>number_processors</key>
    <integer>2</integer>
    <key>physical_memory</key>
    <string>2 GB</string>
    <key>serial_number</key>
    <string>G85176PQRTZ</string>
    dual G5 2.3 powermac   Mac OS X (10.4.8)  

    This is a common problem that Apple have not addressed. It seems people starting having this problem after update 10.4.7 onwards - and frequents with iTunes/Audio use.
    So yes, it's a software issue. BUT on the other hand, some folk have had their hardware replaced and the shutdowns have stopped.
    check out this thread-
    http://discussions.apple.com/message.jspa?messageID=3525756#3525756
    and this site-
    http://www.xlr8yourmac.com/systems/DualCore_G5Shutdowns.html
    Basically, there is NO solution yet, just alot of guessing and crossed fingers.
    If you call Apple support, they're pretty clueless - you'll go through the normal round of questions and then be told your power supply needs replacing.

  • Things to consider before shutting down the Server

    Hi,
    What are all the things to consider before shutting down the Essbase Server?
    Just we need to close the applications and Agent process or do we need to take care any other things also.
    Thanks in Advance

    In order to make sure of a soft shut down, I normally would
    - Disconnect all users
    - Prevent connections
    - Unlock all objects
    - Shut down all databases and applications
    - Shut down the Server Agent
    Brian Chow

  • Mac Pro 2008 no Chime then shuts down

    Hi,
    Yesterday I shut down my Mac pro and it shut down as normal.
    Few minutes later when I tried booting it, the fans would startup then a few seconds later the machine would shut down. Never got to the chime stage.
    I removed everything ( the 3rd party ram modules, the graphic card, the E-sata Card, all the Hdds except the main OSX one, removed all USB cords etc ) and tried booting up again. No luck :/
    Later I put the Graphic card back in ( But didn't plug a monitor into it ) and tried booting. The first time the red leds came on, the fans started, the Graphic card fans also strated but still no chime. Waited for 2 minutes then I shut it down again. Next try same problme as before - the fans would startup then a few seconds later the machine would shut down. No chime.
    Disconnected the power cord and left system off overnight.
    Booted up in the morning and I heard the chime a bit late ( this is happneing more frequently last few weeks before yesterday , late chimes on boot ) and the sytem booted up fine, osx loaded fine etc. The third party rams are in but I havent loaded the Other HDDS nor the E-sata card as yet.
    I am wondering.. WTH happened ? Will this problem re- occur ? Has anybody been through this situation ? What was their experience ?

    I removed the boot drive .. everything ...and tried but the problem still persisted ( even reset the SMC as you suggested )
    I had a 8800 GT but that died and so I went back to the stock amd 2600XT that came with the tower. If I could convince the local mac resellers to sell me the 5770 I would. But they insist I must have the 2009 or later mac pro to purchase ( WTH :/ ). BAH !
    I have sent the tower for analysis at a local apple authorised service center. Should be getting a feedback in two days time. Will update here when I get some news.
    And yeah there seems to be a lot of 2008 mac pro issues lately. Googe throws up quite a few recent ones.
    Pity.. was a Solid machine for me 50 months straight

  • TimeMachine prevents iMac from shutting down?

    I am a proud owner of the new 27" iMac with a new 1TB Time Machine. No problem there.
    However, when the Time Machine is backing up and I choose shut down (from the shut down menu) TM should stop and resume the interrupted backup next time I start up. Instead shut down proceeds normally until I get the blank screen with a small spinning black wheel (the last thing we see before a Mac turns itself off), and then it stays there - forever. Twice I came in the next morning and found the spinning wheel still going on. Other times I give up after 2-3 minutes and force a shut down. Shut down is problem free if I have stopped the back up to the Time Capsule prior to shut down.
    I have a slow internet connection and so I am wondering if that is the problem. Any ideas?

    olai99 wrote:
    TimeMachine sometimes slows down the iMac. For example, when saving ("save as") in Photoshop CS4 it takes *for ever* - that is 40 seconds - for the Finder to come up with the save-as-window. This only happens while backing up in TimeMachine is active. If there is no back up occuring there is no delay. The delay is in Finder; I have not noticed delays within CS4 applications; nevertheless it rather slows down the workflow.
    I don't recall seeing that reported very often. When OSX puts up that save window, it has to list all the places you could possibly put something, and checking the network for the status of all such locations, while a backup is busily using the WIFI connection, takes longer.
    Try the things in #D2 of Time Machine - Troubleshooting.
    I have experimented with putting the iMac to sleep instead of shutting down, and this appears to work without problems.
    Great!

  • Macbook 13 in. will not shut down

    I'm having the same shutdown problem as a few days ago except this time Verify Permissions and verify disk do not solve anything. I wonder if it tends to behave this way if you leave it on too long?
    I've only had the computer since June, brand new, and I'm disappointed in its reliability if I already have troubles trying to just shut it off.

    I had had it on a long time yesterday, plugged directly in, with some use of Airport and also a warm USB hub and flash drives. It had been on so long with all I was doing that apparently maybe the heat contributed to the problem. I had to finally press the Power button to shut it down because every time I tried the normal soft Shut Down method, it would keep telling me that Finder would not quit and that I'd have to make Finder quit before it could "log off". I tried that but all it lets you do is Relaunch Finder when you try and then it won't log off/shut down. Finally I pushed the Power button.
    The next morning, when the laptop was still cool, I powered it up and then after a very brief usage today, tried the usual Shut Down and it did work this morning. I will check it out again in a minute. If I don't post again, then that means it shut down again properly. Perhaps that would indicate that these units have trouble shutting down the normal soft Shut Down way through the Apple menu if they are very warm from use.
    I did test Disk Utility last night before pressing the Power button but when verifying the disk and the permissions, nothing seemed to be awry. I should be getting TechTool Pro soon; Disk Warrior doesn't have a version that yet works with Macs from after Jan. of this year from what I'm told, as for optimization software. Strange that I've had this macbook only since June.
    In general I like it ok but am a little nervous when it does things like this since I've been thinking about whether to get a Macbook Pro. Thanks.

Maybe you are looking for

  • Do you resize your photos first before placing on front page?

    i am working on a new site. When I clear my cache and view the site, it seems to take quite a few seconds before everything loads. There are only three small images with 10px borders around each. Would it be best to resize these images in PS prior to

  • Identify the size of unwrapped text in TextArea

    Here is the deal. I have a popup of fixed width where I dynamically add the textAreas. The PercentWidth of textArea is 100. Once the long url (as my custom text) is added into the definite textArea.htmlText, the text is wrapped. What I need is: I'd l

  • Order Import program run very slow

    Hi I use Order Import program to create sale order from tables interface.But it run very slow,about two hours for one record. How can i do it run fast? Thanks

  • Problem installing on RH

    I've downloaded jstudio_ent8_dl-linux-jds.sh. I've marked it as an executable and attempt to run it with this: ./jstudio_ent8_dl-linux-jds.sh -is:tempdir /x01/tmp (/x01/tmp is a drive that everyone has permissions to and lots of space) When I do (as

  • T588M_Screen control Impact of flow of Infotypes in actions & maintainence

    Hi seniors, I have been asked to hide the unwanted fileds in 0001-Administrator Group,Legal Person. 0002-Initianls,Nick Name,middle Name,Birth Name-. Can i know what are the possible impact on the flow or maintenance of infotypes. Can any body put so